Added Eclipse launch configuration for Setup.

This commit is contained in:
trifonnt 2009-06-12 08:35:17 +00:00
parent 5a6b62284a
commit a561d80971
5 changed files with 22 additions and 9 deletions

14
install/Setup.launch Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/install/src/org/compiere/install/Setup.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.compiere.install.Setup"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="install"/>
</launchConfiguration>

View File

@ -22,7 +22,7 @@ import org.compiere.util.CLogMgt;
/**
* Appla Mac Java VM Configuration
* Apple Mac Java VM Configuration
*
* @author Jorg Janke
* @version $Id: ConfigVMMac.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $
@ -82,7 +82,7 @@ public class ConfigVMMac extends Config
log.info("OK: JavaHome=" + javaHome.getAbsolutePath());
setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
System.setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
// Java Version
final String VERSION = "1.5.0";
final String VERSION2 = "1.6.0";
@ -114,4 +114,4 @@ public class ConfigVMMac extends Config
return null;
} // test
} // ConfigVMMac
}

View File

@ -84,7 +84,6 @@ public class ConfigVMSun extends Config
setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
System.setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
// Java Version
final String VERSION = "1.5.0";
final String VERSION2 = "1.6.0"; // The real one
@ -115,5 +114,5 @@ public class ConfigVMSun extends Config
return null;
} // test
} // ConfigVMSun
}

View File

@ -632,10 +632,10 @@ public class ConfigurationPanel extends CPanel implements ActionListener
/**
* UI Signal OK
* @param cb ckeck box
* @param cb check box
* @param resString resource string key
* @param pass true if test passed
* @param critical true if critial
* @param critical true if critical
* @param errorMsg error Message
*/
void signalOK (CCheckBox cb, String resString,

View File

@ -158,7 +158,7 @@ public class Setup extends CFrame implements ActionListener
CLogMgt.setLevel(args[0]);
else
CLogMgt.setLevel(Level.INFO);
// File Loger at least FINE
// File Logger at least FINE
if (fileHandler.getLevel().intValue() > Level.FINE.intValue())
fileHandler.setLevel(Level.FINE);