Difference between revisions of "Xtext/Contributor Guide"

From Eclipsepedia

Jump to: navigation, search
m (hudson server)
Line 36: Line 36:
 
* Perform import
 
* Perform import
 
<br> <br>  
 
<br> <br>  
==  Xcontributor environment - Do it yourself ==
+
==  Using git ==
  
TODO
+
=== Pulling changes from server ===
 +
<code>git pull origin master</code>
 +
=== Pushing to review server ===
 +
<code>git push origin master</code>
  
 
== Contribution monitoring ==
 
== Contribution monitoring ==

Revision as of 08:03, 24 June 2013

Warning2.png
Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.

Contents

Prerequisites

User Account

We use eclipse gerrit review server. To use the review server a few steps are required:

Eclipse Distribution

Download Full eclipse from Xtext website or use the eclipse DSL Package

Let Buckminster setup your Xcontributor environment

We provide an ant script which installs and runs Buckminster. Buckminster will do the most off necessary steps to crete a contributor workspace for you.

What does this script do in detail:

  • create an eclipse workspace
  • clone the Xtext git repository
  • populate workspace with necessary projects
  • create and set api baseline
  • create and set a target platform
  • set some important workspace settings
  • perform gerrit setup

Run the script

Run the ant script located here. In unix you can use following commands:

wget -N http://git.eclipse.org/c/tmf/org.eclipse.xtext.git/plain/devtools/org.eclipse.xtext.contributor/workspace.ant; ant -f workspace.ant

Start eclipse

Start your eclipse and choose ${user.home}/workspaces/xtext-sources as eclipse workspace

Setup working sets



Using git

Pulling changes from server

git pull origin master

Pushing to review server

git push origin master

Contribution monitoring

After you pushed your first commit to gerrit, it will be reviewed on the hudson review server. If all tests pass a manuel review will be done by one of the Xtext committers. If all looks good, your contribution will be pushed to the master repository and you can install it from the regular eclipse hudson server.

Browse Sources Online

Xtext and Xtend are hosted in Git. You can browse the repository in cgit here Xtext/Xtend repository.