Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "LDT/Developer Area/Building LDT from source"
< LDT
m (Maubry.sierrawireless.com moved page Koneki/LDT/Developer Area/Building LDT from source to LDT/Developer Area/Building LDT from source) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
= Checking out the source code = | = Checking out the source code = | ||
− | * Clone the repository <code>git://git.eclipse.org/gitroot/ | + | * Clone the repository <code>git://git.eclipse.org/gitroot/ldt/org.eclipse.ldt.git</code> |
= Building the source code = | = Building the source code = | ||
Line 9: | Line 9: | ||
* Verify that you have installed Maven 3 properly on your system. See http://maven.apache.org/download.html to get it if you don't have it already. | * Verify that you have installed Maven 3 properly on your system. See http://maven.apache.org/download.html to get it if you don't have it already. | ||
* Use your terminal of choice to <code>cd</code> into the root folder of the LDT source tree you've cloned earlier. | * Use your terminal of choice to <code>cd</code> into the root folder of the LDT source tree you've cloned earlier. | ||
− | * Run <code>mvn clean package -P build-product</code> | + | * Run <code>mvn clean package -P build-source,build-product</code> |
− | ** It is possible to build against an older Eclipse platform. As instance, if you want to build with '' | + | ** It is possible to build against an older Eclipse platform. As instance, if you want to build with ''Kepler'', run: <br/><code>mvn clean package -P build-source,build-product,platform-kepler</code> |
+ | ** It is possible to build only the product, but only against a platform that contain LDT plugins, run: <br/><code>mvn clean package -P build-product</code> | ||
* It may take quite a while when running for the first time, but you should end up with a message similar to the following, indicating that everything went well: | * It may take quite a while when running for the first time, but you should end up with a message similar to the following, indicating that everything went well: | ||
[INFO] ------------------------------------------------------------------------ | [INFO] ------------------------------------------------------------------------ |
Latest revision as of 05:51, 11 September 2014
If you are experimenting with Lua Development Tools source code, you'll certainly be interested in building it by yourself.
Checking out the source code
- Clone the repository
git://git.eclipse.org/gitroot/ldt/org.eclipse.ldt.git
Building the source code
- Verify that you have installed Maven 3 properly on your system. See http://maven.apache.org/download.html to get it if you don't have it already.
- Use your terminal of choice to
cd
into the root folder of the LDT source tree you've cloned earlier. - Run
mvn clean package -P build-source,build-product
- It is possible to build against an older Eclipse platform. As instance, if you want to build with Kepler, run:
mvn clean package -P build-source,build-product,platform-kepler
- It is possible to build only the product, but only against a platform that contain LDT plugins, run:
mvn clean package -P build-product
- It is possible to build against an older Eclipse platform. As instance, if you want to build with Kepler, run:
- It may take quite a while when running for the first time, but you should end up with a message similar to the following, indicating that everything went well:
[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 25:01.483s [INFO] Finished at: Sun Apr 01 14:02:19 CEST 2012 [INFO] Final Memory: 104M/213M [INFO] ------------------------------------------------------------------------
Build results
They are two kinds of results from the build, repository and product:
- Products
- RCP versions for win32/64, mac64 and linux32/64
- Available under
product/target/products/
.
- P2 repository
- It is a complete p2 repository including your freshly built version of LDT. You can reference this p2 repository location in an Eclipse installation and actually install LDT.
- Available under
product/target/repository/
.