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 "SCA/SCA Component/SCA Build"

< SCA
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
This page explains how to build and install the SCA Tools project from the sources.
 
This page explains how to build and install the SCA Tools project from the sources.
  
__TOC__
+
If you have the required credentials on build.eclipse.org, another way to build the SCA Tools project is to log in on the [https://build.eclipse.org/hudson/job/stp.sca-tools.trunk/ Eclipse Hudson server], and click 'Build Now' on the left hand side.
 
+
 
+
== Prerequisites ==
+
 
+
You need EMF 2.4, GMF 2.1, Web Developper Tools 3.0, and jdom (for the SCA XML editor).
+
 
+
* Download [http://www.eclipse.org/downloads/packages/eclipse-modeling-tools-includes-incubating-components/ganymeder Eclipse Modeling Tools].
+
* Install it, and start it
+
* Go to the '''Help menu''' > '''Software Updates'''
+
* Select the tab '''Available Software'''
+
* Select '''Ganymede Update Site''' > '''Web and Java EE Development''' > '''Web Developer Tools'''
+
* Click on the '''Install''' button in the upper right corner to start the installation
+
* Then, download and install jdom from [http://download.eclipse.org/tools/orbit/downloads/ Eclipse Orbit web site].
+
  
  
 +
__TOC__
  
 
== How to get the latest SCA Tools code? ==
 
== How to get the latest SCA Tools code? ==
 
* Checkout the SCA Tools code via the SVN.  
 
* Checkout the SCA Tools code via the SVN.  
 
** Anonymous access:  
 
** Anonymous access:  
*** http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca/trunk/ or  
+
*** http://dev.eclipse.org/svnroot/soa/org.eclipse.stp.sca-tools/org.eclipse.stp.sca/trunk/ or  
*** svn://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca/trunk/
+
*** svn://dev.eclipse.org/svnroot/soa/org.eclipse.stp.sca-tools/org.eclipse.stp.sca/trunk/
 
** Checkout the following projects:
 
** Checkout the following projects:
  
 
<table border="1">
 
<table border="1">
<tr><td><center>trunk</center></td><td><center>trunk/samples</center></td><td><center>trunk/features</center></td><td><center>trunk/updatesites</center></td></tr>
+
<tr><td><center>trunk/plugins</center></td><td><center>trunk/features</center></td></tr>
 
<tr>
 
<tr>
 
<td>
 
<td>
* org.eclipse.stp.sca
+
* org.eclipse.stp.sca.osoa
* org.eclipse.stp.sca.common
+
* org.eclipse.soa.sca.core.common
* org.eclipse.stp.sca.diagram
+
* org.eclipse.soa.sca.core.doc
* org.eclipse.stp.diagram.extension
+
* org.eclipse.soa.sca.core.model
* org.eclipse.stp.sca.extension.generator
+
* org.eclipse.soa.sca.core.model.edit
* org.eclipse.stp.sca.extension.generator.ui
+
* org.eclipse.soa.sca.sca1_0.model
* org.eclipse.stp.sca.diagram.frascati
+
* org.eclipse.soa.sca.sca1_0.model.edit
* org.eclipse.stp.sca.tuscany
+
* org.eclipse.soa.sca.sca1_0.diagram
* org.eclipse.stp.sca.doc
+
* org.eclipse.soa.sca.sca1_0.common
* org.eclipse.stp.sca.domainmodel.extension.generator
+
* org.eclipse.soa.sca.sca1_0.runtime.frascati.model
* org.eclipse.stp.sca.domainmodel.frascati
+
* org.eclipse.soa.sca.sca1_0.runtime.frascati.model.edit
* org.eclipse.stp.sca.domainmodel.frascati.edit
+
* org.eclipse.soa.sca.sca1_0.runtime.tuscany.model
* org.eclipse.stp.sca.domainmodel.frascati.editor
+
* org.eclipse.soa.sca.sca1_0.runtime.tuscany.model.edit
* org.eclipse.stp.sca.domainmodel.tuscany
+
* org.eclipse.soa.sca.sca1_1.model
* org.eclipse.stp.sca.domainmodel.tuscany.edit
+
* org.eclipse.soa.sca.sca1_1.model.edit
* org.eclipse.stp.sca.domainmodel.tuscany.editor
+
* org.eclipse.soa.sca.sca1_1.common
* org.eclipse.stp.sca.edit
+
* org.eclipse.soa.sca.sca1_1.runtime.fabric3.model
* org.eclipse.stp.sca.editor
+
* org.eclipse.soa.sca.sca1_1.runtime.fabric3.model.edit
* org.eclipse.stp.sca.implementation.java
+
* org.eclipse.soa.sca.sca1_1.runtime.tuscany.model
* org.eclipse.stp.sca.implementation.sca
+
* org.eclipse.soa.sca.sca1_1.runtime.tuscany.model.edit
* org.eclipse.stp.sca.interfacee.java
+
* org.eclipse.stp.sca.validation
+
* org.eclipse.stp.sca.xmleditor
+
 
</td>
 
</td>
 
<td>
 
<td>
* org.eclipse.stp.sca.examples
+
* org.eclipse.soa.sca.core.feature
* org.eclipse.stp.sca.examples.jdt
+
* org.eclipse.soa.sca.sca1_0.feature
* org.eclipse.stp.sca.samples.restaurant_all
+
* org.eclipse.soa.sca.sca1_1.feature
</td>
+
<td>
+
* org.eclipse.stp.sca.feature
+
</td>
+
<td>
+
* org.eclipse.stp.sca.updatesite
+
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
 +
<br />
 +
You will also need the directories <b>trunk/update-site</b> and <b>trunk/parent</b>.<br />
 +
Also, make sure to get the pom.xml that is at the root of the <b>trunk</b> directory.<br />
 +
The file hierarchy that is in the trunk should be preserved if you want to build SCA Tools with Tycho (Tycho is a Maven extension - plug-in - to build OSGi bundles with Apache Maven).
 +
In fact, in this last case, the best is to checkout the entire <b>trunk</b> directory.
 +
 +
 +
== How to build SCA Tools with PDE? ==
 +
* Click '''File &gt; New &gt; Others...''' and then select '''Plugin Development &gt; Update Site'''
 +
* Follow this creation wizard. It will result in a new file called '''site.xml''' (you can save it in the directory <b>trunk/update-site</b>). Open this file.
 +
* Select the tab '''Site Map'''.
 +
* Click '''Build All'''.
 +
 +
 +
== How to build SCA Tools with Tycho? ==
 +
* Install Maven 3 on your machine.
 +
* Open a command line shell and go into the <b>trunk</b> directory.
 +
* Type in '''mvn clean install''' to build it all.
  
== How to build SCA Tools? ==
+
If you want to skip tests, type in '''mvn -Dskip-ui-tests=true clean install'''.<br />
* Open the file site.xml (project org.eclipse.stp.sca.updatesite)
+
If you want to build SCA Tools for a specific platform (e.g. Indigo), as specified in <b>trunk/parent/pom.xml</b>, type in '''mvn -Dplatform-version-name=indigo clean install'''.
* Select the tab '''Site Map'''
+
* Click '''Build All'''
+
  
  
 
== How to install SCA Tools? ==
 
== How to install SCA Tools? ==
* Go to the '''Help menu''' > '''Software Updates'''
+
* Go to the '''Help menu''' > '''Software Updates'''.
* Select the tab '''Available Software'''
+
* Select the tab '''Available Software'''.
* Click on the '''Add Site...''' button
+
* Click on the '''Add Site...''' button.
* Click on '''Local...''' button
+
* Click on '''Local...''' button.
* Select the file site.xml
+
* Select the file site.xml.
* Click on '''Ok''' button
+
* Click on '''Ok''' button.
* Click on '''Ok''' button
+
* Click on '''Ok''' button.
* Select your local update site > '''SOA Development''' > '''SCA Composite Tools Feature'''
+
* Select your local update site > '''SOA Development''' > '''SCA Composite Tools Feature'''.
* Click on the '''Install''' button in the upper right corner to start the installation
+
* Click on the '''Install''' button in the upper right corner to start the installation.
  
  

Latest revision as of 07:41, 26 May 2011

This page explains how to build and install the SCA Tools project from the sources.

If you have the required credentials on build.eclipse.org, another way to build the SCA Tools project is to log in on the Eclipse Hudson server, and click 'Build Now' on the left hand side.


How to get the latest SCA Tools code?

trunk/plugins
trunk/features
  • org.eclipse.stp.sca.osoa
  • org.eclipse.soa.sca.core.common
  • org.eclipse.soa.sca.core.doc
  • org.eclipse.soa.sca.core.model
  • org.eclipse.soa.sca.core.model.edit
  • org.eclipse.soa.sca.sca1_0.model
  • org.eclipse.soa.sca.sca1_0.model.edit
  • org.eclipse.soa.sca.sca1_0.diagram
  • org.eclipse.soa.sca.sca1_0.common
  • org.eclipse.soa.sca.sca1_0.runtime.frascati.model
  • org.eclipse.soa.sca.sca1_0.runtime.frascati.model.edit
  • org.eclipse.soa.sca.sca1_0.runtime.tuscany.model
  • org.eclipse.soa.sca.sca1_0.runtime.tuscany.model.edit
  • org.eclipse.soa.sca.sca1_1.model
  • org.eclipse.soa.sca.sca1_1.model.edit
  • org.eclipse.soa.sca.sca1_1.common
  • org.eclipse.soa.sca.sca1_1.runtime.fabric3.model
  • org.eclipse.soa.sca.sca1_1.runtime.fabric3.model.edit
  • org.eclipse.soa.sca.sca1_1.runtime.tuscany.model
  • org.eclipse.soa.sca.sca1_1.runtime.tuscany.model.edit
  • org.eclipse.soa.sca.core.feature
  • org.eclipse.soa.sca.sca1_0.feature
  • org.eclipse.soa.sca.sca1_1.feature


You will also need the directories trunk/update-site and trunk/parent.
Also, make sure to get the pom.xml that is at the root of the trunk directory.
The file hierarchy that is in the trunk should be preserved if you want to build SCA Tools with Tycho (Tycho is a Maven extension - plug-in - to build OSGi bundles with Apache Maven). In fact, in this last case, the best is to checkout the entire trunk directory.


How to build SCA Tools with PDE?

  • Click File > New > Others... and then select Plugin Development > Update Site
  • Follow this creation wizard. It will result in a new file called site.xml (you can save it in the directory trunk/update-site). Open this file.
  • Select the tab Site Map.
  • Click Build All.


How to build SCA Tools with Tycho?

  • Install Maven 3 on your machine.
  • Open a command line shell and go into the trunk directory.
  • Type in mvn clean install to build it all.

If you want to skip tests, type in mvn -Dskip-ui-tests=true clean install.
If you want to build SCA Tools for a specific platform (e.g. Indigo), as specified in trunk/parent/pom.xml, type in mvn -Dplatform-version-name=indigo clean install.


How to install SCA Tools?

  • Go to the Help menu > Software Updates.
  • Select the tab Available Software.
  • Click on the Add Site... button.
  • Click on Local... button.
  • Select the file site.xml.
  • Click on Ok button.
  • Click on Ok button.
  • Select your local update site > SOA Development > SCA Composite Tools Feature.
  • Click on the Install button in the upper right corner to start the installation.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.