Differences between revisions 7 and 8
Revision 7 as of 2006-07-28 19:32:21
Size: 1999
Editor: bi01p1
Revision 8 as of 2009-09-20 22:48:28
Size: 1999
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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.

Maven: http://maven.apache.org SVN: http://subversion.tigris.org/

Open a command window and create a folder such as "Tuscany".

> md Tuscany

> cd Tuscany

> svn co http://svn.apache.org/repos/asf/incubator/tuscany/java

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 driver.

3. Configure 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 -Peclipse eclipse:eclipse

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

http://maven.apache.org/guides/mini/guide-ide-eclipse.html http://maven.apache.org/plugins/maven-eclipse-plugin/.

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 http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html.

Tuscany/TuscanyJava/GetTuscany (last edited 2009-09-20 22:48:28 by localhost)