You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2006/05/12 11:09:28 UTC
[Ws Wiki] Update of "Tuscany/TuscanyJava/GetTuscany" by edslattery
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 edslattery:
http://wiki.apache.org/ws/Tuscany/TuscanyJava/GetTuscany
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.
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 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.