At 08:47 AM 10/23/2004 -0400, you wrote:
I'm trying to work through the "Writing Tasks" tutorial in the Ant Manual but I'm getting stuck fairly early on. I've got the first version of HelloWorld working fine but when I go to do the second one, the one which imports org.apache.tools.ant.Task, the import fails. That's not surprising since I haven't made the Task class visible to my source but I don't see any instructions on how to *make* it visible.

Are you compiling it using Ant? The Ant libraries ought to be available via <javac> by default. They would only be absent if you sent includeAntRuntime="false". If you are compiling outside of Ant, then you'll need to put the ant libraries on your classpath (the jars in ANT_HOME/lib).


Jake


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to