Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oberlies2012-10-11 05:03:46 -0400
committerTobias Oberlies2012-10-11 05:14:00 -0400
commit215fa4de1803474efed31be0d5e8357339d0cc59 (patch)
tree4c03b499bc06df58b83f060bdfce80e71c67147f /bundles/org.eclipse.equinox.p2.artifact.repository
parent17a359869cee9cba2dfc19fcae795903cba73029 (diff)
downloadrt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.tar.gz
rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.tar.xz
rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.zip
- There has been a suggestion of how to fix non-atomic loading (i.e. implement it in a way that network problems are not silently ignored), so we may keep non-atomic loading as the default. Bug: 356561 Composite repositories ignores errors when loading children (errors are treated like missing children)
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java
index 2a8701242..e17405051 100644
--- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/CompositeArtifactRepository.java
@@ -40,8 +40,7 @@ public class CompositeArtifactRepository extends AbstractArtifactRepository impl
public static final String PI_REPOSITORY_TYPE = "compositeArtifactRepository"; //$NON-NLS-1$
static final public String PROP_ATOMIC_LOADING = "p2.atomic.composite.loading"; //$NON-NLS-1$
- // by default, require that all children of a composite can be loaded; default may be changed to enforce old behavior (see bug 356561)
- static final public boolean ATOMIC_LOADING_DEFAULT = !"false".equals(Activator.getContext().getProperty("eclipse.p2.atomic.composite.loading.default")); //$NON-NLS-1$//$NON-NLS-2$;
+ static final public boolean ATOMIC_LOADING_DEFAULT = Boolean.parseBoolean(Activator.getContext().getProperty("eclipse.p2.atomic.composite.loading.default")); //$NON-NLS-1$
// keep a list of the child URIs. they can be absolute or relative. they may or may not point
// to a valid reachable repo

Back to the top