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] Changes in 1.1
Goto Forum:

Current Time: Fri Jun 22 15:41:59 GMT 2018

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

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

Back to the top