|
|
|
|
|
Re: Problem to run basic epsilon examples [message #512050 is a reply to message #511940] |
Wed, 03 February 2010 13:01  |
Eclipse User |
|
|
|
Hi,
That's strange! Just to make sure: are you working with the Eclipse
Modeling Distribution? If so, I can think of no other solution rather
than to have a live screensharing session via Yuuguu so that I can have
a look at this directly...
Cheers,
Dimitris
borislucas@wanadoo.fr wrote:
> I tried again with these very steps, it still doesn't work.
>
> But I was thinking that maybe it is not normal that the metamodel part
> and the "tree2graph" part are separate in two different project, and
> thus the metamodels are not visible for "tree2graph"...?
>
> But I suppose that's the purpose of "register package"...
>
> Anyway , thanks again for taking time to help me!
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Problem to run basic epsilon examples [message #585029 is a reply to message #509836] |
Mon, 25 January 2010 10:31  |
Eclipse User |
|
|
|
Hi,
I've seen similar exceptions occur when the file specified in the launch
configuration doesn't exist. Did you follow the instructions in the "Get
it!" tab in
http://www.eclipse.org/gmt/epsilon/examples/index.php?exampl e=org.eclipse.epsilon.examples.tree2graph
precisely?
Cheers,
Dimitris
borislucas@wanadoo.fr wrote:
> Hello,
> I downloaded the "Tree2Graph" example and tried to run it with Epsilon
> plugin for Eclipse, but it did not work.
>
> here is the error I get when I try to launch :
>
> java.lang.NullPointerException
> at
> org.antlr.runtime.CommonTokenStream.fillBuffer(CommonTokenSt ream.java:95)
> at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.jav a:238)
> at
> org.eclipse.epsilon.eol.AbstractModule.invokeMainRule(Abstra ctModule.java:182)
>
> at
> org.eclipse.epsilon.eol.AbstractModule.parse(AbstractModule. java:142)
> at
> org.eclipse.epsilon.etl.dt.launching.EtlLaunchConfigurationD elegate.launch(EtlLaunchConfigurationDelegate.java:48)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:853)
>
> at
> org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:703)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:866)
>
> at
> org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlu gin.java:1069)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> I have eclipse 3.5, with java jdk 1.6 on Linux.
>
> I also tried other examples (OO2DB) but I always get the same error.
>
> I'll be very grateful if someone could help me out!
> Thanks !
>
> Boris.
>
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
|
Re: Problem to run basic epsilon examples [message #585466 is a reply to message #585454] |
Mon, 01 February 2010 08:32  |
Eclipse User |
|
|
|
Hi Boris,
I'm afraid I can't reproduce this. I've followed the steps below
1. Download org.eclipse.epsilon.examples.tree2graph.zip
2. Download org.eclipse.epsilon.examples.metamodels.zip
3. extract them
4. import them into Eclipse as projects
5. right click on Tree.ecore and click "Register EPackages"
6. right click on Graph.ecore and click "Register EPackages"
7. right click on Tree2Graph.launch and select Run as->Tree2Graph
and the transformation appears to be running fine. Could you please
reproduce the steps above and let me know if the problem persists?
Cheers,
Dimitris
borislucas@wanadoo.fr wrote:
> Thank you for your answer, I tried it but it didn't change anything.
>
> Does anyone have any other idea?
>
> Boris
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: Problem to run basic epsilon examples [message #585636 is a reply to message #511381] |
Wed, 03 February 2010 08:30  |
Eclipse User |
|
|
|
I tried again with these very steps, it still doesn't work.
But I was thinking that maybe it is not normal that the metamodel part and the "tree2graph" part are separate in two different project, and thus the metamodels are not visible for "tree2graph"...?
But I suppose that's the purpose of "register package"...
Anyway , thanks again for taking time to help me!
|
|
|
Re: Problem to run basic epsilon examples [message #585659 is a reply to message #585636] |
Wed, 03 February 2010 13:01  |
Eclipse User |
|
|
|
Hi,
That's strange! Just to make sure: are you working with the Eclipse
Modeling Distribution? If so, I can think of no other solution rather
than to have a live screensharing session via Yuuguu so that I can have
a look at this directly...
Cheers,
Dimitris
borislucas@wanadoo.fr wrote:
> I tried again with these very steps, it still doesn't work.
>
> But I was thinking that maybe it is not normal that the metamodel part
> and the "tree2graph" part are separate in two different project, and
> thus the metamodels are not visible for "tree2graph"...?
>
> But I suppose that's the purpose of "register package"...
>
> Anyway , thanks again for taking time to help me!
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Powered by
FUDForum. Page generated in 0.16423 seconds