Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / November 2003

Tip: Looking for answers? Try searching our database.

run ant error message

Thread view: 
f - 19 Nov 2003 01:21 GMT
I am trying to use ANT to build sun JAXP. But it says
"Unable to locate tools.jar. Expected to find it in C:\Pr
iator 1.3.1.9\lib\tools.jar
Buildfile: build.xml

BUILD FAILED
Target `JAR' does not exist in this project."

How can I fix it?

Thanks,

ff
Robert Klemme - 20 Nov 2003 12:36 GMT
> I am trying to use ANT to build sun JAXP. But it says
> "Unable to locate tools.jar. Expected to find it in C:\Pr
> iator 1.3.1.9\lib\tools.jar
> Buildfile: build.xml

Looks like you need to install a JDK and set JAVA_HOME env var
appropriately.  Note: a JRE is *not* sufficient.

> BUILD FAILED
> Target `JAR' does not exist in this project."
>
> How can I fix it?

Do "ant -projecthelp" or look into build.xml to find the targets.

   robert


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.