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

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Mon Mar 03 2003 - 06:16:01 EST

  • Next message: Anders Peterson: "Incremental builder and natures"

    Hi Kaj,

    I`ll guess ant looks into the classpath defined by the tasd def:

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

    You'll could try to remove the <classpath refid="classpath"/>.

    Anyway I've never tried it.

    Ulrich

    Am Montag, 03.03.03 um 11:41 Uhr schrieb Kaj Hejer:

    > At 11:18 +0100 03-03-03, Ulrich Köster wrote:
    >> 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>
    >
    >
    > Hi!
    >
    > Thanks for answering!
    >
    > Do I need to do that even if I have installed woproject.jar in
    > /Library/Java/Extensions/?
    >
    >
    > -Kaj :)



    This archive was generated by hypermail 2.0.0 : Mon Mar 03 2003 - 06:19:01 EST