Importing problems [message #1146845] |
Sun, 20 October 2013 12:52 |
Alex G Messages: 96 Registered: January 2012 |
Member |
|
|
Hi!
I have 3 projects, say PA, PB and PC.
In PA I have a package and inside this package an EOL file "myeol.eol".
In PB I have another Epsilon file (in my case an EPL file "myepl.epl") and I want to import "myeol.eol" there.
PC is a JUnit test project, where I load myepl.epl standalone(and hope, that myeol.eol will be automatically loaded, too).
I found a tip how to import the EOL file with Epsilon here.
If I denote
import "platform://<pluginName>/plugin/<bundleName>/<path>/myeol.eol";
(or even without the <pluginName>) and set the names correctly,
the Epsilon editor verifies it as correct (no error marker in the Epsilon editor) and if I run PB as a plugin (in another Eclipse instance) everything works fine.
Now if I want to run the Junit test in the third project PC, I get the error message
"Line: 2, Reason: File platform://<pluginName>/plugin/<bundleName>/<path>/myeol.eol not found".
I think I have to set some special entries in the Java build path, but I don't know exactly, what is missing there.
The problem also occurs if I copy myeol.eol into the project PB directly and modify the import statement in the myepl.epl file.
I also tried with "platform:/resource" - URI, which also doesn't work.
Best regards,
Alex.
|
|
|
Re: Importing problems [message #1148984 is a reply to message #1146845] |
Mon, 21 October 2013 21:50 |
|
Hi Alex,
Does it help if you run your JUnit test as a "JUnit Plug-in Test"? If not, could you please prepare a minimal example I can use to reproduce this?
Cheers,
Dimitris
|
|
|
|
Powered by
FUDForum. Page generated in 0.03829 seconds