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 "Data Tools Platform Project/Build"
Line 6: | Line 6: | ||
# Start with a clean folder, which we will call ROOT | # Start with a clean folder, which we will call ROOT | ||
− | # Clone all [http://git.eclipse.org/c/datatools/ DTP Git repos] into ROOT, such that each repo has it's own sub-folder named using the repository name | + | # Clone all [http://git.eclipse.org/c/datatools/ DTP Git repos], except org.eclipse.datatools.incubator.git into ROOT, such that each repo has it's own sub-folder named using the repository name |
# Ensure that you have Ant installed and it's on the path (the official build uses Ant 1.9.2) | # Ensure that you have Ant installed and it's on the path (the official build uses Ant 1.9.2) | ||
# Ensure that you have JDK 8 installed and it's on the path to run the build | # Ensure that you have JDK 8 installed and it's on the path to run the build |
Latest revision as of 18:17, 10 January 2017
The official DTP builds are produced by an Eclipse Foundation's Hudson instance.
https://hudson.eclipse.org/datatools/
To build DTP locally, following these steps:
- Start with a clean folder, which we will call ROOT
- Clone all DTP Git repos, except org.eclipse.datatools.incubator.git into ROOT, such that each repo has it's own sub-folder named using the repository name
- Ensure that you have Ant installed and it's on the path (the official build uses Ant 1.9.2)
- Ensure that you have JDK 8 installed and it's on the path to run the build
- Set JDK_8_HOME environment variables
- Ensure that you have a network connection as the build will need to download items to build the target platform
- Run "ant dev-build" from ROOT/org.eclipse.datatools.build/releng.new (we will call this folder RELENG)
Once the build completes, you will have the following artifacts:
- RELENG/build/repository - the p2 repo
- RELENG/build/packages - the zipped copy of the p2 repo
- RELENG/dev-eclipse - an Eclipse install with everything necessary to work on DTP
- RELENG/dev-target - an Eclipse install with DTP and source bundles for everything