ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Minne <>
Subject a classpath task?
Date Mon, 06 Nov 2000 22:49:36 GMT
 hey all,

I sent this a bit ago, but I didn't get it through mailing list, so I'm
guessing it's not going out right or something.

I am getting the error:  "Could not create task of type classpath because I
can't find it in the list task class definitions."

I didn't think that classpath is considered a task...

ant -version gives: "Ant version 1.2 compiled on October 26 2000"

my code is:

 <target name="compile" depends="prepare">
    <javac srcdir="src" destdir="${deploy.home}/WEB-INF/classes" debug="on"
optimize="off" deprecation="off">
              <path refid="mb2.class.path"/> 
              <pathelement location="${deploy.home}/WEB-INF/classes"/>

this seems to be inaccordance with the manual:

<target ... >
    <javac ...>
        <pathelement location="lib/" />
        <pathelement path="${java.class.path}/" />
        <pathelement path="${additional.path}" />

any suggestions? 

thank you very much,


John Minne
High Quality Assurance  Engineer

6850 Austin Center Blvd.		p. 512-791-3457
Suite 329-B			o. 512-794-0804
 Austin, TX 78731			e.

View raw message