ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rhino" <rhi...@sympatico.ca>
Subject Re: Need help re development
Date Sat, 23 Oct 2004 21:52:02 GMT

----- Original Message ----- 
From: "Jacob Kjome" <hoju@visi.com>
To: "Ant Users List" <user@ant.apache.org>
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message