This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
hi all, Im very new to ANT..i just downloaded Ant 1.5.4 and im trying to run it somehow, i went thru the newsletter by Mr.Thmoas Paul of Javaranch, but i could not grab the things he has expalined there... shld i have to creat a build.xml file for running ant ?? i have downloaded the zip file of ant from apache . when i tried d:\ant>Ant Buildfile: build.xml does not exist! Build failed later i created a build.xml file its like
i really dont know if im following the right way or not.. when i run D:\ant>ant jar i got this error
could anyone help me with this, an example build.xml file wil be verymuch helpful for me.. thanks raj Sun Certified Java Programmer Sun Certified Web Component Developer
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
Rajeev Ravindran
Ranch Hand
Joined: Aug 27, 2002
Posts: 455
posted
0
hi all, i didnt get any reply from ranchers . I still couldnt find the cause of VerifyError..But when I tried to build the same using Win 98 it worked..First it was showing some errors regardign the syntax of my build.xml file, i cleared it and it worked..I still wonder wat is wrong with my Win NT Professional.. Thanks Raj
Pablo Krause
Greenhorn
Joined: Feb 02, 2004
Posts: 1
posted
0
I had a similar problem an found two ways to fix it: 1.- Change jdk version. Apparently some code you are using needs a different jdk. In my case if I used jdk 1.3.1_01 it worked fine. If I used 1.3.1_10 it didn't. 2.- use the -noverify when invoking java
Jyotsna Pai
Greenhorn
Joined: Aug 07, 2009
Posts: 18
posted
0
Hi there,
Can anyone help me with this as I am new to Ant build.
I am getting the java.lang.VerifyError when I try to run my build with a target environment.
I looked at a similar question earlier, and tried changing the JDK to a version 1.3.1_10, it did not work. The build.xml is as follows -