summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-08 14:00:54 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-10-08 14:00:54 +0000
commitddbb4f63543d174a9cbe71ef623f95dfffdd020e (patch)
tree1610f1fcff1cc26c9aec0e009fec7e509c083775 /sca-java-2.x/trunk
parent735ebe33494ceab9b8e18412aa7c5dfa06f2c24c (diff)
Make it work with OSGi in distro. Needs more work to depend on osgi-runtime.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1005833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/samples/running-tuscany/embedded-osgi/build.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/samples/running-tuscany/embedded-osgi/build.xml b/sca-java-2.x/trunk/samples/running-tuscany/embedded-osgi/build.xml
index edc930f6f8..317ae7de36 100644
--- a/sca-java-2.x/trunk/samples/running-tuscany/embedded-osgi/build.xml
+++ b/sca-java-2.x/trunk/samples/running-tuscany/embedded-osgi/build.xml
@@ -19,7 +19,6 @@
<project name="launcher-embedded-osgi" default="run">
<property name="tuscany.home" value="../../.."/>
<property name="jar.name" value="sample-launcher-embedded-osgi.jar" />
- <property name="main.class" value="launcher.SampleJSELauncher" />
<echo>${tuscany.home}</echo>
@@ -41,6 +40,11 @@
<fileset dir="${tuscany.home}/lib">
<include name="tuscany-base-*.jar" />
</fileset>
+ <fileset dir="${tuscany.home}/modules">
+ <include name="tuscany-node-api-*.jar" />
+ <include name="tuscany-sca-api-*.jar" />
+ <include name="tuscany-node-launcher-equinox-*.jar" />
+ </fileset>
</classpath>
</javac>
<jar destfile="target/${jar.name}" basedir="target/classes">
@@ -56,7 +60,7 @@
</target>
<target name="run-contribution-binding-sca-calculator" depends="compile">
- <java classname="${main.class}"
+ <java classname="launcher.SampleOSGILauncherBindingSCA"
fork="true"
failonerror="true">
<classpath>