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.
M2E-WTP-Dev Environment
Revision as of 14:14, 29 December 2012 by Fbricon.gmail.com (Talk | contribs)
M2E-WTP | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
Clone m2e-wtp and m2e-wtp-tests
- Clone the m2e-wtp core repository. Committers should use ssh://YOUR_COMMITTERID@git.eclipse.org/gitroot/m2e-wtp/org.eclipse.m2e.wtp.git. For read-only access use either git://git.eclipse.org/gitroot/m2e-wtp/org.eclipse.m2e.wtp.git or http://git.eclipse.org/gitroot/m2e-wtp/org.eclipse.m2e.wtp.git.
- Clone the m2e-wtp-tests repository. Developers should use git@github.com:jbosstools/m2e-wtp-tests.git. For read-only access use either git://github.com/jbosstools/m2e-wtp-tests.git or http://github.com/jbosstools/m2e-wtp-tests.git.
Build m2e-wtp within Eclipse
- Download and unpack the Eclipse Juno JavaEE distribution http://download.eclipse.org/eclipse/downloads/ (Indigo is expected to work).
- Install m2e 1.2 from http://download.eclipse.org/technology/m2e/releases/, including the semi-hidden m2e SDK feature (uncheck "Group items by category" to see it).
- Install commons-io 2.0.1 from the Orbit repository http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/ [Required to build the test projects]
- Install the mavenarchiver plugin from m2e's discovery catalog : Window > Preferences > Maven > Discovery > Open Catalog...
- import m2e-wtp as "Existing Maven project". Follow onscreen instructions, allow m2e to install additional software and restart eclipse when requested.
- import m2e-wtp-tests as "Existing Maven project".
Build m2e-wtp via command line
- Download and install maven 3.0.4 from http://maven.apache.org/download.html
- Open a command shell, navigate under m2e-wtp's directory and type :
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