tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1239238 - in /openejb/trunk/openejb: container/openejb-core/src/main/java/org/apache/openejb/util/UpdateChecker.java tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java
Date Wed, 01 Feb 2012 17:56:37 GMT
Author: rmannibucau
Date: Wed Feb  1 17:56:36 2012
New Revision: 1239238

URL: http://svn.apache.org/viewvc?rev=1239238&view=rev
Log:
adding updatechecker system properties in system.properties of tomee

Modified:
    openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/util/UpdateChecker.java
    openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java

Modified: openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/util/UpdateChecker.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/util/UpdateChecker.java?rev=1239238&r1=1239237&r2=1239238&view=diff
==============================================================================
--- openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/util/UpdateChecker.java
(original)
+++ openejb/trunk/openejb/container/openejb-core/src/main/java/org/apache/openejb/util/UpdateChecker.java
Wed Feb  1 17:56:36 2012
@@ -3,7 +3,7 @@ package org.apache.openejb.util;
 import java.net.URL;
 
 public class UpdateChecker implements Runnable {
-    private static final String SKIP_CHECK = "openen.version.check.skip";
+    private static final String SKIP_CHECK = "openejb.version.check.skip";
     private static final String REPO_URL = System.getProperty("openejb.version.check.repo.url",
"http://repo1.maven.org/maven2/org/apache/openejb/");
     private static final String URL = System.getProperty("openejb.version.check.url", REPO_URL
+ "openejb/maven-metadata.xml");
     private static final String TAG = "latest";

Modified: openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java?rev=1239238&r1=1239237&r2=1239238&view=diff
==============================================================================
--- openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java
(original)
+++ openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java
Wed Feb  1 17:56:36 2012
@@ -31,7 +31,6 @@ import java.io.InputStream;
 import java.io.OutputStream;
 import java.lang.reflect.Method;
 import java.util.LinkedList;
-import java.util.Properties;
 import java.util.jar.JarFile;
 import java.util.zip.ZipEntry;
 import java.util.zip.ZipInputStream;
@@ -491,6 +490,9 @@ public class Installer {
                 systemPropertiesWriter.write("# openejb.jmx.active = true\n");
                 systemPropertiesWriter.write("# openejb.nobanner = true\n");
                 systemPropertiesWriter.write("# openejb.crosscontext = false\n");
+                systemPropertiesWriter.write("# openejb.version.check.skip = false\n");
+                systemPropertiesWriter.write("# openejb.version.check.repo.url = http://repo1.maven.org/maven2/org/apache/openejb/\n");
+                systemPropertiesWriter.write("# openejb.version.check.url = http://repo1.maven.org/maven2/org/apache/openejb/openejb/maven-metadata.xml\n");
                 systemPropertiesWriter.write("# openejb.jsessionid-support = \n");
                 systemPropertiesWriter.write("# openejb.myfaces.disable-default-values =
true\n");
                 systemPropertiesWriter.write("# openejb.web.xml.major = \n");



Mime
View raw message