Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [MWE] FileNotFoundException after exporting projects to jar(GMF plugin with M2T transformation using Xpand and mwe)
[MWE] FileNotFoundException after exporting projects to jar [message #641625] Fri, 26 November 2010 11:40
masija . is currently offline masija .
Messages: 59
Registered: July 2010
Member
Hello at all,
I am developing a GMF editor, which has the ability to transform the domainmodel into an html file.
For this I call an mwe file which starts an xpand template.
If i have my projects in the workspace and start a new eclipse instance for testing the plugins, everything works fine.
But after exporting the project as a jar file, i get following Error message:
FileNotFoundException: /mweFiles/myMWEFile.mwe

The folder /mweFiles is located in the root folder of my project, and is called with a file locator:
 URL url = FileLocator.toFileURL(new URL("platform:/plugin/de.test.my.diagram/mweFiles/myMWEFile.mwe"));


Has anybody a solution for this problem, or tipps how I could integrate this feature into an depoyable plugin?

Best regards, masija
Previous Topic:[XPand] Supporting @generated style protection
Next Topic:[XPand] Invoke XPand programmatically: how templates are resolved?
Goto Forum:
  


Current Time: Mon Sep 15 04:06:52 GMT 2014

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

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