ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Ws Wiki] Update of "Tuscany/GetTuscany" by RaymondFeng
Date Sat, 04 Mar 2006 02:27:49 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by RaymondFeng:

New page:
=Check out and build Tuscany=

1) Check out the Tuscany source code from the SVN repository

Please make sure you have "svn" client (v1.3) and "maven" (2.0.2) installed and configurated.


1. Create a folder such as "Tuscany_M1".
2. Open a command window and excute the following commands:

> cd Tuscany_M1

> svn co

It will check out the source code from the SVN repository. Depending on your network bandwidth,
it may take several minutes.

2) Build Tuscany using Apache Maven 2

Excute the following commands:

> cd java

> mvn

Maven will then automatically download all the jars, compile, test and build the Tuscany milestone

Important Note:

This is probably not news to you all, but Sun prohibits other organizations from re-hosting
certain library files, and the
maven website documents this:

This affects the tuscany build due to use of the following:


You need to download the following from Sun directly:
  jar:  activation.jar
  jar:  mail.jar

Use the following mvn command-lines to install these into your repo:

> mvn install:install-file -Dfile=activation.jar -DgroupId=javax.activation -DartifactId=activation
-Dversion=1.0.2 -Dpackaging=jar
> mvn install:install-file -Dfile=mail.jar -DgroupId=javax.mail -DartifactId=mail -Dversion=1.3.2

3) Configurate the Eclipse IDE for Tuscany

1. Define a classpath variable "M2_REPO" so that Eclipse can know the path to the local maven
repository . Execute the following command:

> mvn -Declipse.workspace=<path-to-eclipse-workspace> eclipse:add-maven-repo 

2. Generate Eclipse configuration files

> mvn eclipse:eclipse

For more details about the maven eclipse plugin, please refer to the following links:

3. Load Tuscany projects into Eclipse

You can import the project into your eclipse workspace (From the menu bar, select File >Import
>Existing Projects into Workspace). Set the "root directory" to "Tuscany_M1/

java" and Eclipse will discover all the projects. Then select the projects from the list.

4) Configure the IDEA IDE for Tuscany

To generate the IDEA files, please execute the following command:

> mvn idea:idea

For more details, please refer to

View raw message