From 200a40b332420f94992eb39a6d0ea1cf1490ffc4 Mon Sep 17 00:00:00 2001 From: coreyg Date: Fri, 21 Nov 2014 09:30:19 +0000 Subject: Adding tuscany's website to their svn repo for svnpubsub git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1640879 13f79535-47bb-0310-9956-ffa450edef68 --- site/trunk/site-publish/building-from-svn.html | 175 +++++++++++++++++++++++++ 1 file changed, 175 insertions(+) create mode 100644 site/trunk/site-publish/building-from-svn.html (limited to 'site/trunk/site-publish/building-from-svn.html') diff --git a/site/trunk/site-publish/building-from-svn.html b/site/trunk/site-publish/building-from-svn.html new file mode 100644 index 0000000000..24680df594 --- /dev/null +++ b/site/trunk/site-publish/building-from-svn.html @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + Apache Tuscany : Building From SVN + + + + + + + + + + + + + + + +
+ + + + +   + +
+ + +
+
+ + + + + + + + + +
+  Apache Tuscany > Home > SDO Overview > SDO Java > Developing SDO Java > Building From SVN + + User List | Dev List | Issue Tracker   +
+ + + + + + + +
+ + +
+ +
+
+

How to Build

+

Set up your environment using the instructions for building the whole of Tuscany, but only download and install Java 5, Maven and Svn (note that only one file, Interface2JavaGenerator.java, has a Java 5 dependency, if you want to work with Java 1.4.2 then just delete this file before building).

+ +

Make sure 'mvn' and 'svn' commands are in your PATH environment variable.

+ +

Check out the SDO open source projects from Apache.
+
+md <local tuscany dir>
+cd <local tuscany dir>
+svn co -N https://svn.apache.org/repos/asf/incubator/tuscany/java
+cd java
+svn up sdo
+svn up -N spec
+cd spec
+svn up sdo-api

+ +

Run "mvn" under <local tuscany dir>/java directory to install POM files from the root project to the local repository

+ +


+cd <local tuscany dir>/java
+mvn -N
+cd spec
+mvn -N
+cd ../sdo
+mvn -N (alternatively, run without the -N option - see Note below)

+ +

You can now build SDO project as a whole or build the individual SDO subprojects.

+

Build SDO project

+

This step builds all subprojects in the source tree at once
+
+mvn in <local tuscany dir>/java/sdo

+ +

If the mvn command completed successfully, you will see BUILD SUCCESSFUL in the output and the results of compilation will be available in jar files created under directories named "target" directly under the root directories of the projects. These jar files are also installed into your local maven repository ($HOME/.m2/repository) and are available as inputs to later build operations.

+ +

Maven fetches external resources required for a build process from the internet. These resources are at times unavailable. It may be necessary to run "mvn" again at a later time.

+ +

If you are taking time to reply to firewall prompts, this can cause some requests to time out. Set up the firewall to permit the action without prompting.

+ +

Build sub projects of SDO individually

+ +

Build sdo.spec project

+ +


+cd <local tuscany dir>/java/spec/sdo-api
+mvn
+mvn -Peclipse eclipse:eclipse (optional: Run this command if you are using Eclipse for development.)

+ +

Build sdo.impl project
+
+cd <local tuscany dir>/java/sdo/impl
+mvn
+mvn -Peclipse eclipse:eclipse (optional: Run this command if you are using Eclipse for development.)

+ +

Build sdo.tools project
+
+cd <local tuscany dir>/java/sdo/tools
+mvn
+mvn -Peclipse eclipse:eclipse (optional: Run this command if you are using Eclipse for development.)

+ +

Build sdo.samples project
+
+cd <local tuscany dir>/java/sdo/sample
+mvn
+mvn -Peclipse eclipse:eclipse (optional: Run this command if you are using Eclipse for development.)

+
+
+
+ + +
+ + + + + + website stats + + + + + + -- cgit v1.2.3