开发者

Xtext 2.0 maven or ant project

开发者 https://www.devze.com 2023-04-12 10:01 出处:网络
I want to build my own xtext 2.0 project from command line. Could anybody share开发者_运维知识库 real working xtext 2.0 maven pom.xml or ant build.xml file?do you know http://code.google.com/a/eclipse

I want to build my own xtext 2.0 project from command line. Could anybody share开发者_运维知识库 real working xtext 2.0 maven pom.xml or ant build.xml file?


do you know http://code.google.com/a/eclipselabs.org/p/spray/. they build Xtext projects using Maven Tycho.


You can use this Maven archetype that creates an Xtext project with a multi module Maven layout and Tycho (manifest-first approach): https://github.com/fuinorg/emt-xtext-archetype


Several projects that you could refer to:

https://github.com/xtext-dev/maven-xtext-example a standard maven-xtext sample using tycho, including maven pom settings and example project. I built my xtext project following this guide.

https://github.com/aphethean/xtext-maven-examples It'll help if you wanna write your own main class.

Also, https://github.com/applause/applause It's not a maven xtext project, but a very good example to show how to separate grammar core and code generator logics.

Hope this would help. :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号