Fix mess in commit related to issue 6366
authorJuan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Sat, 06 Dec 2008 16:05:43 +0000
changeset 2243 a659cdde462a
parent 2242 1cc506109395
child 2244 684a6b9aa0fe
Fix mess in commit related to issue 6366
build.xml
src-diagnostics/src/org/openbravo/task/CheckDB.java
--- a/build.xml	Sat Dec 06 15:57:16 2008 +0000
+++ b/build.xml	Sat Dec 06 16:05:43 2008 +0000
@@ -553,29 +553,4 @@
 	<target name="test">
 		  <echo message="testing..."/>
   </target>
-
-  <condition property="shell.extension" value="bin" else="exe">
-    <and>
-      <os family="unix"/>
-    </and>
-  </condition>
-
-  <target name="setup">
-  <echo message="Operating system: ${os.name}"/>
-    <echo message="Architecture: ${os.arch}"/>
-    <echo message="Downloading setup tool..."/>
-  <!--  <get src="http://dev.openbravo.com/svn/packaging/setup/trunk/output/setup-properties-linux.bin" dest="help/index.html"/>-->
-  <echo message="Go to config and run the setup tool"/>
-
-  </target>
-
-  <target name="setup.noos"  description="Setup properties">
-    <input message="Operating system? (linux, freebsd6, hpux, openbsd3, osx, solaris, windows)"
-      addproperty="OS"
-      defaultvalue="linux"/>
-    <echo message="Operating system: ${OS}"/>
-  </target>
-
-
-
 </project>
--- a/src-diagnostics/src/org/openbravo/task/CheckDB.java	Sat Dec 06 15:57:16 2008 +0000
+++ b/src-diagnostics/src/org/openbravo/task/CheckDB.java	Sat Dec 06 16:05:43 2008 +0000
@@ -23,7 +23,6 @@
 import java.sql.DriverManager;
 import java.sql.PreparedStatement;
 import java.sql.ResultSet;
-import java.sql.ResultSetMetaData;
 import java.util.Properties;
 
 import org.apache.log4j.Logger;
@@ -195,13 +194,6 @@
                 try {
                     st = connSystem.prepareStatement("SELECT uuid_generate_v1()");
                     result = st.executeQuery();
-                    ResultSetMetaData md = result.getMetaData();
-                    int count = md.getColumnCount();
-                    while (result.next()) {
-                      for (int i=1; i<=count; i++) {
-                        System.out.println(result.getString(i));
-                      }
-                    }
                     result.close();
                     st.close();
                 } catch (final Exception e) {