For any avid readers..

On 21/09/05, Mark Hobson <[EMAIL PROTECTED]> wrote:
[snip]
> I'm not a big fan of (1) since system-specific information will be
> held within the POM.  Even if I use an expression like
> "${java.home}/../jdk1.4.2/bin/javac", this still assumes something
> about the whereabouts of the JDK.  For these scenarios, do you think
> it would make sense to introduce a JDK version compiler config param
> which cross-referenced a list of JDK definitions in settings.xml?  The
> resolved java.home could then be used in the plexus-compiler-*
> projects when deriving the necessary rt.jar path.

See MNG-468, but hardcoding the JDK doesn't currently work due to MNG-862.

> I prefer (2), but it appears there's no way of specifying the
> bootclasspath in plexus-compiler-api.  Ideally my project would have a
> DOM Level 2 API dependency which I could flag as a bootclasspath jar
> (yet another scope?) and that would take precendence over whatever JDK
> I was using.

See MNG-973 and also MNG-1020 for this to work in eclipse.

> I'd be interested in what options I have to achieve just compliation
> in this setup using m2 beta1, and also how this problem could be
> tackled more elegantly in future.

I couldn't find a way of doing this with beta1 due to the above issues :(

Mark

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

Reply via email to