incubator-yoko-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko" <>
Subject Re: Java 1.5 compatibility...
Date Sun, 30 Jul 2006 08:49:36 GMT
2006/7/30, Anders Hessellund Jensen <>:
> Daniel Kulp wrote:
> > Can you describe what problem you had?   Was it a compile time problem, a unit
> > test runtime problem?   Other?
> >
> > The compiler and test issues should be easily worked around.   You can use the
> > dependency plugin to download the spec jar into target/lib or similar then
> > use the compilerArguements/argLine flags to control the compiler/surefire to
> > work.   (Providing you use fork mode for both)
> That sounds like a decent solution. I'll try that!
> It should not be necessary to fork the compiler, by the way. In fact,
> forking the compiler will not work on Windows, since Maven passes the
> arguments on the command line, and Windows does not support the very
> long command line parameters required to compile a large number of classes.
It depends on how maven calls compiler. javac has a @ option to pass a
parameter file. It really helps on Windows when you are trying to
compile large amount of files.

SY, Alexey

Alexey A. Petrenko
Intel Middleware Products Division

View raw message