Krzysztof Daniel 65326ea
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java.orig	2012-05-05 15:24:03.000000000 +0200
Krzysztof Daniel 65326ea
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java	2012-05-17 16:14:48.607827015 +0200
Krzysztof Daniel 65326ea
@@ -752,7 +752,7 @@
Krzysztof Daniel 65326ea
 				//First check to see if there is already an IU around for this
Krzysztof Daniel 65326ea
 				IInstallableUnit bundleIU = queryForIU(result, bundleDescriptions[i].getSymbolicName(), PublisherHelper.fromOSGiVersion(bd.getVersion()));
Krzysztof Daniel 65326ea
 				IArtifactKey key = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
Krzysztof Daniel 65326ea
-				if (bundleIU == null) {
Krzysztof Daniel 65326ea
+				if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
Krzysztof Daniel 65326ea
 					createAdviceFileAdvice(bundleDescriptions[i], info);
Krzysztof Daniel 65326ea
 					// Create the bundle IU according to any shape advice we have
Krzysztof Daniel 65326ea
 					bundleIU = doCreateBundleIU(bd, key, info);