Skip to main content


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 .Friend
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: Thu Apr 25 10:16:15 GMT 2024

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

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

Back to the top