Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "M2E-WTP-Dev Environment"

(Clone m2e-wtp and m2e-wtp-tests)
(Build m2e-wtp via command line)
Line 20: Line 20:
 
== Build m2e-wtp via command line ==
 
== Build m2e-wtp via command line ==
  
* Download and install maven 3.0.4 from http://maven.apache.org/download.html
+
* Download and install maven 3.2.1 from http://maven.apache.org/download.html
 
* Open a command shell, navigate under m2e-wtp's directory and type :
 
* Open a command shell, navigate under m2e-wtp's directory and type :
 
     mvn clean install
 
     mvn clean install

Revision as of 13:51, 29 July 2014

M2E-WTP
Website
Download
Community
Mailing ListForumsIRCmattermost
Issues
OpenHelp WantedBug Day
Contribute
Browse Source

Clone m2e-wtp and m2e-wtp-tests

  • Clone the m2e-wtp core and jpa repositories. Committers should use :
- Core : ssh://YOUR_COMMITTERID@git.eclipse.org:29418/m2e-wtp/org.eclipse.m2e.wtp 
- JPA : ssh://YOUR_COMMITTERID@git.eclipse.org:29418/m2e-wtp/org.eclipse.m2e.wtp.jpa 
  

Build m2e-wtp within Eclipse

Build m2e-wtp via command line

   mvn clean install

This will build m2e-wtp against the juno platform.

  • Alternatively, execute the following to build against other platforms (helios, indigo, juno and kepler are supported)
   mvn clean install -Declipse.target=<platformId>

The very first build should be *very* long (tens of minutes), as maven will need to download all the build pre-requisites from internet. Subsequent builds can be sped up by going offline :

   mvn clean install -o

Change directory to go under m2e-wtp-tests and execute :

   mvn clean install

Submitting patches

m2e-wtp core sources at eclipse.org

m2e-wtp only accepts changes contributed via Gerrit. Here is the wiki that explains how to use it http://wiki.eclipse.org/Gerrit.

According to eclipse legal poster, all contributors must have signed Eclipse CLA and their bugzilla email and git commit author must match (otherwise Eclipse git server refuses contribution).

All contributions must be referenced from corresponding bugzilla records. The commit message should be prefixed with the bugzilla id following the format :

   bugzillaId : commit message
   

m2e-wtp tests at github

In most cases m2e-wtp core patches will require corresponding regression tests. Changes to m2e-wtp tests repository must be submitted as github pull requests and must be linked to bugzilla record, along with corresponding Gerrit change set.

Back to the top