buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: javac and the classpath
Date Sun, 29 Aug 2010 00:29:38 GMT
I'm curious to see the spec; always forks a new java
process so it shouldn't change the current application classpath.

Maybe I'm missing something?


On Sat, Aug 28, 2010 at 5:11 PM, Antoine Toulme <>wrote:

> I am writing specs for the javac command and I am finding out that it
> resets
> the classpath of the application, since you pass a classpath to it.
> At this point, it sounds like the safest option is to shell out instead of
> running javac in the current JVM, as it has some nasty side effects.
> I discovered the problem when I tried to run several specs that were
> calling
> javac in the same file.
> This might not happen with JRuby but I wouldn't take chances on it.
> Let me know if you have strong objections ; I'll commit soon but it can be
> reverted.
> Antoine

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message