Community
Participate
Working Groups
public static String exception_sourceDirectoryInvalid;
public static String exception_artifactRepoLocationURL;
public static String exception_artifactRepoNotWritable;
public static String exception_artifactRepoNotSpecified;
public static String exception_metadataRepoLocationURL;
public static String exception_metadataRepoNotWritable;
public static String exception_metadataRepoNotSpecified;
public static String exception_baseLocationNotSpecified;
public static String message_generatingMetadata;
}
private void initializeMetadataRepository(EclipseInstallGeneratorInfoProvider provider) throws ProvisionException {
if (metadataLocation == null)
return;
URL location;
try {
location = new URL(metadataLocation);
} catch (MalformedURLException e) {
throw new IllegalArgumentException(NLS.bind(Messages.exception_metadataRepoLocationURL, artifactLocation));
throw new IllegalArgumentException(NLS.bind(Messages.exception_metadataRepoLocationURL, metadataLocation));
// First try to create a simple repo, this will fail if one already exists
System.out.println(Messages.exception_baseLocationNotSpecified);
return new Integer(-1);
if (provider.getArtifactRepository() == null) {
System.out.println(Messages.exception_artifactRepoNotSpecified);
if (provider.getMetadataRepository() == null) {
System.out.println(Messages.exception_metadataRepoNotSpecified);
System.out.println(NLS.bind(Messages.message_generatingMetadata, provider.getBaseLocation()));
long before = System.currentTimeMillis();
exception_sourceDirectoryInvalid = Source directory is invalid: {0}.
exception_artifactRepoLocationURL = Artifact repository location is not a valid URL: {0}.
exception_artifactRepoNotWritable = Artifact repository is not writable: {0}.
exception_artifactRepoNotSpecified = An artifact repository was not specified.
exception_metadataRepoLocationURL = Metadata repository location is not a valid URL: {0}.
exception_metadataRepoNotWritable = Metadata repository not writable: {0}.
exception_metadataRepoNotSpecified = A metadata repository location was not specified.
exception_baseLocationNotSpecified = Eclipse base location not specified.
message_generatingMetadata = Generating metadata for {0}.