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 "LDT/Developer Area/Building LDT from source"

< LDT
(Building a p2 repository)
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 cd into the root folder of the LDT source tree you've cloned earlier.
 
* Use your terminal of choice to cd into the root folder of the LDT source tree you've cloned earlier.
* Run <code>mvn clean package</code>
+
* Run <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] ------------------------------------------------------------------------
Line 18: Line 18:
 
  [INFO] Final Memory: 104M/213M
 
  [INFO] Final Memory: 104M/213M
 
  [INFO] ------------------------------------------------------------------------
 
  [INFO] ------------------------------------------------------------------------
* The built artifact that'll interest you most is contained in <code>repository/target/repository</code> ; 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.
+
* The built artifact that'll interest you most is contained in <code>features/org.eclipse.koneki.ldt-feature/target</code> ; 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.
  
 
= Building a standalone product =
 
= Building a standalone product =

Revision as of 14:00, 11 October 2012

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

Building a p2 repository

  • 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-product
  • 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] ------------------------------------------------------------------------
  • The built artifact that'll interest you most is contained in features/org.eclipse.koneki.ldt-feature/target ; 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.

Building a standalone product

Product build is not active by default.

  • In order to build the RCP versions (win32/64, mac64, linux32/64) of LDT in addition to the plugins, features, and p2 repository, you need to perform mvn clean package -P build-product,platform-indigo.

Back to the top