logger.log(TreeLogger.TRACE,
"Generating a script selection script for module " + moduleName);
}
ModuleDef module = getModuleDef(logger, moduleName);
StandardLinkerContext context = new StandardLinkerContext(logger, module,
new JJSOptionsImpl());
ArtifactSet artifacts = context.getArtifactsForPublicResources(logger,
module);
HostedModeLinker linker = new HostedModeLinker();
return linker.generateSelectionScript(logger, context, artifacts);
}