aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Problems Running ANT target. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply locked New topic
Author

Problems Running ANT target.

Simon Joseph Aquilina
Ranch Hand

Joined: Feb 14, 2006
Posts: 102
Hi,

I am doing a fresh installation on my computer. I have installed J2SE5.0, Eclipse3.2, and Tomcat5.2. Everything worked fine, that is, my previous deployed applications on Tomcat are running smootly. Next step was to install Ant(6.5) so that I can use Ant for my projects.

I installed Ant on C:\Progra~1\Ant\apache-ant-1.6.5. I then set the Environment Variables As follows:

JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_06
ANT_HOME=C:\Progra~1\Ant\apache-ant-1.6.5
PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin;... (... refers to other variables).

Now, I try to run an ant target from Eclipse. When I do so, as soon as the target needs to compile it throws me an error as follows:



I can not understand what I have wrong since I have follows some tutorials over the internet that do not describe anything that I did not already do. I am not really sure if it is an Ant problem. However Javac works fine from TextPad, etc.

Thanks for any answers.
Sim085
[ September 28, 2006: Message edited by: Simon Joseph Aquilina ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Continued here:

http://www.coderanch.com/t/108592/tools/Thank-You


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems Running ANT target.