commit | e63ea023daf7a4ffdc7eb3dc3c751a38e901a0cb | [log] [tgz] |
---|---|---|
author | Nitin Dahyabhai <thatnitind@gmail.com> | Sun Nov 21 15:41:33 2021 -0500 |
committer | Nitin Dahyabhai <thatnitind@gmail.com> | Sun Nov 21 15:41:44 2021 -0500 |
tree | 57a52d9afd293f38c277b60df488861567afb048 | |
parent | 006cd453c09d31172127960b90a0396d7df514bf [diff] |
[nobug] Log an exception when attempting to INSTALL a new version of an already installed facet
diff --git a/plugins/org.eclipse.wst.common.project.facet.core/META-INF/MANIFEST.MF b/plugins/org.eclipse.wst.common.project.facet.core/META-INF/MANIFEST.MF index 570961c..36791e5 100644 --- a/plugins/org.eclipse.wst.common.project.facet.core/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.wst.common.project.facet.core/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@ Bundle-Vendor: %providerName Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.wst.common.project.facet.core; singleton:=true -Bundle-Version: 1.4.401.qualifier +Bundle-Version: 1.4.402.qualifier Bundle-ClassPath: . Bundle-Localization: plugin Export-Package: org.eclipse.wst.common.project.facet.core,
diff --git a/plugins/org.eclipse.wst.common.project.facet.core/pom.xml b/plugins/org.eclipse.wst.common.project.facet.core/pom.xml index c4eebee..1dc9ca2 100644 --- a/plugins/org.eclipse.wst.common.project.facet.core/pom.xml +++ b/plugins/org.eclipse.wst.common.project.facet.core/pom.xml
@@ -21,6 +21,6 @@ <groupId>org.eclipse.webtools.common</groupId> <artifactId>org.eclipse.wst.common.project.facet.core</artifactId> - <version>1.4.401-SNAPSHOT</version> + <version>1.4.402-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project>
diff --git a/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/internal/FacetedProjectFrameworkImpl.java b/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/internal/FacetedProjectFrameworkImpl.java index 2041796..185a4f5 100644 --- a/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/internal/FacetedProjectFrameworkImpl.java +++ b/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/internal/FacetedProjectFrameworkImpl.java
@@ -950,7 +950,8 @@ } else if( action.getType() == Action.Type.INSTALL && existing != null ) { - // this is nearly useless to the end user + // XXX this information is nearly useless to the end user + FacetCorePlugin.log(new UnsupportedOperationException("Attempting to install a second facet version for an already installed facet: " + action.getProjectFacetVersion() + "[" + existing + "]")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ ptype = ValidationProblem.Type.FACET_ALREADY_INSTALLED; } }