0

I made Eclipse Sirius Tutorials (https://wiki.eclipse.org/Sirius/Tutorials) and now I would like to make standalone application with prepared Sirius runtime.

Is there any way to run it standalone? I don't want to run one instance of Eclipse and in this instance another instance with Sirius Runtime.

Maybe I can make plugin for Eclipse and use it? Or make Eclipse Rich Client Platform?

greg-449
  • 109,219
  • 232
  • 102
  • 145
kuba44
  • 1,838
  • 9
  • 34
  • 62
  • prepare a jar for your application, and include all required jars in the same folder and run : `java -cp -jar ` – SomeDude Feb 29 '16 at 16:40
  • but how can i make jar from .odesign file ? – kuba44 Feb 29 '16 at 16:43
  • Isn't your Sirius application a plugin? – SomeDude Feb 29 '16 at 16:44
  • it is a plugin, I made only tutorial application – kuba44 Feb 29 '16 at 16:46
  • If there is a plugin, you should be able to build a jar out of it. You can look at [this](http://stackoverflow.com/questions/1119677/how-do-i-automatically-generate-a-jar-file-in-an-eclipse-java-project) – SomeDude Feb 29 '16 at 16:48
  • I create jar by "File" -> "Export" -> "JAR File". but when I try run it by *java -cp -jar * as you adwise but i get error "no main manifest attribute, in test.jar". I have MANIFEST.MF file in META-INF folder so i don't understand what is wrong – kuba44 Feb 29 '16 at 17:01
  • Please look [here](http://stackoverflow.com/questions/9689793/cant-execute-jar-file-no-main-manifest-attribute) – SomeDude Feb 29 '16 at 17:03
  • Ok, but I don't know wich class have main method in sirius application – kuba44 Feb 29 '16 at 17:09
  • You should be able to identify the main class in MANIFEST.MF – SomeDude Feb 29 '16 at 21:58
  • But it not just simple java application with main class. This is eclipse plugin (i think so). So there isn't maib class :( – kuba44 Feb 29 '16 at 23:31
  • it's the same as building an eclipse RCP application, it's just an additional dependencies with sirius, that's all. I suggest that you search tutorial for ways of building eclipse RCP application (through product file, or maven) – flafoux Apr 18 '16 at 12:30
  • @flafoux do you know any tutorial? – kuba44 Apr 23 '16 at 11:55

1 Answers1

0

You need to create an Eclipse product. This product will reference other plugins and features and it will let you create a complete package for your application. You can add or remove menu, customize the branding of the product with a splash screen, an icon etc.

Have a look at the product and branding of Dart Designer for a Sirius stand alone application

sbegaudeau
  • 1,504
  • 13
  • 18