use of org.bimserver.resources.ClasspathResourceFetcher in project BIMserver by opensourceBIM.
the class LocalDevBimServerStarterJar method main.
public static void main(String[] args) {
OptionsParser optionsParser = new OptionsParser(args);
ResourceFetcher resourceFetcher = new ClasspathResourceFetcher();
try {
String resourceBase = resourceFetcher.getURL("www").toExternalForm();
System.out.println("Resource base" + resourceBase);
new LocalDevBimServerStarterJar().start(-1, "127.0.0.1", "LocalDev BIMserver (8080)", 8080, 8085, optionsParser.getPluginDirectories(), optionsParser.getHome(), resourceFetcher, resourceBase, false);
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
Aggregations