[jira] Created: (PLXCOMP-105) Upgrade eclipse compiler to use 3.2.x compiler

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (PLXCOMP-105) Upgrade eclipse compiler to use 3.2.x compiler

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Upgrade eclipse compiler to use 3.2.x compiler
----------------------------------------------

                 Key: PLXCOMP-105
                 URL: http://jira.codehaus.org/browse/PLXCOMP-105
             Project: Plexus Components
          Issue Type: Improvement
          Components: plexus-compiler
            Reporter: Justin Edelson


Is it possible to have a new release cut of plexus-compiler-eclipse that uses a a version of jdt in the 3.2.x series? We are having a number of issues with the generics support in the 3.1.0 compiler and it appears that the 3.2.x and 3.1.x jdt jars are not binary compatible. When I simply add the later compiler as a plugin dependency like this:
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>2.0.2</version>
                                <configuration>
                                        <compilerId>eclipse</compilerId>
                                        <source>1.5</source>
                                        <target>1.5</target>
                                </configuration>
                                <dependencies>
                                        <dependency>
                                                <groupId>org.codehaus.plexus</groupId>
                                                <artifactId>plexus-compiler-eclipse</artifactId>
                                                <version>1.5.1</version>
                                        </dependency>
                                        <dependency>
                                                <groupId>org.eclipse.jdt</groupId>
                                                <artifactId>core</artifactId>
                                                <version>3.2.0.666</version>
                                        </dependency>
                                </dependencies>
                        </plugin>

I get this NoSuchMethodError:

java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()[Lorg/eclipse/jdt/core/compiler/IProblem;
        at org.codehaus.plexus.compiler.eclipse.EclipseJavaCompiler$EclipseCompilerICompilerRequestor.acceptResult(EclipseJavaCompiler.java:533)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email