[furcas-discussion] Failing Wizard Test
Uhl, Axel
axel.uhl at sap.com
Mon Feb 28 01:20:53 CET 2011
The way it looks I got the test working again. The problem seems to have been that the Nexus repository at SAP received an update of the Eclipse bundles. Our Maven build uses this repository. At the same time the furcashudson machine has an Eclipse installation at /usr/eclipse to whose plugins/ directory the test case resorted to find plugins. However, the bundles to be retrieved from there, including their names, were taken from the loaded platform bundles where possible. Those names contain version specificities such that the upgrade of the Nexus repository caused names to be looked up in the /usr/eclipse/plugins folder that don't exist.
I change the test case such that the bundle names are first looked up in their base file location. To access the base file of a bundle I had to resort to reflection because those methods are not exposed in the API. If anyone knows a better, cleaner way to get a hold of the bundle JAR file paths, please let me know.
With these modifications it seems that build now gets over the test case again.
Best,
-- Axel
> -----Original Message-----
> From: Uhl, Axel
> Sent: Sunday, February 27, 2011 12:11 PM
> To: Uhl, Axel; furcas-discussion at lists.furcas.org
> Cc: Petersen, Frederik
> Subject: RE: Failing Wizard Test
>
> Hi all,
>
> I found out this:
>
> hudson at furcashudson:~/.m2/repository$ find . -name
> 'org.eclipse.core.resources.*'
> hudson at furcashudson:~/.m2/repository$ find /usr/eclipse/ -name
> 'org.eclipse.core.resources.*'
> /usr/eclipse/plugins/org.eclipse.core.resources.source_3.6.0.R36x_v2010
> 0825-0600.jar
>
> In other words, the org.eclipse.core.resources bundle is missing from
> the Maven repository. How would it be supposed to get there, how was it
> ever there and why did is disappear? How do we get it (back) there?
>
> -- Axel
>
> > -----Original Message-----
> > From: furcas-discussion-bounces at lists.furcas.org [mailto:furcas-
> > discussion-bounces at lists.furcas.org] On Behalf Of Uhl, Axel
> > Sent: Sunday, February 27, 2011 11:36 AM
> > To: furcas-discussion at lists.furcas.org
> > Cc: Petersen, Frederik
> > Subject: [furcas-discussion] Failing Wizard Test
> >
> > Hi folks,
> >
> > I've further analyzed our wizard test issue. It seems that we have an
> > inconsistency in Eclipse plugin versions. I've taken the classpath
> that
> > I output in the exception message in the test and searched for the
> > respective entries in the hudson environment:
> >
> > FOUND : ./lib/org.eclipse.swt.gtk.linux.x86_64_3.6.1.v3655c.jar
> > FOUND : ./lib/static
> > FOUND : ../../EMF/emf/org.eclipse.emf.common/bin
> > FOUND : ../../EMF/emf/org.eclipse.emf.ecore/bin
> > FOUND :
> > ../../DSLEngineering/com.sap.furcas.runtime.parser.incremental/bin
> > FOUND : ../../ngpm/de.hpi.sam.bp2009.ngpm/bin
> > FOUND : ../../DSLEngineering/com.sap.furcas.metamodel/bin
> > FOUND : ../../DSLEngineering/com.sap.furcas.ide.editor/bin
> > FOUND : ../../DSLEngineering/org.antlr/bin
> > FOUND : ../../DSLEngineering/com.sap.furcas.runtime.tcs/bin
> > FOUND : ../../DSLEngineering/com.sap.furcas.ide.parserfactory/bin
> > FOUND : ../../DSLEngineering/com.sap.furcas.runtime.common/bin
> > FOUND : ../../DSLEngineering/com.sap.furcas.runtime.parser/bin
> > NOT FOUND: /usr/eclipse/plugins/org.eclipse.ui_3.6.2.M20110203-
> 1100.jar
> > NOT FOUND:
> > /usr/eclipse/plugins/org.eclipse.ui.workbench_3.6.2.M20110210-
> 1200.jar
> > NOT FOUND:
> > /usr/eclipse/plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
> > FOUND :
> > /usr/eclipse/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar
> > FOUND :
> > /usr/eclipse/plugins/org.eclipse.ui.editors_3.6.1.r361_v20100825-
> > 0800.jar
> > FOUND :
> > /usr/eclipse/plugins/org.eclipse.jface.text_3.6.1.r361_v20100825-
> > 0800.jar
> > NOT FOUND:
> > /usr/eclipse/plugins/org.eclipse.core.resources_3.6.1.R36x_v20110131-
> > 1630.jar
> > FOUND :
> >
> /usr/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20
> > 100714-0800.jar
> > FOUND :
> > /usr/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar
> > FOUND :
> > /usr/eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar
> > FOUND :
> > /usr/eclipse/plugins/org.eclipse.core.commands_3.6.0.I20100512-
> 1500.jar
> > FOUND :
> >
> /usr/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20
> > 100714-0800.jar
> >
> > I'll check how this list is compiled.
> >
> > -- Axel
> > _______________________________________________
> > Furcas-discussion mailing list
> > Furcas-discussion at lists.furcas.org
> > http://lists.furcas.org/cgi-bin/mailman/listinfo/furcas-discussion
More information about the Furcas-discussion
mailing list