Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
Justin Thomas wrote:I already told you I copied the folder "lib" containing all the jars in *counts carefully* 8 different places. I don't know where ELSE I have to copy it for the compiler to see them....
Henry Wong wrote:
It doesn't work that way, you can't copy jar files into a classpath (which is actually not a good idea regardless). A classpath specified both directories and jar files -- the directories (like the jar files) are searched only for class files; putting a jar file into these directories doesn't add them to the search. You need to add the jar file to the classoath (meaning the classpath variable needs to mention the jar file).
Henry
Jesper de Jong wrote:You'd have to look into the Ant build file (build.xml) to find out where it expects to find the necessary library JAR files.
Justin Thomas wrote:
I didn't understand your explanation.
As far as build.xml goes -> http://pastebin.com/kDQTcbHV
This is the first time I opened build.xml file in my life.... I noticed:
<property name="lib.dir" value="lib"/>
And in the main folder there already IS a lib dir that contains the jars.... so I am even more confused right now....
Henry Wong wrote:You need to figure out what your Ant script does with it -- and fix accordingly.
Henry
Justin Thomas wrote:
Henry Wong wrote:You need to figure out what your Ant script does with it -- and fix accordingly.
Henry
How?
Henry Wong wrote: The last few times that I did it, I merely brute forced it -- running ant in debug mode and adding lots of echos to the screen,
I am sure that there are ant script debuggers out there -- and someone else can chime in.
Henry