Changeset 12
- Timestamp:
- 08/04/10 00:52:43 (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r1 r12 75 75 <rmic classpath="${classpath}" stubversion="1.2" classname="com.bowman.cardserv.test.RemoteTestClient" base="classes"/> 76 76 <delete file="classes/com/bowman/cardserv/test/TestUtil.class"/> 77 <delete file="classes/com/bowman/cardserv/BowbotUserManager.class"/> 78 <exec executable="svnversion" outputproperty="svn.revision" failifexecutionfails="false"> 79 <arg value="src"/> 80 </exec> 81 <echo message="svn.revision=${svn.revision}" file="classes/com/bowman/cardserv/build.properties"/> 77 82 <jar jarfile="build/lib/cardservproxy.jar" manifest="src/META-INF/MANIFEST.MF"> 78 83 <fileset dir="classes"> -
trunk/changelog.txt
r10 r12 121 121 included when the transaction occured in the '*' profile, and origin-id only for CspSession transactions. 122 122 Added: Attribute 'au' to <session> for NewcamdSessions. Indicates which connector the session is forwarding emms to. 123 Added: Attribute 'build' to <proxy-status>. The build number for the running cardservproxy.jar. 123 124 124 125 -
trunk/src/com/bowman/cardserv/CardServProxy.java
r10 r12 25 25 26 26 public static final String APP_VERSION = "0.9.0"; 27 public static String APP_BUILD = ""; 27 28 static ProxyLogger logger; 28 29 private static Registry registry; … … 35 36 e.printStackTrace(); 36 37 } 38 try { 39 Properties props = new Properties(); 40 props.load(CardServProxy.class.getResourceAsStream("build.properties")); 41 String svnRev = props.getProperty("svn.revision"); 42 if(svnRev != null && svnRev.indexOf('$') == -1) APP_BUILD = "r" + svnRev; 43 } catch(Exception e) {} 37 44 } 38 45 -
trunk/src/com/bowman/cardserv/web/XmlHelper.java
r1 r12 963 963 xb.appendAttr("name", proxy.getName()); 964 964 xb.appendAttr("version", CardServProxy.APP_VERSION); 965 xb.appendAttr("build", CardServProxy.APP_BUILD); 965 966 xb.appendAttr("ecm-count", counters[RemoteListener.C_ECMCOUNT]); 966 967 xb.appendAttr("ecm-forwards", counters[RemoteListener.C_ECMFORWARDS]); -
trunk/web/xslt/cws-status-resp.xsl
r1 r12 627 627 <span style="font-size: smaller"> 628 628 <xsl:for-each select="//proxy-status/jvm"> 629 <strong>CSP <xsl:value-of select="../@version"/> </strong> - <strong>JVM: </strong>629 <strong>CSP <xsl:value-of select="../@version"/> <xsl:value-of select="../@build"/></strong> - <strong>JVM: </strong> 630 630 <span id="jvm">[<xsl:value-of select="@name"/> <xsl:value-of select="@version"/>]</span><strong> Heap: </strong> 631 631 [<xsl:value-of select="@heap-total - @heap-free"/>k/<xsl:value-of select="@heap-total"/>k] <strong>TC: </strong>
Note:
See TracChangeset
for help on using the changeset viewer.