microPlatform = new MicroPlatform( "test-src/solution" );
microPlatform.define( ISolutionEngine.class, SolutionEngine.class );
microPlatform.define( IMetadataDomainRepository.class, InMemoryMetadataDomainRepository.class, Scope.GLOBAL );
microPlatform.define( "connection-SQL", SQLConnection.class );
microPlatform.define( IUnifiedRepository.class, FileSystemBackedUnifiedRepository.class, Scope.GLOBAL );
FileSystemBackedUnifiedRepository repos =
(FileSystemBackedUnifiedRepository) PentahoSystem.get( IUnifiedRepository.class );
repos.setRootDir( new File( "test-src/solution" ) );
// TODO: need to define the IDBDatasourceService.class
microPlatform.define( IDBDatasourceService.class, JndiDatasourceService.class, Scope.GLOBAL );
try {
KettleEnvironment.init( false );