From: Christian G. [ M. M. ] <mi...@mi...> - 2002-01-25 22:00:16
|
On Wed, Jan 23, 2002 at 04:54:12PM -0600, Tim O'Brien wrote: > Putting a JAR into a "lib" directory in a project that depends on > another library is a common practice. Check out the newsml-toolkit > project or any of the Jakarta project for examples. I've created a lib/ directory to include jdom.jar. > BTW, I made an Ant build.xml file for the jprojecttimer project. > Right now it relies on jdom.jar being in the classpath that runs > Ant, but if you included the JAR file then the Ant script could > incorporate it into the classpath when compiling and running the > jprojecttimer application. I tried to expand the build.xml so that lib/jdom.jar is included. The "compile" and "run" targets work fine. But I've got a problem: jdom.jar is included in jprojecttimer.jar, but when I cut down my CLASSPATH and run jprojecttimer.jar, the org.jdom.* classes are not found. The edited version of build.xml can be found in the CVS repository. so long, Mitch -- ....Christian.Garbs.....................................http://www.cgarbs.de Von Zeit zu Zeit muß man sündigen, damit man den Spaß an der Tugend nicht verliert. |