Skip to content

Commit

Permalink
Small cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawi committed Apr 17, 2011
1 parent 27ab72f commit 7cfa30b
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions runner/src/main/java/nl/lxtreme/ols/runner/Runner.java
Expand Up @@ -76,10 +76,6 @@ public Runner() throws Exception
config.put( Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, "com.apple.eawt,javax.swing,javax.media.jai" );
config.put( AutoProcessor.AUTO_DEPLOY_ACTION_PROPERY, "install,start" );
config.put( AutoProcessor.AUTO_START_PROP, autoStartBundles );
if ( isDebugMode() )
{
config.put( Constants.FRAMEWORK_STORAGE_CLEAN, Constants.FRAMEWORK_STORAGE_CLEAN_ONFIRSTINIT );
}
// Issue #36: explicitly set the location to the bundle cache directory,
// otherwise it is created /relatively/ to the current working directory,
// which is problematic when you start the client with a relative path...
Expand All @@ -95,14 +91,8 @@ public Runner() throws Exception
// <https://issues.apache.org/jira/browse/FELIX-2763> for more
// information...
System.setProperty( "felix.fileinstall.disableConfigSave", Boolean.toString( false ) );
if ( isDebugMode() )
{
System.setProperty( "felix.fileinstall.log.level", "4" );
}
else
{
System.setProperty( "felix.fileinstall.log.level", "1" );
}
final String logLevel = isDebugMode() ? "4" : "1";
System.setProperty( "felix.fileinstall.log.level", logLevel );

try
{
Expand Down

0 comments on commit 7cfa30b

Please sign in to comment.