Sorry. I was not starting from scratch and the dependencies were found in my local repository.

Jean-Sebastien Delfino wrote:

Thanks Kevin,

Are you able to build the SCA tools project? Running maven from contrib/java/trunk doesn't work for me. Maven tries to build contrib/java/trunk/tools and fails to download some dependencies that we had in our previous collabnet repository but are not available on ibiblio. Somebody needs to adjust the build of the tools project like I did for the runtime projects.

Kevin Williams wrote:

Thanks Sebastien,

Tuscany builds and the unit/acceptance tests all run successfully on Windows. There is a typo in step #4. It should read ... "4. Run maven from *contrib/java/trunk/das/rdb*. This will build the Data Access Service runtime. " You can also run "maven" from contrib/java/trunk rather than independently building and testing each subproject.

--Kevin



Jean-Sebastien Delfino wrote:

I made some changes under revision rl367135 to get our build working again. Here's what you need to do to build the Tuscany SCA runtime under contrib/java/trunk, build the samples and run our acceptance/integration test suite.

Prerequisites:
JDK 1.5
Maven 1.1 beta 2
Ant 1.6.5

I tested the following steps on Linux but they should work on Windows and Mac OS X as well.

1. Download the following JARs to your Maven local repository. This is temporary, our SCA runtime currently depends on these JARs (SDO 1.0/EMF from Eclipse, WSDL and XSD models) and they are only available in a Maven 2 repository. Maven 1.1 won't understand the Maven 2 repository layout so you need to download them by hand (and additionally rename some of them). I'll start a different thread to discuss where/how we can make these dependencies available in a Maven 1 repository.

http://www.ibiblio.org/maven2/org/eclipse/emf/commonj-sdo/2.1.0/commonj-sdo-2.1.0.jar to .maven/repository/commonj/jars/commonj-sdo-2.10 http://www.ibiblio.org/maven2/org/eclipse/emf/common/2.1.0/common-2.1.0.jar to .maven/repository/eclipse/jars/emf-common-2.1.0.jar http://www.ibiblio.org/maven2/org/eclipse/emf/ecore/2.1.0/ecore-2.1.0.jar to .maven/repository/eclipse/jars/emf-ecore-2.1.0.jar http://www.ibiblio.org/maven2/org/eclipse/emf/ecore-change/2.1.0/ecore-change-2.1.0.jar to .maven/repository/eclipse/jars/emf-ecore-change-2.1.0.jar http://www.ibiblio.org/maven2/org/eclipse/emf/ecore-sdo/2.1.1/ecore-sdo-2.1.1.jar to .maven/repository/eclipse/jars/emf-ecore-sdo-2.1.1.jar http://www.ibiblio.org/maven2/org/eclipse/emf/ecore-xmi/2.1.0/ecore-xmi-2.1.0.jar to .maven/repository/eclipse/jars/emf-ecore-xmi-2.1.0.jar http://www.ibiblio.org/maven2/org/eclipse/wtp/wsdl/1.0.0/wsdl-1.0.0.jar to .maven/repository/eclipse/jars/wsdl-1.0.0.jar http://www.ibiblio.org/maven2/org/eclipse/xsd/xsd/2.1.1/xsd-2.1.1.jar to .maven/repository/eclipse/jars/xsd-2.1.1.jar

2. Run maven from the contrib/java/trunk/spec/sca directory. This will build the SCA spec API jar.

3. Run maven from the contrib/java/trunk/runtime directory. This will build the sub-projects under runtime, including the SCA assembly model, the core runtime, support for Java components and SOAP Web Services using Axis, and our integration with Tomcat.

4. Run maven from contrib/java/trunk/runtime/das/rdb. This will build the Data Access Service runtime.

5. Run maven from contrib/java/trunk/samples. This will build the SCA samples. At this point you should be able to run the samples by following the instructions in their readme.htm, but the acceptance test suite runs most of them automatically for you.

6. Open contrib/java/trunk/acceptance/readme.htm and follow the instructions to set up the acceptance test suite, basically you need to download apache-tomcat-5.5.12.tar.gz (or .zip on windows) into the acceptance directory.

7. Run maven from contrib/java/trunk/acceptance. This will build the acceptance tests, expand and configure Tomcat with the SCA runtime, deploy the test apps, start Tomcat, and finally run the tests.

8. The acceptance test build will have deployed some of the sample apps to Tomcat. If you want to play around with them just point your Web Browser to http://localhost:8080/tuscany-samples-helloworldWEB/ or http://localhost:8080/tuscany-samples-bigbank-webclient/ for example.

I hope this helps. Please let us know if you run into any problems.

Next... We also need to get the SCA tools under contrib/java/trunk/tools and the SDO 2.0 projects under contrib/java/sandbox/sdo to build again. Does anybody in the group want to volunteer to fix these as well?








Reply via email to