Update the location pattern

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@833202 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
rfeng 2009-11-05 22:01:53 +00:00
parent 64043d8340
commit 9151d7621b

View file

@ -41,7 +41,7 @@ public class LauncherUtil {
File file = new File("../../contributions/" + name + "/target/classes");
if (!file.exists()) {
// Try to use the target/<contribution>.jar that is generated by maven build
file = new File("../../contributions/" + name + "/target/" + name + ".jar");
file = new File("../../contributions/" + name + "/target/scatours-contribution-" + name + ".jar");
if (!file.exists()) {
// Try to use the contribution jar under the contributions folder of the distribution
file = new File("../contributions/scatours-contribution-" + name + ".jar");