if (!this.resolveInternally(ctx)) {
Map<String, IClassPackageRepositoryRemote> remoteRepositories = new LinkedHashMap<String, IClassPackageRepositoryRemote>();
for (String name : this.remote.keySet()) {
IClassPackageRepositoryRemote rr = remote.get(name);
remoteRepositories.put(rr.getRepositoryURL().toExternalForm(), rr);
}
Set<IClassPackageDescriptor> cpdrs = ctx.getDescriptors();
if (cpdrs.size() != 0) {
for (IClassPackageDescriptor cpdr : cpdrs) {
for (String url : cpdr.getRemoteRepositories()) {
IClassPackageRepositoryRemote rr = cpdr.createRepository(url);
remoteRepositories.put(rr.getRepositoryURL().toExternalForm(), rr);
}
}
}
if (!this.resolveRemotely(ctx, remoteRepositories)) {