/**
* Gets all of the URLs that should be added to the classpath for an
* application located at {@code root}.
*/
protected URL[] getClassPathForApp(File root) {
ClassPathBuilder classPathBuilder =
new ClassPathBuilder(appEngineWebXml.getClassLoaderConfig());
classPathBuilder.addUrls(SdkImplInfo.getAgentRuntimeLibs());
classPathBuilder.addUrls(userCodeClasspathManager.getUserCodeClasspath(root));
classPathBuilder.addUrls(SdkImplInfo.getUserJspLibs());
classPathBuilder.addUrls(SdkImplInfo.getWebApiToolLibs());
return getUrls(classPathBuilder);
}