Sharing Xtext project at Github, how to do it? [message #1574223] |
Tue, 20 January 2015 05:28 |
Gary Worsham Messages: 176 Registered: September 2013 |
Senior Member |
|
|
I want to distribute my Xtext/Xtend project through Github. I'd been using SVN for all my code and it had generally been going OK (with me as the only contributor). I had checked everything into SVN, including the generated files. Recently, I imported everything from SVN into Github.
In Eclipse Luna, I imported all these files via Git into a fresh workspace. Previously I'd been using Kepler. All sorts of errors popped up in many parts of the project.
However, if I create a new Xtext project, then copy just the 10 or so relevant source files from a ZIP exported from Github into the right places in the Xtext project, it all works great.
There is the red text when I first generate my language infrastructure from Xtext, I think it is talking about installing antlr. I have to type "y', then it downloads and installs something. Could I be missing that when I just import from Git?
My question is how should I manage this project properly through Github and how do I most effectively share this project with other people?
[Updated on: Tue, 20 January 2015 05:51] Report message to a moderator
|
|
|
Re: Sharing Xtext project at Github, how to do it? [message #1574242 is a reply to message #1574223] |
Tue, 20 January 2015 05:45 |
|
HI,
this is a question with no definite answer. here are some points to consider
- do you want to check in generated sources as well (xtend-gen/src-gen)
- is in the target only xtext installed or the antlr-sdk from itemis update site as well (decides weather to check in the *antlr*jar in the project dir which is downloaded if you ask the red question in the workflow or if the red question is asked at all)
- do you use maven tycho or something else. if you use maven tycho do you use the fornax m2 plugin or the maven exec plugin to run the workflow?
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03426 seconds