ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl Brenton" <>
Subject Specifying Jaxp library for target
Date Wed, 03 Apr 2002 08:15:46 GMT
> This may be a dumb question but here goes...
> In the latest ant download ( there is the
> expected xml libraries crimson.jar and jaxp.jar. However, the
> project(s) I am building also depend on the same libraries but I want
> to specify the version that I have been using which may/may not be the
> same version as that included with ant. When I didn't specify my
> libraries, my source code (luckily) compiled meaning that the ant'
> libraries were used. 
> Does the java compiler get executed in the same process space as ant
> and therefore use the currently loaded (library) classes?
> Looking at ant's verbose output ("Compilation args") it seems that my
> libraries preceed ant's libraries for javac classpath (good) but why
> are any of ant's libraries also in this classpath?
> Would it be wiser (although unconvensional) to have a jakarta.ant
> package prefix for it's libraries to distinguish between ant and the
> target build???
> TIA,
> Carl
> Ps I'm running on Windows 2000 (SP2) and my classpath environment
> variable is effectively empty.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message