Skip to content

Commit 313861c

Browse files
committed
update usage for AppLauncher + remove debug mode
1 parent ceaf0bd commit 313861c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

net.lecousin.core/src/main/java/net/lecousin/framework/application/launcher/AppLauncher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ else if (args[i].startsWith("-maven-repository=")) {
161161
new Artifact(groupId, artifactId, new Version(version)),
162162
appParameters,
163163
cfg.properties,
164-
true,
164+
false,
165165
Executors.defaultThreadFactory(),
166166
librariesManager
167167
);
@@ -209,7 +209,7 @@ else if (args[i].startsWith("-maven-repository=")) {
209209
/** Print usage in the console. */
210210
public static void printUsage() {
211211
System.out.println(
212-
"Usage: -groupId=<groupId> -artifactId=<artifactId> -version=<artifactVersion> [-maven-repository=<path>]");
212+
"Usage: -groupId=<groupId> -artifactId=<artifactId> -version=<artifactVersion> [-maven-repository=<path>] [-parameters <application parameters>]");
213213
}
214214

215215
}

net.lecousin.core/src/main/java/net/lecousin/framework/application/launcher/DevLauncher.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public class DevLauncher {
3030
public static void printUsage() {
3131
System.out.println(
3232
"Usage: -groupId=<groupId> -artifactId=<artifactId> -version=<artifactVersion> "
33-
+ "-config=<path_to_lc=project.xml> -projects=<projects_paths> [-plugins=<plugins>] [-maven-repository=<path>]");
33+
+ "-config=<path_to_lc=project.xml> -projects=<projects_paths> [-plugins=<plugins>] [-maven-repository=<path>]"
34+
+ "[-parameters ...]");
3435
}
3536

3637
/** Main. */

0 commit comments

Comments
 (0)