Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » emtl files not created when the imported projects are not copied in the workspace(it is not possible for transformation to occur due to absence of emtl files)
emtl files not created when the imported projects are not copied in the workspace [message #1234414] Tue, 21 January 2014 23:16 Go to next message
Bruno Patin is currently offline Bruno PatinFriend
Messages: 1
Registered: June 2012
Junior Member
it seems there is an issue with the ant script when the files are not copied in the workspace because emtl files are not generated leading to this error below. This error does not exist if files are copied.

here follows the complete error stack

org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.core.internal.resources.ResourceException: Resource '/org.eclipse.robotml.generators.acceleo.athena/bin/org/eclipse/robotml/generators/acceleo/athena/mmqueries/MMSpecificQueries.emtl' does not exist.
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils.java:361)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.doBuild(AcceleoParser.java:627)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:431)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:319)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.computeModuleFileDependency(AcceleoParser.java:468)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:399)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.buildImpactedModules(AcceleoParser.java:763)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:436)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:319)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.computeModuleFileDependency(AcceleoParser.java:468)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:399)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:319)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.computeModuleFileDependency(AcceleoParser.java:468)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:399)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.buildImpactedModules(AcceleoParser.java:763)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.build(AcceleoParser.java:436)
at org.eclipse.acceleo.internal.parser.compiler.AcceleoParser.buildAll(AcceleoParser.java:262)
at org.eclipse.acceleo.internal.ide.ui.builders.AcceleoBuilder.buildAll(AcceleoBuilder.java:278)
at org.eclipse.acceleo.internal.ide.ui.builders.AcceleoBuilder.build(AcceleoBuilder.java:180)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/org.eclipse.robotml.generators.acceleo.athena/bin/org/eclipse/robotml/generators/acceleo/athena/mmqueries/MMSpecificQueries.emtl' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:341)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:215)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at org.eclipse.core.internal.resources.File.getContents(File.java:278)
at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl$WorkbenchHelper.createPlatformResourceInputStream(PlatformResourceURIHandlerImpl.java:207)
at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl.createInputStream(PlatformResourceURIHandlerImpl.java:525)
at org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createInputStream(ExtensibleURIConverterImpl.java:360)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1269)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
... 32 more
Re: emtl files not created when the imported projects are not copied in the workspace [message #1235405 is a reply to message #1234414] Fri, 24 January 2014 09:16 Go to previous message
Stephane Begaudeau is currently offline Stephane BegaudeauFriend
Messages: 413
Registered: April 2010
Location: Nantes (France)
Senior Member

Hi,

Quote:
it seems there is an issue with the ant script when the files are not copied in the workspace because emtl files are not generated leading to this error below.

What is this Ant script?

Regards,

Stephane Begaudeau, Obeo

--
Twitter: @sbegaudeau
Google+: +stephane.begaudeau
Blog: http://stephanebegaudeau.tumblr.com | Eclipse Java Development Tools Tips and Tricks



Previous Topic:[Acceleo]Inverting a String
Next Topic:[Acceleo] Problem with file generation
Goto Forum:
  


Current Time: Sun Dec 21 18:50:28 GMT 2014

Powered by FUDForum. Page generated in 0.07369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software