revision-diff.txt (2.82 KB)
Also awaiting comments on the blueprint if we should add the branch-name to the about screen or not.
···
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme
My Tech Blog: http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE
On 5 March 2010 21:56, noreply@launchpad.net wrote:
revno: 1563
committer: Saptarshi sunbiz@gmail.com
branch nick: trunk
timestamp: Fri 2010-03-05 21:54:16 +0100
message:
added revision number to About screen. For blueprint: dhis2-build-number
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/about/about.vm
dhis-2/dhis-web/dhis-web-commons/pom.xml
dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/about/action/AboutAction.java
–
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file ‘dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/about/about.vm’
— dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/about/about.vm 2010-01-04 12:33:03 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/about/about.vm 2010-03-05 20:54:16 +0000
@@ -2,7 +2,7 @@
- $i18n.getString( "current_user" ):
- $!currentUsername
- $i18n.getString( "version" ):
- $!version
- $i18n.getString( "version" ):
- $!version - rev: $!revision
- $i18n.getString( "build_date" ):
- $format.formatDateTime( $!buildTime )
- $i18n.getString( "user_agent" ):
- $!userAgent
- $i18n.getString( "external_configuration_directory" ):
- $!externalDirectory
=== modified file ‘dhis-2/dhis-web/dhis-web-commons/pom.xml’
— dhis-2/dhis-web/dhis-web-commons/pom.xml 2010-01-28 15:23:28 +0000
+++ dhis-2/dhis-web/dhis-web-commons/pom.xml 2010-03-05 20:54:16 +0000
@@ -26,8 +26,11 @@
<format property="now" pattern="yyyy-MM-dd HH:mm:ss"/> </tstamp> <mkdir dir="${project.build.outputDirectory}"/>
<exec executable="bzr" outputproperty="revision">
<arg value="revno"/>
</exec> <echo file="${project.build.outputDirectory}/build.properties"
message="build.version = ${version} build.time = ${now} "/>
message="build.version = ${version} build.time = ${now} build.revision = ${revision} "/> </tasks> </configuration> <goals>
@@ -150,7 +153,7 @@
<artifactId>jcommon</artifactId> </dependency>
…/…/
…/…/
=== modified file ‘dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/about/action/AboutAction.java’
— dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/about/action/AboutAction.java 2010-01-04 12:33:03 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/about/action/AboutAction.java 2010-03-05 20:54:16 +0000
@@ -88,6 +88,13 @@
return version; }
private String revision;
public String getRevision()
{
return revision;
}
private Date buildTime; public Date getBuildTime()
@@ -156,6 +163,8 @@
version = properties.getProperty( "build.version" );
revision = properties.getProperty( "build.revision" );
String buildTime = properties.getProperty( "build.time" ); DateFormat dateFormat = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" );
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp