Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Compilation errors in the Papyrus main-line projects

Hi, Team,

I've been focusing on some UML2 and CDO work of late but had a need to rebase my Papyrus workspace today on the latest Git master.  I now have a bunch of compilation errors (see below) indicating that code has been committed that requires Java 6.0 source compliance level.  The plan is for 1.0 to require JavaSE-6.0 BREE, but currently all of the bundle manifests still stipulate a J2SE-1.5 BREE.  Consequently, Eclipse PDE compiles these projects with 1.5 source compatibility and generates these errors.

These errors (in particular the one in the ResourceUpdateService) actually cause stuff to fail in JUnit tests and the run-time workbench.

Am I the only one with this problem?  If so, why doesn't everybody have it?  I think it would be best if we update the BREEs now, at least in the plug-ins that now actually require 1.6 compatibility for compilation.

In the mean-time, can anybody suggest how I can work around this?  Note that I also have CDO and other Eclipse projects in this workspace, so overriding the Java compiler settings workspace-wide is not really an option.

Thanks,

Christian

-------- 8< --------

The method setStereotypePropertiesInBrace(String) of type LollipopInterfaceFigure must override a superclass method	LollipopInterfaceFigure.java
The method setStereotypePropertiesInCompartment(String) of type LollipopInterfaceFigure must override a superclass method	LollipopInterfaceFigure.java
The method getStereotypesLabel() of type LollipopInterfaceFigure must override a superclass method	LollipopInterfaceFigure.java
The method setStereotypeDisplay(String, Image) of type LollipopInterfaceFigure must override a superclass method	LollipopInterfaceFigure.java
The method run() of type new Runnable(){} must override a superclass method	ResourceUpdateService.java
The method getPrimaryShape() of type NodeEditPart must override a superclass method	NodeEditPart.java



Back to the top