Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Code Block
   mvn -Peclipse

Configure TUSCANY_HOME pointing to where Tuscany distribution is available

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

...

-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

Image Added

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

Code Block

org.oasis.sca.tests.assembly.contribution.location=../%1/target/%1.zip