Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2007-10-29 15:00:17 +0000
committerMarkus Knauer2007-10-29 15:00:17 +0000
commitdde0c757453c360674bb84910c0134a74e4da57e (patch)
tree9ecc2555980b5036944216c90167026752dc15bb /plugins
parentbb51ffc97fb6ccd3796cd3596e402c2cebda62a8 (diff)
downloadorg.eclipse.epp.packages-dde0c757453c360674bb84910c0134a74e4da57e.tar.gz
org.eclipse.epp.packages-dde0c757453c360674bb84910c0134a74e4da57e.tar.xz
org.eclipse.epp.packages-dde0c757453c360674bb84910c0134a74e4da57e.zip
tell about lower version number
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/PackagerConfiguration.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/PackagerConfiguration.java b/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/PackagerConfiguration.java
index c3191e1e..1ed36c6e 100644
--- a/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/PackagerConfiguration.java
+++ b/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/PackagerConfiguration.java
@@ -190,6 +190,13 @@ public class PackagerConfiguration implements IModifiablePackagerConfiguration {
+ newVersion;
result.add( new Status( IStatus.INFO, Activator.PLUGIN_ID, message ) );
}
+ if( highestVersion.compareTo( featureVersion ) < 0 ) {
+ String message = "Only lower version of feature " //$NON-NLS-1$
+ + featureId
+ + " available: " //$NON-NLS-1$
+ + newVersion;
+ result.add( new Status( IStatus.WARNING, Activator.PLUGIN_ID, message ) );
+ }
}
}

Back to the top