Roman Bruggisser wrote:

I'm new to maven and I'm wondering if there is a way to add tools.jar to the
classpath without placing it in the repository.

Thanks for any ideas.


Kenney Westerhof wrote:
On Sun, 31 Jul 2005, Roman Bruggisser wrote:

Hi,

There aren't any. However it should be on the classpath if you use the
jdk.

A better solution is to add it to the classpath at runtime.
See
http://svn.plexus.codehaus.org/trunk/plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java?rev=2369&view=markup
for an example.



Is there a specific reason why tools.jar can't or shouldn't be placed in the 
JDK's JRE/lib/ext directory. I've been doing that for about 7 years now, and I 
haven't been aware of any problems. But maybe I don't know what to look out for.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to