[MWE] FileNotFoundException after exporting projects to jar [message #641625] |
Fri, 26 November 2010 06:40 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.25699 seconds