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
(How to get the latest SCA Tools code?)
Line 5: Line 5:
  
 
__TOC__
 
__TOC__
 
 
== 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].
 
 
 
  
 
== How to get the latest SCA Tools code? ==
 
== How to get the latest SCA Tools code? ==
Line 26: Line 11:
 
*** http://dev.eclipse.org/svnroot/soa/org.eclipse.stp.sca-tools/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/soa/org.eclipse.stp.sca-tools/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.capabilities
+
* org.eclipse.soa.sca.core.common
* org.eclipse.stp.sca.common
+
* org.eclipse.soa.sca.core.doc
* org.eclipse.stp.sca.common.java
+
* org.eclipse.soa.sca.core.model
* org.eclipse.stp.sca.compositeshell
+
* org.eclipse.soa.sca.core.model.edit
* org.eclipse.stp.sca.deployment
+
* org.eclipse.soa.sca.sca1_0.model
* org.eclipse.stp.sca.diagram
+
* org.eclipse.soa.sca.sca1_0.model.edit
* org.eclipse.stp.sca.diagram.extension
+
* org.eclipse.soa.sca.sca1_0.diagram
* org.eclipse.stp.sca.diagram.java
+
* org.eclipse.soa.sca.sca1_0.common
* org.eclipse.stp.sca.diagram.frascati
+
* org.eclipse.soa.sca.sca1_0.runtime.frascati.model
* org.eclipse.stp.sca.diagram.tuscany
+
* org.eclipse.soa.sca.sca1_0.runtime.frascati.model.edit
* org.eclipse.stp.sca.doc
+
* org.eclipse.soa.sca.sca1_0.runtime.tuscany.model
* org.eclipse.stp.sca.domainmodel.frascati
+
* org.eclipse.soa.sca.sca1_0.runtime.tuscany.model.edit
* org.eclipse.stp.sca.domainmodel.frascati.edit
+
* org.eclipse.soa.sca.sca1_1.model
* org.eclipse.stp.sca.domainmodel.frascati.editor
+
* org.eclipse.soa.sca.sca1_1.model.edit
* org.eclipse.stp.sca.domainmodel.tuscany
+
* org.eclipse.soa.sca.sca1_1.common
* org.eclipse.stp.sca.domainmodel.tuscany.edit
+
* org.eclipse.soa.sca.sca1_1.runtime.fabric3.model
* org.eclipse.stp.sca.domainmodel.tuscany.editor
+
* org.eclipse.soa.sca.sca1_1.runtime.fabric3.model.edit
* org.eclipse.stp.sca.edit
+
* org.eclipse.soa.sca.sca1_1.runtime.tuscany.model
* org.eclipse.stp.sca.editor
+
* org.eclipse.soa.sca.sca1_1.runtime.tuscany.model.edit
* org.eclipse.stp.sca.introspection
+
* org.eclipse.stp.sca.introspection.ui
+
* org.eclipse.stp.sca.ontology.view
+
* org.eclipse.stp.sca.ontology.view.jena2
+
* org.eclipse.stp.sca.osoa.java
+
* org.eclipse.stp.sca.semantic.sawsdl
+
* org.eclipse.stp.sca.semantic.sawsdl.edit
+
* org.eclipse.stp.sca.semantic.sawsdl.properties
+
* org.eclipse.stp.sca.validation
+
* org.eclipse.stp.sca.validation.frascati
+
* 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.java
+
* org.eclipse.soa.sca.sca1_0.feature
* org.eclipse.stp.sca.samples.restaurant_all
+
* org.eclipse.soa.sca.sca1_1.feature
* org.eclipse.stp.sca.samples.weather_all
+
</td>
+
<td>
+
* org.eclipse.stp.sca.feature
+
* org.eclipse.stp.sca.feature.frascati
+
* org.eclipse.stp.sca.feature.semantic
+
* org.eclipse.stp.sca.feature.tuscany
+
* org.eclipse.stp.sca.feature.xmleditor
+
</td>
+
<td>
+
* org.eclipse.stp.sca.updatesite
+
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
  
== How to build SCA Tools? ==
+
<br />
* Open the file site.xml (project org.eclipse.stp.sca.updatesite)
+
You will also need the directories <b>trunk/update-site</b> and <b>trunk/parent</b>.<br />
* Select the tab '''Site Map'''
+
Also, make sure to get the pom.xml that is at the root of the <b>trunk</b> directory.<br />
* Click '''Build All'''
+
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? ==
 +
* Open the file site.xml (from the directory <b>trunk/update-site</b>).
 +
* 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.
 +
 
 +
If you want to skip tests, type in '''mvn -Dskip-ui-tests=true clean install'''.<br />
 +
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'''.
  
  
 
== 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.
  
  

Revision as of 08:58, 13 April 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?

    • Checkout the following projects:
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?

  • Open the file site.xml (from the directory trunk/update-site).
  • 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.

Back to the top