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.
Difference between revisions of "Jetty/Contributor/Building"
< Jetty | Contributor
(→Build) |
|||
Line 22: | Line 22: | ||
==Build== | ==Build== | ||
− | Jetty uses [http://maven.apache.org Apache Maven] for managing its build and primary project metadata. | + | Jetty uses [http://maven.apache.org Apache Maven 2.x] for managing its build and primary project metadata. |
− | Building Jetty should simply be a matter of changing into the relevant directory and | + | Building Jetty should simply be a matter of changing into the relevant directory and executing the following commands: |
+ | svn co http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk /my_work_dir/jetty | ||
+ | cd /my_work_dir/jetty | ||
mvn install | mvn install | ||
Revision as of 21:40, 23 July 2009
Contents
Source Control
Jetty uses a few of different development trunks for its artifacts.
Primary Interest SCMURLs
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk
- Jetty7 development trunk
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/branches/jetty-8
- Jetty8 development trunk
Build and Project Infrastructure SCMURLs
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty-parent/trunk
- Administrative pom.xml file
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty-toolchain/trunk
- Build related artifacts that release separately, common assembly descriptors, remote resources, etc.
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/sandbox/trunk
- Non-mainline project development, working area for experimentation, etc
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty-update-site/trunk
- Project definition for generating an eclipse p2 update site
- http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/admin
- Files associated with the development of Jetty -- code styles, formatting, etc.
Build
Jetty uses Apache Maven 2.x for managing its build and primary project metadata.
Building Jetty should simply be a matter of changing into the relevant directory and executing the following commands:
svn co http://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk /my_work_dir/jetty cd /my_work_dir/jetty mvn install
All relevant dependencies will be downloaded into your local repository automatically.
Building with Eclipse
This section remains to be written, but is basically a matter of installing m2eclipse for an equivalent eclipse plugin and importing the maven project.