Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2008-08-29 13:54:16 -0400
committerSimon Kaegi2008-08-29 13:54:16 -0400
commitb1a0f3f750b0f4c89be0ca61053e9f45756b8e40 (patch)
tree423057847f8993254124e191f435a1ad533d7a8b /bundles/org.eclipse.equinox.p2.directorywatcher
parent8983c9ec95b39962049570df1a89eee7cb6ecca2 (diff)
downloadrt.equinox.p2-b1a0f3f750b0f4c89be0ca61053e9f45756b8e40.tar.gz
rt.equinox.p2-b1a0f3f750b0f4c89be0ca61053e9f45756b8e40.tar.xz
rt.equinox.p2-b1a0f3f750b0f4c89be0ca61053e9f45756b8e40.zip
Bug 245723 Properties from "advice" are not published for feature artifacts
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.directorywatcher')
-rw-r--r--bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/EntryAdvice.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/EntryAdvice.java b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/EntryAdvice.java
index 68bdf317f..5bc1ab6d2 100644
--- a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/EntryAdvice.java
+++ b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/EntryAdvice.java
@@ -6,8 +6,9 @@
*
* Contributors:
* Code 9 - initial API and implementation
+ * IBM - ongoing development
******************************************************************************/
- package org.eclipse.equinox.internal.provisional.p2.directorywatcher;
+package org.eclipse.equinox.internal.provisional.p2.directorywatcher;
import java.io.File;
import java.net.URL;
@@ -25,10 +26,14 @@ public class EntryAdvice implements IFeatureAdvice, IBundleAdvice {
private Properties metadataProps = new Properties();
private Properties artifactProps = new Properties();
- public Properties getProperties(Feature feature, File location) {
+ public Properties getIUProperties(Feature feature) {
return metadataProps;
}
+ public Properties getArtifactProperties(Feature feature) {
+ return artifactProps;
+ }
+
public boolean isApplicable(String configSpec, boolean includeDefault, String id, Version version) {
return true;
}

Back to the top