Moin Kaj,
make sure that the woproject is in the classpath.
<path id="classpath">
<!-- Include project extra libraries. -->
<fileset dir="path to woproject install dir">
<include name="lib/*.jar"/>
</fileset>
</path>
Ulrich
Am Montag, 03.03.03 um 10:19 Uhr schrieb Kaj Hejer:
> Hi!
>
> So far we have only used ant to build WO apps on solaris and windows
> (which works just fine).
>
> Today I tried on osx.
>
> I got the following errormessage:
>
> file:/Users/kajh/src/webobjects/medark/build.xml:112: taskdef class
> org.objectstyle.woproject.ant.WOApplication cannot be found
>
> Line 112 is the line bellow containg "classname".
>
> <target name="package" depends="compile">
> <taskdef name="woapplication"
>
> classname="org.objectstyle.woproject.ant.WOApplication">
> <classpath refid="classpath"/>
> </taskdef>
>
> I have woproject.jar installed. I have the one from woproject-1.0b2.
>
> bash-2.05a$ jar -tf /Library/Java/Extensions/woproject.jar | grep
> WOApplication
> org/objectstyle/woproject/ant/WOApplication.class
>
> bash-2.05a$ ant -version
> Apache Ant version 1.5.1 compiled on November 24 2002
>
> Config: osx 10.2.4, WO5.2 and java1.4.1dp10.
>
>
> Any ideas?
>
>
>
> -Kaj :)
This archive was generated by hypermail 2.0.0 : Mon Mar 03 2003 - 05:21:48 EST