migrating to 2.9.x from 2.8.4 [message #1723373] |
Mon, 15 February 2016 09:09 |
|
Hello colleagues,
I have a tools that based on xtext 2.8.4. This tools is used in production as standlone DSL IDE. For building standalone application I've created eclipse product file and save it in separate project. Now I would like to migrate to 2.9.x level of XText and use maven as build system. What there correct way for migratting from 2.8.x that use eclipse build system to 2.9.x with maven?
Thank you in advance
Alexander
|
|
|
|
Re: migrating to 2.9.x from 2.8.4 [message #1723379 is a reply to message #1723374] |
Mon, 15 February 2016 09:47 |
|
Thanks Ditrich
I would like to use new one. What about my product project should I save it and used it in new version of project.?
And one more question When I created new project I see a few options
like
1. Eclipse Plugin
2.Generic IDE support
In case I use my tools only as standalone DSL IDE. I schall not check options one. Am I right?
Thanks
Alexander
[Updated on: Mon, 15 February 2016 09:48] Report message to a moderator
|
|
|
|
Re: migrating to 2.9.x from 2.8.4 [message #1723390 is a reply to message #1723380] |
Mon, 15 February 2016 11:15 |
|
I would like to have eclipse based application. That can be run by my end user as ordinary Windows Application. On xtext 2.8,x I've create product defintion and built it using "Eclippse product export wizard" option. Then I have distribution that can be copied to end user's machine and executed
|
|
|
|
Re: migrating to 2.9.x from 2.8.4 [message #1723394 is a reply to message #1723390] |
Mon, 15 February 2016 11:32 |
|
Using workaround from my other questions from my previous question. I did maven build and have to jar files.
-- org.xtext.example.mydsl.ide-1.0.0-SNAPSHOT.jar
-- org.xtext.example.mydsl-1.0.0-SNAPSHOT.jar
UPD: strongly recomended use : set MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=128m
otherwise outofmemory in maven - exceptions can be caught
Both archive don't contain attribute MainClass in manifest.
I cannot understand How can I run the application?
I use native maven support from xtext, not tycho.
In previous answer you suggest to use tycho. Does it mean that native maven support in text cannot build dsl ide? Like I did it in 2.8.4
[Updated on: Mon, 15 February 2016 11:43] Report message to a moderator
|
|
|
|
Re: migrating to 2.9.x from 2.8.4 [message #1723407 is a reply to message #1723396] |
Mon, 15 February 2016 12:52 |
|
so summary of this discussion. Righ now I'm able to build via maven simple example "Hello World" project.
but I do not understand how to create executable jar file for this application.
For example
-- Which class should be main class
-- How to added dependecy from eclipse
I've found https://github.com/xtext/maven-xtext-example. download and try to build. Build complete with success. But I have the same questions How can i make executable jar for this application?
Which jar is main and how can I run this example application
Thanks
Alexander
|
|
|
|
|
|
|
|
|
Re: migrating to 2.9.x from 2.8.4 [message #1724141 is a reply to message #1724140] |
Sun, 21 February 2016 16:40 |
Eleanor Richie Messages: 125 Registered: August 2014 |
Senior Member |
|
|
I always have these errors:
Multiple problems occurred while downloading.
Problems downloading artifact: osgi.bundle,org.eclipse.emf.mwe.core,1.3.13.v201512160556.
Error reading signed content:C:\DOCUME~1\eleanorr\LOCALS~1\Temp\signatureFile9103073807324475615.jar
An error occurred while processing the signatures for the file: C:\DOCUME~1\eleanorr\LOCALS~1\Temp\signatureFile9103073807324475615.jar
and the same error for multiple plugins :
- org.eclipse.emf.mwe.utils
- org.eclipse.emf.mwe2.language,2.8.3.
- org.eclipse.emf.mwe2.language.ui,2.8.3.
- org.eclipse.emf.mwe2.launch,2.8.3.
- org.eclipse.emf.mwe2.lib,2.8.3.
- org.eclipse.emf.mwe2.runtime,2.8.3
- org.eclipse.emf.mwe2.language.sdk,2.8.3
- eclipse.emf.mwe2.language.source,2.8.3.
and so many others... any help please?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04313 seconds