Re: Some questions on Ant
subhaba...@...wrote:
I read the URL
"http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.h
Your formatting was little messed up on the Interwebz.
tml"
I went to Computer--->Properties-->Advanced System Settings-->Environment
Variables-->ANT_HOME/JAVA_HOME
In JAVA_HOME Variable Value is now:
"C:\Program Files (x86)\Java\jdk1.7.0_21"
Good.
Updated to the latest JDK and ported Eclipse also with it.
In ANT_HOME Variable Value is now:
"C:\Program Files\Java\apache-ant-1.9.0"
Good.
While installing it tried to follow:
"http://ant.apache.org/manual/install.html"
Good.
As I am giving
C:\>Ant
That should be spelled "ant". Only the fact that Windows is weird about letter case
saved you there.
Buildfile: build.xml does not exist!
Read the directions. Where does the "ant" command find its build file?
http://ant.apache.org/manual/running.html#commandline
Read the directions.
Build failed
C:\>ant -version
Apache Ant(TM) version 1.9.0 compiled on March 5 2013
C:\>ant -help
....
....
....
these are working.
Means "So Ant works."("http://ant.apache.org/manual/install.html")
Good.
But, as I am giving
C:\Program Files\Java\mallet-2.0.7>ant
What is that directory? What is in that directory?
The build is still failed.
What are you trying to build?
I'm checking the things.
I worked out following things:
C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>ant
Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build.xml
See how that works now that you've read the directions?
What is that directory? What is in that directory? What are you trying to build?
compile:
BUILD SUCCESSFUL
Total time: 1 second
--
Lew