diff options
author | Tobias Oberlies | 2012-10-11 09:03:46 +0000 |
---|---|---|
committer | Tobias Oberlies | 2012-10-11 09:14:00 +0000 |
commit | 215fa4de1803474efed31be0d5e8357339d0cc59 (patch) | |
tree | 4c03b499bc06df58b83f060bdfce80e71c67147f /bundles/org.eclipse.equinox.p2.metadata.repository | |
parent | 17a359869cee9cba2dfc19fcae795903cba73029 (diff) | |
download | rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.tar.gz rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.tar.xz rt.equinox.p2-215fa4de1803474efed31be0d5e8357339d0cc59.zip |
356561 Revert default of composite loading back to non-atomicv20121011-091400I20121030-0800I20121029-2000I20121029-0800I20121028-2000I20121024-1200I20121024-1130I20121023-0800I20121016-2240I20121016-0800
- 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.metadata.repository')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java index a1ac23620..ff4d5f28b 100644 --- a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java +++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/CompositeMetadataRepository.java @@ -38,8 +38,7 @@ public class CompositeMetadataRepository extends AbstractMetadataRepository impl static final public String PI_REPOSITORY_TYPE = "compositeMetadataRepository"; //$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$ static final private Integer REPOSITORY_VERSION = new Integer(1); static final public String XML_EXTENSION = ".xml"; //$NON-NLS-1$ |