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 / First Aid / February 2005

Tip: Looking for answers? Try searching our database.

ant can't work

Thread view: 
KK.Frank@gmail.com - 28 Jan 2005 13:48 GMT
i download ant1.6.2 bin zip file from apache's site, and followed the
installing manual,
but it always say
Invalid implementation version between Ant core and Ant optional tasks.
core    : 1.6.1
optional: 1.6.2

what's the problem??
KK.Frank@gmail.com - 29 Jan 2005 06:02 GMT
ok, maybe i didn't say clearly.
again, i set the ANT_HOME and JAVA_HOME env, and added %ANT_HOME%\bin
to PATH.
then when i type  "ant -version" in console, the message above comes
out, :(

what should i do to solve this problem ?
thufir - 29 Jan 2005 09:03 GMT
Some versions of windows will require additional tweaking.  What is
your OS?

For me, in win2k, I renamed the directory which was unzipped to "ant"
and put it in C:\, then did the environmental variables as you have.
Additionally, in Path I've got the explicit value of ANT_HOME appended
because if Path is before ANT_HOME then Path can't know what the
ANT_HOME value can be.

what happens when you just type "ant" at the c-prompt?

here's my output:
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\Administrator>ant -version
Apache Ant version 1.6.2 compiled on July 16 2004
C:\Documents and Settings\Administrator>

--
Thufir Hawat
KK.Frank@gmail.com - 30 Jan 2005 09:40 GMT
hi Hawat, thanks for your replying.
my OS is winxp sp1, i unzipped ant to D:\ant162, and set ANT_HOME
before Path.
sadly that i get the same output when only type 'ant'
=(
KK.Frank@gmail.com - 02 Feb 2005 06:45 GMT


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.