Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

[groovy-eclipse-plugin-dev] Problems with CI Buildserver (Eclipse Ganymede Features)

Michael Klenk

2009-04-22


Author LoginPost Reply
Hi All

I have a Problem with the continuous integration build server.

Because Eclipse in the Version 3.4 has build in the asm plug-in in
version 3 and Groovy itself has the asm library in version 2.2, I was
not able to compile the Groovy-Eclipse Plug-in with Ganymede on the
build server. The build fails while compiling the groovy files in the
project.
So, the build server was building the plug-in with eclipse 3.3 until now
as Andrew used features of 3.4 which are not available at 3.3.

For Example (Build Failure Log at the CI):
[java]   [javac]   import
org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[java]   [javac] Discouraged access: The type NewElementWizard is not
accessible due to restriction on classpath entry
/var/lib/cruisecontrol/projects/groovy-refactoring/groovy-eclipse/eclipse/plugins/org.eclipse.jdt.ui_3.3.1.r331_v20070906.jar
[java]   [javac] 445. ERROR in
/var/lib/cruisecontrol/projects/groovy-refactoring/groovy-eclipse-officialSVN-with-tests/buildDirectory/plugins/org.codehaus.groovy.eclipse.ui/src/org/codehaus/groovy/eclipse/wizards/GroovyProjectWizard.java
(at line 34)

I tried to force ant to use the asm library from groovy despite the one
in eclipse 3.4 but I had no success. I am not such an Expert in ANT
maybe someone has a tip how this could be done, or has an other
possibility to build the Groovy-Eclipse Plug-in as with ANT.

For me it was not such a prior task as long as we don't use 3.4 features.

Beside this: there are 2 Tests with errors on the Trunk, which I think
are relaed to your work Andrew:

Test for org.codehaus.groovy.eclipse.test

org.codehaus.groovy.eclipse.test.actions.AddGroovyNatureActionTestCase
testAddGroovyNature(org.codehaus.groovy.eclipse.test.actions.AddGroovyNatureActionTestCase)
java.lang.NullPointerException

testGroovyNatureNotJavaProject(org.codehaus.groovy.eclipse.test.actions.AddGroovyNatureActionTestCase)
java.lang.NullPointerException

After all this problems, a positive notice. The integration of Groovy
1.6.1 was no big problem.

Cheers Mike

--
Michael Klenk
Institut für Software - http://ifs.hsr.ch - +41 55 222 4625
HSR Hochschule für Technik Rapperswil
Oberseestr 10, Postfach 1475, CH-8640 Rapperswil



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

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.