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

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Wed May 21 2003 - 03:46:34 EDT

  • Next message: Jonathan 'Wolf' Rentzsch: "Re: taskdef class org.objectstyle.woproject.ant.WOApplication cannot be found"

    Hi Jonathan,

    if've tried it:

    <project default="init">
       <path id="classpath">
         <fileset
    dir="/Volumes/woproject/workspace/woproject/dist/woproject-1.0b3">
           <include name="lib/*.jar"/>
         </fileset>
       </path>

       <taskdef
           name="woapplication"
           classname="org.objectstyle.woproject.ant.WOApplication">
         <classpath refid="classpath"/>
       </taskdef>

       <target name="init">
         <tstamp/>
       </target>
    </project>

    [client3:/Volumes/woproject/workspace] uli% ant
    Buildfile: build.xml

    init:

    BUILD SUCCESSFUL
    Total time: 3 seconds

    The only change I've done is the path. Please drag your woproject
    folder into a terminal window to get the correct path.

    Let me know if you need more help with it.

    Ulrich

    Am Dienstag, 20.05.03 um 22:11 Uhr schrieb Jonathan 'Wolf' Rentzsch:

    > Greetings all,
    >
    > I'm hitting the same error Kaj hit in March with WOProject:
    >
    > <http://www.objectstyle.org/woproject/lists/woproject-dev/2003/03/
    > 0003.html
    >>
    >
    > However, Ulrich's suggestion doesn't work for me. Here's my incredibly
    > bare-bones build.xml file:
    >
    > <?xml version="1.0"?>
    > <project default="init">
    > <path id="classpath">
    > <fileset dir="/Users/wolf/woproject-1.0b2/">
    > <include name="lib/*.jar"/>
    > </fileset>
    > </path>
    >
    > <taskdef
    > name="woapplication"
    > classname="org.objectstyle.woproject.ant.WOApplication">
    > <classpath refid="classpath"/>
    > </taskdef>
    >
    > <target name="init">
    > <tstamp/>
    > </target>
    > </project>
    >
    > Result:
    >> wolf% ant
    >> Buildfile: build.xml
    >>
    >> BUILD FAILED
    >> file:/Users/wolf/woprojectSpike/build.xml:11: taskdef class
    >> org.objectstyle.woproject.ant.WOApplication cannot be found
    >>
    >> Total time: 2 seconds
    >
    > Some more environmental data:
    >
    > Mac OS X 10.2.6, Java 1.4.1, WebObjects 5.2.1.
    >
    > wpc
    > w
    > .......................................................
    > Jonathan 'Wolf' Rentzsch http://rentzsch.com
    > Red Shed Software http://redshed.net (847) 584-7465
    > PGP: b2af 1a09 f881 ebde c9d6 c4d2 c04f a3c0 3ec5 d5f2
    >
    > "better" necessarily means "different"
    >



    This archive was generated by hypermail 2.0.0 : Wed May 21 2003 - 03:46:07 EDT