Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to put Xtext project into version control system(Beginner problem about Xtext project and Git)
How to put Xtext project into version control system [message #692829] Tue, 05 July 2011 10:17 Go to next message
alex.ren2006 is currently offline alex.ren2006Friend
Messages: 46
Registered: June 2011
Member
Hi all,

I am a beginner for Xtext as well as eclipse projects. I am currently using Xtext to build an IDE for language ATS (www.ats-lang.org). I have finished encoding the grammar and figured out how to add syntax highlighting as well as outline for the IDE. So I am thinking about put the project onto ATS community so that more people can work with me. For that, I have to publish my project first. I am planning to use git. But I don't know what is the best way to publish an Xtext project so that people can easily work together. For C project, I just check in C source file and Makefile. But for eclipse plugin project, I am a totally beginner. Shall I clean all the projects in the workspace and check in the whole workspace including the projects for example.mydsl, example.mydsl.ui and example.mydsl.tests so that people can simply checkout and open the whole workspace?

Any suggestion is appreciated. Thanks a lot.
Re: How to put Xtext project into version control system [message #692845 is a reply to message #692829] Tue, 05 July 2011 10:38 Go to previous messageGo to next message
Timotei D is currently offline Timotei DFriend
Messages: 89
Registered: March 2010
Member
You should go the same thing as a Java project. You need to check in everything except directories:

bin/
and
.settings
from your project's directory.
Re: How to put Xtext project into version control system [message #692854 is a reply to message #692845] Tue, 05 July 2011 11:00 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
Registered: July 2009
Senior Member
Hi,

if you are not yet familiar with Eclipse plugin development, I'd
recommend to install EGit and choose share from the team menu. I can
imagine that they have reasonable default settings for plugins.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 05.07.11 12:38, forums-noreply@eclipse.org wrote:
> You should go the same thing as a Java project. You need to check in
> everything except directories:
>
> bin/
> and settings from your project's directory.
Re: How to put Xtext project into version control system [message #693119 is a reply to message #692854] Tue, 05 July 2011 20:25 Go to previous messageGo to next message
alex.ren2006 is currently offline alex.ren2006Friend
Messages: 46
Registered: June 2011
Member
Thanks a lot for your advice.

I am learning to use git inside eclipse now. It seems quite good.
Re: How to put Xtext project into version control system [message #693131 is a reply to message #692845] Tue, 05 July 2011 21:18 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6848
Registered: July 2009
Senior Member
Hi

If by "settings" you mean ".settings" you may want to review your policy.

".settings" contains many important project-specifuc settings such as
for instance UTF-8 encoding that is essential to ensure
consistent behaviour across workspaces.

Regards

Ed Willink

On 05/07/2011 11:38, forums-noreply@eclipse.org wrote:
> You should go the same thing as a Java project. You need to check in
> everything except directories:
>
> bin/
> and settings from your project's directory.
Previous Topic:Maintain order in the file?
Next Topic:code too long
Goto Forum:
  


Current Time: Sun Sep 27 18:23:03 GMT 2020

Powered by FUDForum. Page generated in 0.02310 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top