commit | 222348ff8c96abc7741eb0df9ba0b31db3fc2ee9 | [log] [tgz] |
---|---|---|
author | kkomissarchik <kkomissarchik> | Thu Jul 15 04:02:41 2010 +0000 |
committer | kkomissarchik <kkomissarchik> | Thu Jul 15 04:02:41 2010 +0000 |
tree | 44472416c7420164820ebeb5a1203e7f197d0afb | |
parent | fe350e296169505d07df4460ba50b91a35fed70f [diff] |
[120376] Mark a facet unsupported for a runtime
diff --git a/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/runtime/internal/RuntimeManagerImpl.java b/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/runtime/internal/RuntimeManagerImpl.java index fa46326..55518d1 100644 --- a/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/runtime/internal/RuntimeManagerImpl.java +++ b/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/runtime/internal/RuntimeManagerImpl.java
@@ -320,10 +320,10 @@ { final Set<IProjectFacetVersion> result = new HashSet<IProjectFacetVersion>(); + // Process the supported declarations first. + for( IRuntimeComponent rc : composition ) { - // Process the supported declarations first. - for( Mapping m : supportedMappings ) { try @@ -339,10 +339,13 @@ FacetCorePlugin.log( e ); } } + } - // Unsupported declarations win over supported, therefore - // they must be processed afterwards - + // Unsupported declarations win over supported, therefore + // they must be processed afterwards + + for( IRuntimeComponent rc : composition ) + { for( Mapping m : unsupportedMappings ) { try