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: http://wiki.apache.org/ws/Tuscany/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/ 1. Create a folder such as "Tuscany_M1". 2. Open a command window and excute the following commands: > cd Tuscany_M1 > 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. 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: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html This affects the tuscany build due to use of the following: javax.activation javax.mail You need to download the following from Sun directly: jaf-1_0_2-upd2.zip url: http://java.sun.com/products/javabeans/glasgow/jaf.html jar: activation.jar javamail-1_3_3_01.zip url: http://java.sun.com/products/javamail/downloads/index.html 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 -Dpackaging=jar 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: 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.
