final Injector ppInjector = PPActivator.getInstance().getInjector(COM_PUPPETLABS_GEPPETTO_PP_DSL_PP);
List<Module> forgeModules = new ArrayList<Module>();
for(Module module : modules)
forgeModules.add(module);
forgeModules.add(new ForgeServiceModule());
forgeModules.add(new ForgeHttpModule() {
@Override
protected String getBaseURL() {
return ppInjector.getInstance(PPPreferencesHelper.class).getForgeURI();
}
});