Commit 9182f48b authored by legoc's avatar legoc

Added java and cpp with all argument

parent a05aec51
......@@ -16,7 +16,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>cameo-api</artifactId>
<version>0.1.7</version>
<version>0.1.8-SNAPSHOT</version>
</dependency>
</dependencies>
......
......@@ -16,7 +16,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>cameo-api</artifactId>
<version>0.1.7</version>
<version>0.1.8-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>fr.ill.ics</groupId>
......
......@@ -42,7 +42,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>cameo-api</artifactId>
<version>0.1.7</version>
<version>0.1.8-SNAPSHOT</version>
</dependency>
</dependencies>
</profile>
......
......@@ -118,23 +118,6 @@ public class TestSelector {
ArrayList<String> apps = new ArrayList<String>();
apps.add("startsimplejava");
apps.add("startstopjava");
apps.add("startresjava");
apps.add("startpubjava");
apps.add("startnpubjava");
apps.add("startrepjava");
apps.add("startreqjava");
apps.add("canceljava");
apps.add("startsimplecpp");
apps.add("startstopcpp");
apps.add("startrescpp");
apps.add("startpubcpp");
apps.add("startnpubcpp");
apps.add("startrepcpp");
//apps.add("cancelcpp");
if (args.length < argsIndex + 1) {
System.out.println("Available applications:");
......@@ -149,7 +132,44 @@ public class TestSelector {
appName = args[argsIndex];
if (appName.equals("all")) {
all = true;
apps.add("startsimplejava");
apps.add("startstopjava");
apps.add("startresjava");
apps.add("startpubjava");
apps.add("startnpubjava");
apps.add("startrepjava");
apps.add("startreqjava");
apps.add("canceljava");
apps.add("startsimplecpp");
apps.add("startstopcpp");
apps.add("startrescpp");
apps.add("startpubcpp");
apps.add("startnpubcpp");
apps.add("startrepcpp");
//apps.add("cancelcpp");
}
else if (appName.equals("java")) {
apps.add("startsimplejava");
apps.add("startstopjava");
apps.add("startresjava");
apps.add("startpubjava");
apps.add("startnpubjava");
apps.add("startrepjava");
apps.add("startreqjava");
apps.add("canceljava");
}
else if (appName.equals("cpp")) {
apps.add("startsimplecpp");
apps.add("startstopcpp");
apps.add("startrescpp");
apps.add("startpubcpp");
apps.add("startnpubcpp");
apps.add("startrepcpp");
//apps.add("cancelcpp");
}
else {
apps.add(appName);
}
appArgs = new String[args.length - 1 - argsIndex];
......@@ -159,15 +179,9 @@ public class TestSelector {
}
// Test all applications or only one.
if (all) {
for (String app : apps) {
startApplication(server, app, appArgs);
}
for (String app : apps) {
startApplication(server, app, appArgs);
}
else {
startApplication(server, appName, appArgs);
}
} finally {
// Terminate the server.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment