From e987881635a28aa18b98f8bfbe80043afaf22094 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal Date: Fri, 9 Dec 2011 21:30:13 +0530 Subject: Modified to use placeholder @VERSION@ instead of hard coding version number, and replacing the same at build time with required version number. --- src/org.gluster.storage.management.console/plugin.properties | 2 +- .../WebContent/WEB-INF/web.xml | 6 +++--- src/org.gluster.storage.management.gateway/build/glusterserver.ant | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/org.gluster.storage.management.console/plugin.properties b/src/org.gluster.storage.management.console/plugin.properties index e9027ab1..b61106df 100644 --- a/src/org.gluster.storage.management.console/plugin.properties +++ b/src/org.gluster.storage.management.console/plugin.properties @@ -17,7 +17,7 @@ # . ############################################################################### aboutText=Gluster Management Console\n\ -Version: 1.0.0-alpha\n\n\ +Version: @VERSION@\n\n\ Copyright (c) 2011 Gluster, Inc.\n\ Visit http://www.gluster.com/\n\n\ This product includes software developed by the\n\ diff --git a/src/org.gluster.storage.management.gateway/WebContent/WEB-INF/web.xml b/src/org.gluster.storage.management.gateway/WebContent/WEB-INF/web.xml index dc00a356..d2f2b742 100644 --- a/src/org.gluster.storage.management.gateway/WebContent/WEB-INF/web.xml +++ b/src/org.gluster.storage.management.gateway/WebContent/WEB-INF/web.xml @@ -45,7 +45,7 @@ org.gluster.storage.management.gateway.listeners.ShutdownListener - gluster-resources-1.0 + gluster-resources-@VERSION@ com.sun.jersey.spi.spring.container.servlet.SpringServlet com.sun.jersey.config.property.packages @@ -58,8 +58,8 @@ 1 - gluster-resources-1.0 - /1.0.0/* + gluster-resources-@VERSION@ + /@VERSION@/* JnlpDownloadServlet diff --git a/src/org.gluster.storage.management.gateway/build/glusterserver.ant b/src/org.gluster.storage.management.gateway/build/glusterserver.ant index 9ba36f55..d05a5fb9 100644 --- a/src/org.gluster.storage.management.gateway/build/glusterserver.ant +++ b/src/org.gluster.storage.management.gateway/build/glusterserver.ant @@ -1,6 +1,4 @@ - - @@ -59,6 +57,7 @@ + -- cgit