|
|
Re: Standalone Java Application [message #1007003 is a reply to message #1007000] |
Sun, 03 February 2013 18:53 |
D Q Messages: 3 Registered: January 2013 |
Junior Member |
|
|
Hi Christian,
So let's say I copy the code in the link to a file called Test.java, I've also exported my Eclipse Xtext project to a runnable JAR (call it dsl.jar).
When I run
javac -cp dsl.jar Test.java
I receive the following even though I've removed "org.eclipse.emf.mwe.utils.StandaloneSetup().setPlatformUri("../");"
0 INFO StandaloneSetup - Registering platform uri 'some uri'
Then the compile will fail unless I put Test.java in the Eclipse project src folder.
Thanks
[Updated on: Sun, 03 February 2013 18:54] Report message to a moderator
|
|
|
Re: Standalone Java Application [message #1007004 is a reply to message #1007003] |
Sun, 03 February 2013 19:02 |
|
Hi,
is still do not get the point. maybe there is a missunderstanding on your side.
id expected you would do something like
java -jar xxx.jar my.Test test.mydsl
So why do you want to compile the class test?????
you usually do the build using techs like tycho, buckminister etc
the articles on "standalone" are on "reading the model"
and not "compile the model reading class"
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.03030 seconds