taskdef class org.objectstyle.woproject.ant.WOApplication cannot be found

From: Kaj Hejer (kaj.heje..sit.uio.no)
Date: Mon Mar 03 2003 - 04:19:20 EST

  • Next message: Anders Peterson: "Re: Build distribution WOProject & WOLips"

    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 - 04:22:21 EST