I went through some source code on the plexus compilers. And why is Eclipse comented out as a possible compiler?
Is there a fix comming up? anyone? On 2/14/06, Rolf Strijdhorst <[EMAIL PROTECTED]> wrote: > > Hi Jay, > > Ok I did try some experiments but they failed. I will try to dig into the > catacombs of plexus > > It's fine were're back to the list I Hope someone responds. > > have a nice time. > Rolf > > > On 2/14/06, Jay H. Hartley <[EMAIL PROTECTED]> wrote: > > > > Rolf, > > > > Have you made any headway on this? I haven't seen any traffic on the > > Maven list about it. Have you tried the Plexus mailing lists? > > > > I looked at the Maven repository on ibiblio. I bet you have to specify > > plexus-compiler-eclipse-1.5 (groupId="plexus") as a dependency to get > > the eclipse compiler. The plugin does not explicitly provide a dependency on > > any particular compiler. > > > > I'm sorry I kind of dropped you back to the list. I'm leaving for 2 wks > > vacation in a few days, and have been scrambling just to get work done > > before then. My only path right now for digging out what to do, other than > > trying the Plexus list, would be to scour through the Plexus code some more. > > FYI, the subversion repository is at svn://svn.codehaus.org/plexus/scm. I > > looked at the plexus-compiler-manager and plexus-compilers projects, but > > there is some core Plexus code that actually populates the list of available > > compilers in DefaultCompilerManager, and I couldn't figure out where that > > came from. The plexus-compiler-eclipse project appears to include the > > org.eclipse.jdt-3.1.jar file in its dependencies, so once you get that > > included, I don't think you'll have to worry about setting your Eclipse > > classpath. > > > > Good luck! Please let me know what you find. > > > > Jay > > > > ------------------------------ > > *From:* Rolf Strijdhorst [mailto:[EMAIL PROTECTED] > > *Sent:* Friday, February 10, 2006 2:12 AM > > *To:* Jay H. Hartley > > *Subject:* Re: eclipse compiler > > > > Hi Jay I did one test and only including the compilerId eclipse is not > > enough. > > I am about to do a test with eclipse somewhere on the classpath. > > have to figure out how though. > > > > Rolf > > > > On 2/10/06, Jay H. Hartley <[EMAIL PROTECTED]> wrote: > > > > > > Rolf, > > > > > > In looking through the M2 CompilerMojo, I found that it just > > > wraps Jason van Zyl's Plexus Compiler package. ( > > > http://plexus.codehaus.org) That appears to support 'eclipse' as a > > > compiler variation, so I'm thinking you can just set the compilerId > > > parameter to 'eclipse' instead of the default 'javac' instead of using the > > > 'executable' parameter I suggested before. > > > > > > I'm cc-ing the mailing list on this, to see if we can get verification > > > from the plugin authors. > > > > > > Jay > > > > > > ------------------------------ > > > *From:* Rolf Strijdhorst [mailto:[EMAIL PROTECTED] > > > *Sent:* Wednesday, February 08, 2006 11:17 PM > > > *To:* Jay H. Hartley > > > *Subject:* Re: eclipse compiler > > > > > > Thanx Jay > > > By the way I am using M2 > > > > > > But does this mean I can just insert: org.eclipse.jdt.core.JDTCompiler > > > Adapter > > > > > > or do I need to include the complete path to the compiler or ( a lot > > > of ors) is it enough to include the jar that contains the compiler in the > > > classpath? > > > > > > Rolf > > > > > > > > > On 2/8/06, Jay H. Hartley <[EMAIL PROTECTED]> wrote: > > > > > > > > Rolf, > > > > > > > > If you are using Maven 2, set the "executable" parameter for the > > > > compile:compile goal: > > > > > > > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html > > > > > > > > For a description of how to set compiler parameters, see > > > > http://maven.apache.org/plugins/maven-compiler-plugin/howto.html > > > > > > > > For Maven 1, set the " maven.compile.executable" property in one of > > > > the > > > > various properties files: > > > > > > > > http://maven.apache.org/maven-1.x/reference/plugins/java/properties.html > > > > > > > > > > > > Hope this helps, > > > > > > > > Jay > > > > > > > > > -----Original Message----- > > > > > From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] > > > > > Sent: Wednesday, February 08, 2006 11:25 AM > > > > > To: Maven Users List > > > > > Subject: eclipse compiler > > > > > > > > > > hi I am wondering is het possible to assign a different > > > > > compiler. I want to use the eclipse compiler for my builds. > > > > > thanx > > > > > Rolf > > > > > > > > > > > > > > > > > > > > > > >
