diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-21 01:20:01 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-03-21 01:20:01 +0000 |
commit | 77137e309087bf11f67e8d05f4de189bfaeb305f (patch) | |
tree | b5d5f8cc4ce7bc63a54f935a664773ce2943cdb6 /sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart | |
parent | 707f8606ef12303e2a7eff05dcb4db905ea3e950 (diff) |
Change jumpstart launcher so that it doesn't use LauncherUtil (TUSCANY-3508)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@925711 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart')
3 files changed, 2 insertions, 18 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/build.xml b/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/build.xml index 5da2b075b6..b7aead4d1c 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/build.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/build.xml @@ -19,15 +19,11 @@ <project name="scatours-launcher-jumpstart" default="compile">
<import file="../../antdefs.xml"/>
- <path id="compile-path">
- <pathelement path="../../util/launcher-common/target/scatours-util-launcher-common.jar"/>
- </path>
<target name="run">
<java classname="scatours.JumpstartLauncher" fork="true" failonerror="true">
<classpath>
<pathelement location="target/${ant.project.name}.jar"/>
- <path refid="compile-path"/>
<pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>
</classpath>
</java>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/pom.xml index 133ed2a0b7..c5f50cb8df 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/pom.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/pom.xml @@ -29,14 +29,6 @@ <name>Apache Tuscany SCA Tours Jump Start Launcher</name>
<dependencies>
-
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>scatours-util-launcher-common</artifactId>
- <version>${pom.version}</version>
- <scope>provided</scope>
- </dependency>
-
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-node-api</artifactId>
@@ -74,9 +66,6 @@ <version>2.2</version>
<configuration>
<archive>
- <manifestEntries>
- <Class-Path>../util/scatours-util-launcher-common.jar</Class-Path>
- </manifestEntries>
<manifest>
<addClasspath>${scatours.selfContained}</addClasspath>
<classpathPrefix>../lib/</classpathPrefix>
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/src/main/java/scatours/JumpstartLauncher.java b/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/src/main/java/scatours/JumpstartLauncher.java index 1ded112193..e2f0f9da4b 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/src/main/java/scatours/JumpstartLauncher.java +++ b/sca-java-1.x/trunk/tutorials/travelsample/launchers/jumpstart/src/main/java/scatours/JumpstartLauncher.java @@ -19,8 +19,6 @@ package scatours;
-import static scatours.launcher.LauncherUtil.locate;
-
import org.apache.tuscany.sca.node.SCAClient;
import org.apache.tuscany.sca.node.SCAContribution;
import org.apache.tuscany.sca.node.SCANode;
@@ -29,7 +27,8 @@ import org.apache.tuscany.sca.node.SCANodeFactory; public class JumpstartLauncher {
public static void main(String[] args) throws Exception {
- SCAContribution gvtContribution = locate("introducing-trips");
+ SCAContribution gvtContribution = new SCAContribution("introducing-trips",
+ "../../contributions/introducing-trips/target/classes");
SCANode node = SCANodeFactory.newInstance().createSCANode("trips.composite", gvtContribution);
|