roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r563280 - in /roller/trunk/apps/weblogger: build.xml src/java/org/apache/roller/weblogger/business/WebloggerImpl.java
Date Mon, 06 Aug 2007 21:03:07 GMT
Author: snoopdave
Date: Mon Aug  6 14:03:05 2007
New Revision: 563280

URL: http://svn.apache.org/viewvc?view=rev&rev=563280
Log:
Use name roller-version.properties instead of the too generic version.properties

Modified:
    roller/trunk/apps/weblogger/build.xml
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/WebloggerImpl.java

Modified: roller/trunk/apps/weblogger/build.xml
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/build.xml?view=diff&rev=563280&r1=563279&r2=563280
==============================================================================
--- roller/trunk/apps/weblogger/build.xml (original)
+++ roller/trunk/apps/weblogger/build.xml Mon Aug  6 14:03:05 2007
@@ -126,7 +126,7 @@
         </replace>
         <property prefix="svn" file="${ro.build}/svn.properties"/>       
         
-        <echo file="${build.compile.business}/version.properties">
+        <echo file="${build.compile.business}/roller-version.properties">
 ro.version=${ro.version}
 ro.revision=${svn.LastChangedRev}
 ro.buildTime=${ro.buildTime}

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/WebloggerImpl.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/WebloggerImpl.java?view=diff&rev=563280&r1=563279&r2=563280
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/WebloggerImpl.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/WebloggerImpl.java
Mon Aug  6 14:03:05 2007
@@ -109,9 +109,9 @@
         
         Properties props = new Properties();
         try {
-            props.load(getClass().getResourceAsStream("/version.properties"));
+            props.load(getClass().getResourceAsStream("/roller-version.properties"));
         } catch (IOException e) {
-            log.error("version.properties not found", e);
+            log.error("roller-version.properties not found", e);
         }
         
         version = props.getProperty("ro.version", "UNKNOWN");



Mime
View raw message