Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMaven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768368/#msg_768368
I'm looking for a simple maven configuration or dummy project which uses maven for dependency management (xtext 2.1.1). After having fun with maven for six hours I have no idea what to do to get a project running without any error markers for missing dependencies. I found almost five maven repos and I still could not found all required artifacts to get an error free project.
I would appreciate it if someone could provide such a configuration so I can parse and create Xtext resources outside of eclipse.
Regards
Michael]]>Michael Ernst2011-12-20T01:52:02-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768572/#msg_768572
did you have a look at the spray project? http://code.google.com/a/eclipselabs.org/p/spray/
~Christian]]>Christian Dietrich2011-12-20T11:49:42-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768664/#msg_768664
Thanks for your reply. I'm unsure how the spray project can help me. I'm not running in Eclipse. I already build successfully my xtext projects and model projects with tycho. I want to use them now in a normal standalone application to handle Strings from a data store as xtext resources.
Kind regards
Michael]]>Michael Ernst2011-12-20T15:18:37-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768666/#msg_768666
then i still do not understand what your problem is.
can you elaborate on your problem?
if you use tycho it should give you anything you need.
~Christian]]>Christian Dietrich2011-12-20T15:23:21-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768671/#msg_768671
if it is just about: which jars do i need to add to my jar-bunch called classpath
have a look at the "export as runnable ja file" wizard in eclipse
~Christian]]>Christian Dietrich2011-12-20T15:30:10-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768747/#msg_768747
I got my xtext project which are configured as eclipse-bundle with tycho. The artifacts are build with maven and the resulting jars are added to my local repository. The created artifact poms does only contain the name of the project, no further dependencies. Tycho does not add the downloaded artifacts from the p2 repository to my local repository.
Now I want to include these generated artifacts in another project which knows nothing from tycho or how the projects are build. I want to use them as simple artifacts but when I include them, the xtext artifacts and their dependencies are missing. So how can I get the missing artifacts into my local repository without the monkey work to add them manually?
Or did I misunderstand something?
Regards
Michael ]]>Michael Ernst2011-12-20T17:46:18-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/768753/#msg_768753
i fear you have to do the monkey work. xtext is not really meant to be used with maven.
feel free to file enhancement requests.
]]>Michael Ernst2011-12-21T15:57:37-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/769288/#msg_769288
thanks for the link. It works!!!
Regards
Michael]]>Michael Ernst2011-12-21T18:27:06-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/780743/#msg_780743
Where to find the build configuration for this artifact?
Kind regards
Michael]]>Michael Ernst2012-01-19T09:27:30-00:00Re: Maven configuration for Xtext
https://www.eclipse.org/forums/index.php/mv/msg/268222/780888/#msg_780888
Michael Clay2012-01-19T19:44:10-00:00