Hi, Im a newbie to ant .I was trying to follow the instruction sun j2ee 1.3 tutorial.THE O/S I am using is windows XP ANT is installed in c:\unzipped and i am setting ANT_HOME to c:\unzipped but still I am getting an error which says ANT_HOME set incoorectly or not able to find ant. PLEASE HELP!!!
You might be missing your %ANT_HOME%\lib\ant.jar. I used WinXP to extract the ant-1.6.3 archive and for whatever reason it didn't extract all of the lib folder. I just use the win explorer to drill into the archive and copy and past the jar files. Weird..
The same problem i faced. Do not set ANT_HOME. Delete that ant home. Set or add entry to PATH variable <your and home>\bin. Now it will work. Can antbody help me in required set up's and bulid.xml to send mail after the build. Thanks in Advance.........
Mohan G Kumar<br />SCJP(76%), SCWCD(91%), Preparing for SCBCD..
ashik chollangi wrote:Hey guys,set ANT_HOME to the C:\apache-ant-1.7.1\bin and then add C:\apache-ant-1.7.1\bin;%ANT_HOME%\bin in path ..then it works....
and also I recommned ot to use this way..this way is just to make projects without eclipse ...Use eclipse guys there is no need for this additional work..
Actually, Eclipse isn't nearly as flexible as Ant (or Maven) at building complex projects. So I often use Ant inside Eclipse.
But I seriously recommend that any good project be buildable without using an IDE, even if it's just an option. I've been burned too many times where I couldn't do a build because either my IDE was the wrong version or because it didn't have exactly the same desktop settings as someone else's IDE. Batch builds are less tempermental. Plus they can run on non-gui machines.
An IDE is no substitute for an Intelligent Developer.