[Yanel-commits] rev 25691 -
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources
simon at wyona.com
simon at wyona.com
Mon Jul 2 12:21:20 CEST 2007
Author: simon
Date: 2007-07-02 12:21:20 +0200 (Mon, 02 Jul 2007)
New Revision: 25691
Modified:
public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/InstallInfo.java
Log:
revision field added
Modified: public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/InstallInfo.java
===================================================================
--- public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/InstallInfo.java 2007-07-02 10:13:40 UTC (rev 25690)
+++ public/yanel/trunk/src/realms/welcome-admin/yanel/resources/update-webapp/src/java/org/wyona/yanel/impl/resources/InstallInfo.java 2007-07-02 10:21:20 UTC (rev 25691)
@@ -22,6 +22,7 @@
private static Category log = Category.getInstance(InstallInfo.class);
private String id;
private String version;
+ private String revision;
private String installtype;
private String contextPrefix;
private String updateURL;
@@ -60,6 +61,8 @@
id = install.getRequiredProperty(idProperty).getString();
Property versionProperty = new PropertyImpl(updateManagerNS, "version");
version = install.getRequiredProperty(versionProperty).getString();
+ Property revisionProperty = new PropertyImpl(updateManagerNS, "revision");
+ revision = install.getRequiredProperty(revisionProperty).getString();
Property installtypeProperty = new PropertyImpl(updateManagerNS, "installtype");
installtype = install.getRequiredProperty(installtypeProperty).getString();
//Property contextPrefixProperty = new PropertyImpl(updateManagerNS, "contextprefix");
@@ -121,6 +124,10 @@
return version;
}
+ public String getRevision() {
+ return revision;
+ }
+
public String getJavaVersion() {
return javaVersion;
}
More information about the Yanel-commits
mailing list