Changeset 2616


Ignore:
Timestamp:
02/25/13 10:52:39 (11 years ago)
Author:
twagoo
Message:

Added revision number to "about" popup of Flex UI

Location:
ComponentRegistry/trunk/ComponentBrowserGui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentBrowserGui/pom.xml

    r1573 r2616  
    7373        <sourceDirectory>src/main/flex</sourceDirectory>
    7474        <plugins>
     75           <!-- buildnumber plugin used to obtain this builds svn revision number -->
     76            <plugin>
     77                <groupId>org.codehaus.mojo</groupId>
     78                <artifactId>buildnumber-maven-plugin</artifactId>
     79                <version>1.2</version>
     80                <executions>
     81                    <execution>
     82                        <phase>validate</phase>
     83                        <goals>
     84                            <goal>create</goal>
     85                        </goals>
     86                        <configuration>
     87                                <revisionOnScmFailure>no_revision</revisionOnScmFailure>
     88                        </configuration>
     89                    </execution>
     90                </executions>
     91                <configuration>
     92                    <doCheck>false</doCheck>
     93                    <doUpdate>false</doUpdate>
     94                </configuration>
     95            </plugin>
    7596            <plugin>
    7697                <groupId>org.sonatype.flexmojos</groupId>
     
    86107                                                <name>APPINFO::version</name>
    87108                                                <value>"${ComponentBrowserGui.version}"</value>
     109                                          </property>
     110                                          <property>
     111                                                <name>APPINFO::revision</name>
     112                                                <value>"${buildNumber}"</value>
    88113                                          </property>
    89114                                        </definesDeclaration>                   
  • ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/common/AboutPopup.mxml

    r1573 r2616  
    1919                                if(APPINFO != null){
    2020                                        try{
    21                                                 version = APPINFO::version;
     21                                                version = APPINFO::version + " (r" + APPINFO::revision + ")";
    2222                                        } catch(err:ReferenceError){
    2323                                                // Version set at compilation
Note: See TracChangeset for help on using the changeset viewer.