
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@832144 13f79535-47bb-0310-9956-ffa450edef68
47 lines
1.6 KiB
Text
47 lines
1.6 KiB
Text
Building the Apache Tuscany DAS beta1
|
|
=====================================
|
|
|
|
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.
|
|
|
|
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.5, which can be downloaded from http://maven.apache.org/download.html.
|
|
Make sure that your PATH includes the MVN_HOME/bin directory.
|
|
|
|
|
|
Building
|
|
--------
|
|
|
|
1) Change to the top level directory to Apache Tuscany source distribution.
|
|
2) Run
|
|
|
|
$> mvn
|
|
|
|
This will compile Apache Tuscany DAS 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 top level directory to Apache Tuscany source distribution.
|
|
2) If you haven't run a complete build, please follow the steps above
|
|
3) Run
|
|
|
|
$> mvn -Pdistribution
|
|
|
|
This will build the binary and source distribution with .zip and .gz
|
|
formats in the distribution/target directory.
|