[validation] Additional fixes
authorAntonio Moreno <antonio.moreno@openbravo.com>
Tue, 30 Mar 2010 16:03:31 +0200
changeset 6889 d99e946be017
parent 6888 1fd8f4eca929
child 6890 73d00c4651e5
[validation] Additional fixes
src-core/src/org/openbravo/buildvalidation/ValidationHandler.java
src-core/src/org/openbravo/modulescript/ModuleScriptHandler.java
src-util/buildvalidation/log4j.lcf
src-util/diagnostic/.classpath
src-util/diagnostic/.project
src-util/diagnostic/.settings/.jsdtscope
src-util/diagnostic/.settings/org.eclipse.jdt.core.prefs
src-util/diagnostic/.settings/org.eclipse.jst.common.project.facet.core.prefs
src-util/diagnostic/.settings/org.eclipse.wst.common.component
src-util/diagnostic/.settings/org.eclipse.wst.common.project.facet.core.xml
src-util/diagnostic/.settings/org.eclipse.wst.jsdt.ui.superType.container
src-util/diagnostic/.settings/org.eclipse.wst.jsdt.ui.superType.name
src-util/diagnostic/WebContent/META-INF/MANIFEST.MF
src-util/diagnostic/WebContent/WEB-INF/web.xml
src-util/diagnostic/build-create.xml
src-util/diagnostic/build.xml
src-util/diagnostic/build/.keep
src-util/diagnostic/check-ob-perms.sh
src-util/diagnostic/config/diagnostics.properties
src-util/diagnostic/config/log4j.properties
src-util/diagnostic/src/Test.java
src-util/diagnostic/src/org/openbravo/check/Check.java
src-util/diagnostic/src/org/openbravo/task/CheckDB.java
src-util/diagnostic/src/org/openbravo/task/CheckEnvironmentVariables.java
src-util/diagnostic/src/org/openbravo/task/CheckJVMVersion.java
src-util/diagnostic/src/org/openbravo/task/CheckMemory.java
src-util/diagnostic/src/org/openbravo/task/CheckTomcatAntExecution.java
src-util/diagnostic/src/org/openbravo/task/CheckTomcatFilePermissions.java
src-util/diagnostic/src/org/openbravo/task/CheckTomcatMemory.java
src-util/diagnostic/src/org/openbravo/task/CheckTomcatVersion.java
src-util/diagnostic/src/org/openbravo/task/CheckX.java
src-util/diagnostic/src/org/openbravo/task/CompareVersion.java
src-util/diagnostic/src/org/openbravo/utils/PropertiesManager.java
src-util/diagnostic/src/org/openbravo/utils/ServerConnection.java
src-util/diagnostic/src/org/openbravo/utils/Version.java
src-util/modulescript/log4j.lcf
--- a/src-core/src/org/openbravo/buildvalidation/ValidationHandler.java	Tue Mar 30 15:52:20 2010 +0200
+++ b/src-core/src/org/openbravo/buildvalidation/ValidationHandler.java	Tue Mar 30 16:03:31 2010 +0200
@@ -5,7 +5,6 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.log4j.Logger;
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Task;
 
@@ -13,7 +12,6 @@
 
   private File basedir;
   private String module;
-  private static Logger log4j = Logger.getLogger(ValidationHandler.class);
 
   @Override
   public void execute() {
--- a/src-core/src/org/openbravo/modulescript/ModuleScriptHandler.java	Tue Mar 30 15:52:20 2010 +0200
+++ b/src-core/src/org/openbravo/modulescript/ModuleScriptHandler.java	Tue Mar 30 16:03:31 2010 +0200
@@ -5,14 +5,11 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.log4j.Logger;
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Task;
 
 public class ModuleScriptHandler extends Task {
 
-  private static Logger log4j = Logger.getLogger(ModuleScriptHandler.class);
-
   private File basedir;
   private String moduleJavaPackage;
 
--- a/src-util/buildvalidation/log4j.lcf	Tue Mar 30 15:52:20 2010 +0200
+++ b/src-util/buildvalidation/log4j.lcf	Tue Mar 30 16:03:31 2010 +0200
@@ -18,5 +18,7 @@
 log4j.rootCategory=INFO, C
 log4j.category.org.openbravo=INFO
 log4j.appender.C=org.apache.log4j.ConsoleAppender
+  
+# A1 uses PatternLayout.
 log4j.appender.C.layout=org.apache.log4j.PatternLayout
-
+log4j.appender.C.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-util/modulescript/log4j.lcf	Tue Mar 30 16:03:31 2010 +0200
@@ -0,0 +1,24 @@
+# *************************************************************************
+# * The contents of this file are subject to the Openbravo  Public  License
+# * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
+# * Version 1.1  with a permitted attribution clause; you may not  use this
+# * file except in compliance with the License. You  may  obtain  a copy of
+# * the License at http://www.openbravo.com/legal/license.html 
+# * Software distributed under the License  is  distributed  on  an "AS IS"
+# * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+# * License for the specific  language  governing  rights  and  limitations
+# * under the License. 
+# * The Original Code is Openbravo ERP. 
+# * The Initial Developer of the Original Code is Openbravo SL 
+# * All portions are Copyright (C) 2010 Openbravo SL 
+# * All Rights Reserved. 
+# * Contributor(s):  ______________________________________.
+# ************************************************************************
+
+log4j.rootCategory=INFO, C
+log4j.category.org.openbravo=INFO
+log4j.appender.C=org.apache.log4j.ConsoleAppender
+  
+# A1 uses PatternLayout.
+log4j.appender.C.layout=org.apache.log4j.PatternLayout
+log4j.appender.C.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n