diff options
author | Markus Knauer | 2007-10-29 15:00:17 +0000 |
---|---|---|
committer | Markus Knauer | 2007-10-29 15:00:17 +0000 |
commit | dde0c757453c360674bb84910c0134a74e4da57e (patch) | |
tree | 9ecc2555980b5036944216c90167026752dc15bb /plugins/org.eclipse.epp.packaging.core | |
parent | bb51ffc97fb6ccd3796cd3596e402c2cebda62a8 (diff) | |
download | org.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/org.eclipse.epp.packaging.core')
-rw-r--r-- | plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/PackagerConfiguration.java | 7 |
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 ) ); + } } } |