|
Hello,
Sorry for the dumb question, but I can't seem to
figure out how to install iText using Ant and the build.xml file.
Here's what I did (JDK 1.4 is already installed and
the path/classpath variables are correct):
1. downloaded Ant, placed in D:/Program
Files/Apache Group/Ant 1.5.3/ (the Ant path)
2. downloaded build.xml from iText website, place
in D:/Program Files/Apache Group/Ant 1.5.3/bin/
3. added Ant path to the PATH environment variable,
and added an ANT_PATH environment variable (also pointing to Ant
path)
4. rebooted the system
5. from the Windows command prompt (with D:/Program
Files/Apache Group/Ant 1.5.3/bin/ as the directory), I typed (without the
quotes:
"ant
build.xml"
6. This just spewed out the following:
D:\Program Files\Apache Group\Ant 1.5.3\bin>ant build.xml Usage: java [-options] class [args...] (to execute a class) or java -jar [-options] jarfile [args...] (to execute a jar file) where options include: -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. -cp -classpath <directories and zip/jar files separated by
;>
(ETC............)
It seems that it's trying to run the ant.class file, so I tried "java
ant build.xml" and various other combinations, but nothing seems to
worked.
Can anyone point me in the right direction? Also, do I have to
download the iText source files from anywhere, or does running the build.xml
file download the files from the iText server?
Thanks,
Darren
|
