return;
}
PentahoSystem.setSystemSettingsService( new PathBasedSystemSettings() );
if ( PentahoSystem.getApplicationContext() == null ) {
StandaloneApplicationContext applicationContext = new StandaloneApplicationContext( getSolutionPath(), "" ); //$NON-NLS-1$
String inContainer = System.getProperty( "incontainer", "false" ); //$NON-NLS-1$ //$NON-NLS-2$
if ( inContainer.equalsIgnoreCase( "false" ) ) { //$NON-NLS-1$
// Setup simple-jndi for datasources
System.setProperty( "java.naming.factory.initial", "org.osjava.sj.SimpleContextFactory" ); //$NON-NLS-1$ //$NON-NLS-2$
System.setProperty( "org.osjava.sj.root", getSolutionPath() + "/system/simple-jndi" ); //$NON-NLS-1$ //$NON-NLS-2$