ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <tmas...@iknowledgeinc.com>
Subject path task error output
Date Tue, 07 Aug 2001 21:54:27 GMT
I have Target init which sets the classpath.  However I am getting an error
on the path task.
I've received this using netbeans and the commandline.  I have ant1.3.

Error excerpt:
Could not create task of type: classpath Common solutions are adding the
task to defaults.properties and executing bin/bootstrap
javadoccing.xml [35] Could not create task of type: classpath. Common
solutions are to use taskdef to declare your task, or, if this is an
optional task, to put the optional.jar in the lib directory of your ant
installation (ANT_HOME).

Complete Output is below.

Code excerpt:
    <classpath>
        <path id="project.class.path">
            <pathelement location="${build.dir}"/>
            <pathelement path="${java.class.path}/"/>
            <!--pathelement path="${pending.additional.path}"/-->
            <!--pathelement location="C:\dev\junit\junit.jar"/ -->
            <!--pathelement location="C:\dev\ant\lib\optional.jar"/ -->
        </path>
    </classpath>

Ideas?  I have optional.jar and everything installed in my classpath or in
the ant/lib correctly. AFAIK.

T Master


OUTPUT
=======
parsing buildfile C:\dev\build\javadoccing.xml with URI =
file:C:/dev/build/javadoccing.xml
Setting ro project property: ant.project.name -> 20
Setting project property: basedir -> C:\dev\
Project base dir set to: C:\dev\
 +Target: init
   +Task: tstamp
   +Task: property
   +Task: property
   +Task: property
   +Task: property
   +Task: property
   +Task: property
   +Task: property
   +Task: mkdir
   +Task: mkdir
   +Task: mkdir
   +Task: mkdir
 +Target: javadocs
   +Task: echo
   +Task: javadoc
Build sequence for target `javadocs' is [init, javadocs]
Complete build sequence is [init, javadocs]
init:
Setting project property: DSTAMP -> 20010807
Setting project property: TSTAMP -> 1533
Setting project property: TODAY -> August 7 2001
Setting project property: src.dir -> src
Setting project property: build.dir -> class
Setting project property: dist.dir -> jar
Setting project property: javadoc.dir -> docs/api
Setting project property: test.path -> com/unittests
Setting project property: vss.userid -> mylogin
Override ignored for vss.userid
Could not create task of type: classpath Common solutions are adding the
task to defaults.properties and executing bin/bootstrap
javadoccing.xml [35] Could not create task of type: classpath. Common
solutions are to use taskdef to declare your task, or, if this is an
optional task, to put the optional.jar in the lib directory of your ant
installation (ANT_HOME).


Mime
View raw message