Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Importing problems
Importing problems [message #1146845] Sun, 20 October 2013 12:52 Go to next message
Alex G is currently offline Alex GFriend
Messages: 96
Registered: January 2012

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,
Re: Importing problems [message #1148984 is a reply to message #1146845] Mon, 21 October 2013 21:50 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 1545
Registered: July 2009
Location: York, UK
Senior Member

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?

Re: Importing problems [message #1162598 is a reply to message #1148984] Wed, 30 October 2013 13:42 Go to previous message
Alex G is currently offline Alex GFriend
Messages: 96
Registered: January 2012
Hi Dimitris!

No it didn't work with JUnit Plug-in Test.

If I find time, I will produce a minimal example.

Best regards,
Previous Topic:Affixed Parent Side attribute
Next Topic:serialize ecl matchtrace
Goto Forum:

Current Time: Wed Jun 20 04:18:03 GMT 2018

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

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

Back to the top