Community
Participate
Working Groups
In the build environment of our DSLs we have Maven2 based builds for DSLs, since we just use the runtime parts of the DSLs in the build, while the UI plugins are used "normally". The build infrastructure is set up in a way that "source" files won't be touched ever by creating a "Sandbox" for builds. In this Sandbox the UI projects are not present, and thus the UI Manifests are missing. This results in an exception stacktrace when the Manifests should be merged. It does not abort the workflow with error, we just want to get rid of this stack trace, since it confuses the build log. It would be OK for us if we have to subclass Generator, but the methods in doubt are private. We would have to copy quite much code to change this behavior. Another alternative would be to log just a warning when the Manifest is missing. java.io.FileNotFoundException: ../mydsl.ui/META-INF/MANIFEST.MF (No such file or directory) [ERROR] at org.eclipse.xtext.generator.Generator.mergeManifest(Generator.java:409) [ERROR] at org.eclipse.xtext.generator.Generator.generateManifestUi(Generator.java:446) [ERROR] at org.eclipse.xtext.generator.Generator.invokeInternal(Generator.java:138) [ERROR] at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:126) [ERROR] at org.eclipse.emf.mwe.core.lib.Mwe2Bridge.invoke(Mwe2Bridge.java:34) [ERROR] at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:201) [ERROR] at org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.invoke(AbstractCompositeWorkflowComponent.java:35) [ERROR] at org.eclipse.emf.mwe2.runtime.workflow.Workflow.run(Workflow.java:19) [ERROR] at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:97) [ERROR] at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:73) [ERROR] at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:76) [ERROR] at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35) [ERROR] Caused by: java.io.FileNotFoundException: ../gts.common.intmsg.generator.ui/META-INF/MANIFEST.MF (No such file or directory) [ERROR] at java.io.FileInputStream.open(Native Method) [ERROR] at java.io.FileInputStream.<init>(FileInputStream.java:106) [ERROR] at org.eclipse.xtext.generator.Generator.mergeManifest(Generator.java:395) [ERROR] ... 11 more