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 --- ...ing-oasis-spec-tests-in-a-osgi-environment.html | 200 +++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100644 site/trunk/site-publish/documentation-2x/running-oasis-spec-tests-in-a-osgi-environment.html (limited to 'site/trunk/site-publish/documentation-2x/running-oasis-spec-tests-in-a-osgi-environment.html') diff --git a/site/trunk/site-publish/documentation-2x/running-oasis-spec-tests-in-a-osgi-environment.html b/site/trunk/site-publish/documentation-2x/running-oasis-spec-tests-in-a-osgi-environment.html new file mode 100644 index 0000000000..5eef0eff33 --- /dev/null +++ b/site/trunk/site-publish/documentation-2x/running-oasis-spec-tests-in-a-osgi-environment.html @@ -0,0 +1,200 @@ + + + + + + + + + + + + + + + Running OASIS Spec Tests in a OSGi environment : Apache Tuscany + + + + + + + + + + + +
+ HomeApache Tuscany Docs 2.x > Index > Development Guides > Running OASIS Spec Tests in a OSGi environment + +
+ + + + + + +
+
+ + + + + + + + +
+  Apache Tuscany Docs 2.x > Index > Development Guides > Running OASIS Spec Tests in a OSGi environment + + Tuscany Home | User List | Dev List | Issue Tracker   +
+ + + + + + +
+
Table of Contents
+
+ + +
+
+ +
+ + +
+
+

The OASIS SCA Spec Tests are designed to run in a OSGi environment and below are some configuration necessary to properly import/run/debug the tests in Eclipse PDE environment

+ +

Generate Eclipse IDE project files

+ +
+
+   mvn -Peclipse
+
+
+ +

To facilitate debug, use the following commands:

+ +

1) To generate sources for the Tuscany 2.x modules

+
+
+mvn source:jar under sca-java-2.x/trunk/modules
+
+
+

2)To download source files, please use the following command

+
+
+mvn -Peclipse -DdownloadSources=true
+
+
+ +

Configure TUSCANY_HOME pointing to where Tuscany distribution is available

+ +
+
+   export TUSCANY_HOME=<tuscany checkout>/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT
+
+
+ +

Optionally, you could also configure this as an VM argument on the Eclipse run configuration

+ +

-DTUSCANY_HOME=/Users/lresende/opensource/apache/tuscany/java-sca-2.x/distribution/all/target/apache-tuscany-sca-all-2.0-SNAPSHOT.dir/tuscany-sca-2.0-SNAPSHOT

+ +

+ +

Configure contribution location

+ +

There are various files containing the contribution location necessary to run the tests, these files are:

+ +

sca-assembly/Test_Client/src/main/resources/oasis-sca-tests.properties
+sca-java-caa/Test_Client_JavaCAA/src/main/resources/oasis-sca-tests.properties
+sca-java-ci/Test_Client_JavaPOJO/src/main/resources/oasis-sca-tests.properties
+sca-policy/Test_Client/src/main/resources/oasis-sca-tests.properties

+ +

although it's currently configured with a relative path, you might need to configure the location based on your system

+ +
+
+org.oasis.sca.tests.assembly.contribution.location=../%1/target/%1.zip
+
+
+ + + + + +
+ +
+
+
+ + + + + + + +
+ + + \ No newline at end of file -- cgit v1.2.3