Added Eclipse launch configuration for Setup.
This commit is contained in:
parent
5a6b62284a
commit
a561d80971
|
@ -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>
|
|
@ -22,7 +22,7 @@ import org.compiere.util.CLogMgt;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Appla Mac Java VM Configuration
|
* Apple Mac Java VM Configuration
|
||||||
*
|
*
|
||||||
* @author Jorg Janke
|
* @author Jorg Janke
|
||||||
* @version $Id: ConfigVMMac.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $
|
* @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());
|
log.info("OK: JavaHome=" + javaHome.getAbsolutePath());
|
||||||
setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
||||||
System.setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
System.setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
||||||
|
|
||||||
// Java Version
|
// Java Version
|
||||||
final String VERSION = "1.5.0";
|
final String VERSION = "1.5.0";
|
||||||
final String VERSION2 = "1.6.0";
|
final String VERSION2 = "1.6.0";
|
||||||
|
@ -114,4 +114,4 @@ public class ConfigVMMac extends Config
|
||||||
return null;
|
return null;
|
||||||
} // test
|
} // test
|
||||||
|
|
||||||
} // ConfigVMMac
|
}
|
||||||
|
|
|
@ -84,7 +84,6 @@ public class ConfigVMSun extends Config
|
||||||
setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
||||||
System.setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
System.setProperty(ConfigurationData.JAVA_HOME, javaHome.getAbsolutePath());
|
||||||
|
|
||||||
|
|
||||||
// Java Version
|
// Java Version
|
||||||
final String VERSION = "1.5.0";
|
final String VERSION = "1.5.0";
|
||||||
final String VERSION2 = "1.6.0"; // The real one
|
final String VERSION2 = "1.6.0"; // The real one
|
||||||
|
@ -115,5 +114,5 @@ public class ConfigVMSun extends Config
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
} // test
|
} // test
|
||||||
|
|
||||||
} // ConfigVMSun
|
}
|
||||||
|
|
|
@ -632,10 +632,10 @@ public class ConfigurationPanel extends CPanel implements ActionListener
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UI Signal OK
|
* UI Signal OK
|
||||||
* @param cb ckeck box
|
* @param cb check box
|
||||||
* @param resString resource string key
|
* @param resString resource string key
|
||||||
* @param pass true if test passed
|
* @param pass true if test passed
|
||||||
* @param critical true if critial
|
* @param critical true if critical
|
||||||
* @param errorMsg error Message
|
* @param errorMsg error Message
|
||||||
*/
|
*/
|
||||||
void signalOK (CCheckBox cb, String resString,
|
void signalOK (CCheckBox cb, String resString,
|
||||||
|
|
|
@ -158,7 +158,7 @@ public class Setup extends CFrame implements ActionListener
|
||||||
CLogMgt.setLevel(args[0]);
|
CLogMgt.setLevel(args[0]);
|
||||||
else
|
else
|
||||||
CLogMgt.setLevel(Level.INFO);
|
CLogMgt.setLevel(Level.INFO);
|
||||||
// File Loger at least FINE
|
// File Logger at least FINE
|
||||||
if (fileHandler.getLevel().intValue() > Level.FINE.intValue())
|
if (fileHandler.getLevel().intValue() > Level.FINE.intValue())
|
||||||
fileHandler.setLevel(Level.FINE);
|
fileHandler.setLevel(Level.FINE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue