import org.simantics.scl.osgi.SCLOsgi;
public class InitialRepository {
+ public static final boolean NO_PRELUDE = false;
+
private static ModuleRepository MODULE_REPOSITORY1 = new ModuleRepository(
new CompositeModuleSourceRepository(
SourceRepositories.BUILTIN_SOURCE_REPOSITORY,
));
public static ModuleRepository getInitialRepository() {
- if(MODULE_REPOSITORY1.getModule("Prelude").didSucceed())
+ if(NO_PRELUDE)
+ return new ModuleRepository(SourceRepositories.BUILTIN_SOURCE_REPOSITORY);
+ else if(MODULE_REPOSITORY1.getModule("Prelude").didSucceed())
return MODULE_REPOSITORY1;
else
return SCLOsgi.MODULE_REPOSITORY;