changeset 88:76493f3d3aeb

Fix strings in the about dialog
author Omair Majid <omajid@redhat.com>
date Mon, 27 Feb 2012 12:38:41 -0500
parents 6e27e3007d8c
children d4629ff2406d
files common/pom.xml common/src/main/resources/com/redhat/thermostat/app-info.properties pom.xml
diffstat 3 files changed, 17 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/common/pom.xml	Fri Feb 24 19:18:02 2012 -0500
+++ b/common/pom.xml	Mon Feb 27 12:38:41 2012 -0500
@@ -50,6 +50,16 @@
   <packaging>jar</packaging>
 
   <name>Thermostat Common</name>
+  <url>${project.parent.url}</url>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+  </build>
 
   <dependencies>
     <dependency>
--- a/common/src/main/resources/com/redhat/thermostat/app-info.properties	Fri Feb 24 19:18:02 2012 -0500
+++ b/common/src/main/resources/com/redhat/thermostat/app-info.properties	Mon Feb 27 12:38:41 2012 -0500
@@ -1,9 +1,9 @@
-APP_NAME = Thermostat
-APP_VERSION = @VERSION@
-APP_EMAIL = distro-pkg-dev@icedtea.classpath.org
-APP_WEBSITE = icedtea.classpath.org/wiki/Thermostat
+APP_NAME = ${project.name}
+APP_VERSION = ${project.version}
+APP_RELEASE_DATE = ${thermostat.releasedate}
+APP_EMAIL = ${thermostat.email}
+APP_WEBSITE = ${project.url}
 APP_DESCRIPTION = A monitoring and servicability tool for OpenJDK
-APP_RELEASE_DATE = @DATE@
 APP_COPYRIGHT = Copyright 2012 Red Hat, Inc.
 APP_LICENSE_SUMMARY = GPLv2+ with Classpath exceptions
 
--- a/pom.xml	Fri Feb 24 19:18:02 2012 -0500
+++ b/pom.xml	Mon Feb 27 12:38:41 2012 -0500
@@ -49,6 +49,8 @@
   <url>http://icedtea.classpath.org/thermostat/</url>
 
   <properties>
+    <thermostat.releasedate>2012-XX-XX</thermostat.releasedate>
+    <thermostat.email>thermostat@icedtea.classpath.org</thermostat.email>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <thermostat.build.directory>target</thermostat.build.directory>
     <thermostat.java.version>1.7</thermostat.java.version>