File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
substratevm/src/com.oracle.svm.configure/src/com/oracle/svm/configure Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 3838import com .oracle .svm .configure .command .ConfigurationHelpCommand ;
3939import com .oracle .svm .configure .command .ConfigurationProcessTraceCommand ;
4040import com .oracle .svm .configure .command .ConfigurationUnknownCommand ;
41+ import com .oracle .svm .util .LogUtils ;
4142
43+ /**
44+ * A standalone tool for native-image. It is shipped as `native-image-utils` (previously
45+ * `native-image-configure`).
46+ */
4247public class ConfigurationTool {
4348 private static final int USAGE_ERROR_CODE = 2 ;
4449 private static final int INTERNAL_ERROR_CODE = 1 ;
@@ -67,6 +72,10 @@ public static Collection<ConfigurationCommand> getCommands() {
6772 }
6873
6974 public static void main (String [] arguments ) {
75+ String launcherName = System .getProperty ("org.graalvm.launcher.executablename" , "default" );
76+ if (launcherName .contains ("native-image-configure" )) {
77+ LogUtils .warning ("You are using the deprecated native-image-configure tool. Please switch to native-image-utils." );
78+ }
7079 try {
7180 if (arguments .length == 0 ) {
7281 throw new ConfigurationUsageException ("No arguments provided." );
You can’t perform that action at this time.
0 commit comments