/** * Load the given namespace with version mappings from the properties file at * the given location. The properties file is expected to be in the normal format * produced and consumed by PDE Build. * @param namespace the namespace to populate. If "null" is passed * in, the version will be stored in the "null" namespace * @param location the location of the mapping file */ public void load(String namespace, String location) { load(namespace, location, null); }
/** * Load the given namespace with version mappings from the properties file at * the given location. The properties file is expected to be in the normal format * produced and consumed by PDE Build. * @param namespace the namespace to populate. If "null" is passed * in, the version will be stored in the "null" namespace * @param location the location of the mapping file */ public void load(String namespace, String location) { load(namespace, location, null); }
/** * Load the given namespace with version mappings from the properties file at * the given location. The properties file is expected to be in the normal format * produced and consumed by PDE Build. * @param namespace the namespace to populate. If "null" is passed * in, the version will be stored in the "null" namespace * @param location the location of the mapping file */ public void load(String namespace, String location) { load(namespace, location, null); }
/** * Load the given namespace with version mappings from the properties file at * the given location. The properties file is expected to be in the normal format * produced and consumed by PDE Build. * @param namespace the namespace to populate. If "null" is passed * in, the version will be stored in the "null" namespace * @param location the location of the mapping file */ public void load(String namespace, String location) { load(namespace, location, null); }
@Override protected void processParameter(String arg, String parameter, PublisherInfo publisherInfo) throws URISyntaxException { super.processParameter(arg, parameter, publisherInfo); if (arg.equalsIgnoreCase("-productFile")) //$NON-NLS-1$ product = parameter; if (arg.equalsIgnoreCase("-executables")) //$NON-NLS-1$ executables = parameter; if (arg.equalsIgnoreCase("-flavor")) //$NON-NLS-1$ flavor = parameter; if (arg.equalsIgnoreCase("-jreLocation")) //$NON-NLS-1$ jreLocation = parameter; if (arg.equalsIgnoreCase("-pluginVersionsAdvice")) { //$NON-NLS-1$ VersionAdvice versionAdvice = new VersionAdvice(); versionAdvice.load(IInstallableUnit.NAMESPACE_IU_ID, parameter, null); info.addAdvice(versionAdvice); } if (arg.equalsIgnoreCase("-featureVersionsAdvice")) { //$NON-NLS-1$ VersionAdvice versionAdvice = new VersionAdvice(); versionAdvice.load(IInstallableUnit.NAMESPACE_IU_ID, parameter, ".feature.group"); //$NON-NLS-1$ info.addAdvice(versionAdvice); } } }
protected void processParameter(String arg, String parameter, PublisherInfo publisherInfo) throws URISyntaxException { super.processParameter(arg, parameter, publisherInfo); if (arg.equalsIgnoreCase("-productFile")) //$NON-NLS-1$ product = parameter; if (arg.equalsIgnoreCase("-executables")) //$NON-NLS-1$ executables = parameter; if (arg.equalsIgnoreCase("-flavor")) //$NON-NLS-1$ flavor = parameter; if (arg.equalsIgnoreCase("-pluginVersionsAdvice")) { //$NON-NLS-1$ VersionAdvice versionAdvice = new VersionAdvice(); versionAdvice.load(IInstallableUnit.NAMESPACE_IU_ID, parameter, null); info.addAdvice(versionAdvice); } if (arg.equalsIgnoreCase("-featureVersionsAdvice")) { //$NON-NLS-1$ VersionAdvice versionAdvice = new VersionAdvice(); versionAdvice.load(IInstallableUnit.NAMESPACE_IU_ID, parameter, ".feature.group"); //$NON-NLS-1$ info.addAdvice(versionAdvice); } } }
protected void processParameter(String arg, String parameter, PublisherInfo publisherInfo) throws URISyntaxException { super.processParameter(arg, parameter, publisherInfo); if (arg.equalsIgnoreCase("-productFile")) //$NON-NLS-1$ product = parameter; if (arg.equalsIgnoreCase("-executables")) //$NON-NLS-1$ executables = parameter; if (arg.equalsIgnoreCase("-flavor")) //$NON-NLS-1$ flavor = parameter; if (arg.equalsIgnoreCase("-jreLocation")) //$NON-NLS-1$ jreLocation = parameter; if (arg.equalsIgnoreCase("-pluginVersionsAdvice")) { //$NON-NLS-1$ VersionAdvice versionAdvice = new VersionAdvice(); versionAdvice.load(IInstallableUnit.NAMESPACE_IU_ID, parameter, null); info.addAdvice(versionAdvice); } if (arg.equalsIgnoreCase("-featureVersionsAdvice")) { //$NON-NLS-1$ VersionAdvice versionAdvice = new VersionAdvice(); versionAdvice.load(IInstallableUnit.NAMESPACE_IU_ID, parameter, ".feature.group"); //$NON-NLS-1$ info.addAdvice(versionAdvice); } } }