XPand2 / MWE: Load file for XPand generator from outside the Java classpath? [message #898051] |
Wed, 25 July 2012 12:54  |
Eclipse User |
|
|
|
Hello everyone,
I'm using MWE to run a XPand2 generator. I had a look at the documentation of the generator and it states that the file containing the XPand template (the .xpt file) has to be located on the Java classpath. Since I am developing a plugin for MagicDraw, I have little influence on the classpath (besides from adding Jar files) and can't just "add" the .xpt file to the classpath. Adding it to the plugin Jar file unfortunately did not help either, the workflow engine is just unable to locate the file.
However, what I do know is the absolute filepath of the .xpt file - can I somehow tell the generator to use the .xpt file from the filepath instead of looking it up on the classpath?
Thanks,
Alan
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04476 seconds