----- Original Message ----- 
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Saturday, October 23, 2004 2:51 PM
Subject: Re: Need help re development


> 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).
>
Thanks Jake! I am developing in Eclipse and was trying to compile with the
built-in Ant plug-in. Adding the ANT_HOME/lib jars to my classpath as
external jars solved my problem. Thanks for the suggestion!

Rhino


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

Reply via email to