summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tutorials/travelsample/util
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-02-25 10:07:57 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-02-25 10:07:57 +0000
commitafa7a3e9b1c9e5beb17d5ed585f31b79a84bcef0 (patch)
treec665e2c67ed3d933fe1c2fb5990544da4e9e10d3 /sca-java-1.x/trunk/tutorials/travelsample/util
parent7ca235a3a0e21079631499e8cd2d759899257aa1 (diff)
Refactor payment-bpel contribution by moving some files into a new contribution payment-bpel-process (TUSCANY-3461)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tutorials/travelsample/util')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/src/main/java/scatours/launcher/LauncherUtil.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/src/main/java/scatours/launcher/LauncherUtil.java b/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/src/main/java/scatours/launcher/LauncherUtil.java
index 828ee58bf3..0cae436c82 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/src/main/java/scatours/launcher/LauncherUtil.java
+++ b/sca-java-1.x/trunk/tutorials/travelsample/util/launcher-common/src/main/java/scatours/launcher/LauncherUtil.java
@@ -46,7 +46,11 @@ public class LauncherUtil {
// Try to use the contribution jar under the contributions folder of the distribution
file = new File("../contributions/scatours-contribution-" + name + ".jar");
if (!file.exists()) {
- throw new IllegalArgumentException("Contribution " + name + " cannot be located.");
+ // Try to use the contribution subfolder under the contributions folder of the distribution
+ file = new File("../contributions/scatours-contribution-" + name);
+ if (!file.exists()) {
+ throw new IllegalArgumentException("Contribution " + name + " cannot be located.");
+ }
}
}
}