Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / bindings / java / org / simgrid / NativeLib.java
index cdeb4b6..d253847 100644 (file)
@@ -114,6 +114,10 @@ public final class NativeLib {
 
 
        public static void main(String[] args) {
-               System.out.println("This java library will try to load the native code under the following name:" +getPath());
+               if (args.length >= 1 && args[0].equals("--quiet"))
+                       /* be careful, this execution path is used in buildtools/Cmake/Scripts/java_bundle.sh to determine where to put the libs */
+                       System.out.println(getPath());
+               else 
+                       System.out.println("This java library will try to load the native code under the following name:\n" +getPath());
        }
 }