final ClassLoader cl = Thread.currentThread().getContextClassLoader();
InputStream in = cl.getResourceAsStream("juzu/config.json");
String serializedConfig = Tools.read(in);
JSON config = (JSON)JSON.parse(serializedConfig);
JSON applications = config.getJSON("application");
if (applications.names().size() != 1) {
throw new RuntimeException("Was expecting application size to be 1 instead of " + applications);
}
String packageFQN = applications.names().iterator().next();
ApplicationDescriptor descriptor = ApplicationDescriptor.create(cl, packageFQN);
// For now we don't resolve anything...