summaryrefslogtreecommitdiffstats
path: root/sandbox/ant/sca/branches/2.0-M2/BUILDING
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-21 09:19:18 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-03-21 09:19:18 +0000
commit7d98f0821539f81d371d9be38a0bd1e4650d8cd0 (patch)
tree5f9ab8337433d17b442218363434db9dc257eae4 /sandbox/ant/sca/branches/2.0-M2/BUILDING
parent66a17df37a77f19254380cd7e29f454148fc44d6 (diff)
[maven-release-plugin] copy for branch 2.0-M2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@756900 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/ant/sca/branches/2.0-M2/BUILDING')
-rw-r--r--sandbox/ant/sca/branches/2.0-M2/BUILDING56
1 files changed, 56 insertions, 0 deletions
diff --git a/sandbox/ant/sca/branches/2.0-M2/BUILDING b/sandbox/ant/sca/branches/2.0-M2/BUILDING
new file mode 100644
index 0000000000..00eaddbaff
--- /dev/null
+++ b/sandbox/ant/sca/branches/2.0-M2/BUILDING
@@ -0,0 +1,56 @@
+Building the Apache Tuscany SCA 2.0-M1 February 2009 Release source distribution
+=======================================================================================
+
+Initial Setup
+-------------
+
+1) Install J2SE 5.0 SDK, which can be downloaded from
+ http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher.
+
+2) Make sure that your JAVA_HOME environment variable is set to the newly installed
+ JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or
+ $JAVA_HOME$/bin (unix).
+
+3) Install Maven 2.0.7 or higher, which can be downloaded from
+ http://maven.apache.org/download.html. Make sure that your PATH includes
+ the MVN_HOME/bin directory.
+
+4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more),
+ you can manually do this by executing the following in your prompt :
+ Windows users:
+ set MAVEN_OPTS=-Xmx128M
+ Unix users:
+ export MAVEN_OPTS=-Xmx128M
+
+
+Building
+--------
+
+1) Change to the top level directory of Apache Tuscany source distribution.
+2) Run
+
+ $> mvn -Psetup
+ $> mvn
+
+ This will compile Apache Tuscany and run all of the tests in the source
+ distribution.
+
+ Depending on the load of remote Maven 2.0 repositories, you may have
+ to run "mvn" several times utill the required dependencies are
+ all located in your local maven repository. It usually takes some time for
+ maven to download required dependencies in the first build. Once all the
+ dependencies have been downloaded you may use the -o option to run maven
+ in offline mode, for example, 'mvn clean install -o'.
+
+
+Building the distributions
+--------------------------
+
+1) Change to the distribution folder
+2) Run
+
+ $> mvn
+
+ This will build the binary and source distribution with .zip and .gz
+ formats in the distribution/target directory.
+