Deploying xtext parser to standalone jar [message #1066821] |
Thu, 04 July 2013 10:09  |
Eclipse User |
|
|
|
Hi guys,
I have developed a grammar for my language using Xtext. Next, I have tried to export the grammar project as runnable jar file so that specifications written in my language can be parsed through this jar file.
To do this, I firstly created a java application via run configurations part of the eclipse. There I set the main class as "org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher".
Then, I tried to export the project as runnable jar file where I specified the java application I have just created as the "launch configuration".
However, whwn use the command to run the exported jar file "java -jar mylang.jar model.mylang" I always get the below error:
"Failed to load Main-Class manifest attribute from myylang.jar".
Can anyone help me on this please ? How can I resolve this issue so that I can deploy my xtext project as runnable jar file through which parsing can be performed ?
thanks a lot
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.45487 seconds