commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r818186 - in /commons/sandbox/runtime/trunk: build.properties.default configure src/main/java/org/apache/commons/runtime/Library.java
Date Wed, 23 Sep 2009 18:37:55 GMT
Author: mturk
Date: Wed Sep 23 18:37:54 2009
New Revision: 818186

URL: http://svn.apache.org/viewvc?rev=818186&view=rev
Log:
Require Java6 due to File.setExecutable

Modified:
    commons/sandbox/runtime/trunk/build.properties.default
    commons/sandbox/runtime/trunk/configure
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java

Modified: commons/sandbox/runtime/trunk/build.properties.default
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/build.properties.default?rev=818186&r1=818185&r2=818186&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/build.properties.default (original)
+++ commons/sandbox/runtime/trunk/build.properties.default Wed Sep 23 18:37:54 2009
@@ -17,7 +17,7 @@
 # -----------------------------------------------------------------------------
 # build.properties.default
 #
-# This is an example "build.properties" file, used to customize building 
+# This is an example "build.properties" file, used to customize building
 # Runtime for your local environment. It defines the location of all external
 # modules that Runtime depends on. Copy this file to "build.properties"
 # in the top-level source directory, and customize it as needed.
@@ -31,8 +31,8 @@
 version.suffix=-dev
 
 # ----- Default Compile options -----------------------------------------------
-compile.source=1.5
-compile.target=1.5
+compile.source=1.6
+compile.target=1.6
 compile.debug=off
 compile.optimize=on
 compile.deprecation=on

Modified: commons/sandbox/runtime/trunk/configure
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/configure?rev=818186&r1=818185&r2=818186&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/configure (original)
+++ commons/sandbox/runtime/trunk/configure Wed Sep 23 18:37:54 2009
@@ -32,8 +32,8 @@
 topdir="${TOPDIR:=.}"
 java_home="`echo $JAVA_HOME | tr '\\' '/' 2>/dev/null`"
 
-compile_source=5
-compile_target=5
+compile_source=6
+compile_target=6
 has_64_bit=no
 has_maintainer_mode=off
 has_debug=off
@@ -121,9 +121,9 @@
   --with-java-home=DIR    Path to the Java SDK
                               [\$JAVA_HOME environment variable]
   --with-java-source=VER  Compile for Java source VER
-                              [Default 5]
+                              [Default 6]
   --with-java-target=VER  Compile for Java target VER
-                              [Default 5]
+                              [Default 6]
   --with-host=NAME        Configure for native HOST
                               [Default current host]
   --with-cpu=NAME         Configure for native CPU

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java?rev=818186&r1=818185&r2=818186&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Library.java Wed
Sep 23 18:37:54 2009
@@ -83,6 +83,11 @@
                     break;
             }
             os.close();
+            /* Some platforms like HP-UX require the library
+             * to have rwx permissions set.
+             * This mandates Java 6 API however
+             */
+            f.setExecutable(true);
             /* Mark the extracted file for delete on JVM exit.
              * Although windows platform cannot delete this file
              * if library is successfully loaded it will succeed if



Mime
View raw message