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
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/"));

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: Wed Feb 21 03:06:59 GMT 2024

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

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

Back to the top