Hello;

I am trying to capture the build date or date at which the application got
build and jared up into a properties file called application.properties.  I
want to take this and display it on the web application for the about.html.     

I have found most of the information I am looking for like the user who
built it the OS build on using the Java System properties.    I cannot seem
to find a way to capture the build date.   I am sure this is easy to do and
could do it in ant, but I would rather use the maven features.  This is my
properties file that I have set up as a resource and filtered on.


# Build Environment Info
fams.build.date=${build.date}
fams.build.timezone=${user.timezone}
fams.build.region=${user.region}
fams.build.time=${user.time}
fams.build.os.name=${os.name}
fams.build.os.arch=${os.arch}
fams.build.os.version=${os.version}


Here is my maven pom.xml definition.

         <!-- Application Build Informaiton to be displayed in the GUI  -->
         <resource>
            <directory>src/main/resources</directory>
            <includes>
               <include>application.properties</include>               
            </includes>
            <filtering>true</filtering>
         </resource>

Any help would be appreciated. 
Thanks

-- 
View this message in context: 
http://www.nabble.com/Capturing-the-Build-Date-tf4530478s177.html#a12928449
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to