21 lines
712 B
XML
21 lines
712 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!-- Generate a java class with the current svn revision number -->
|
||
|
<project>
|
||
|
<echo>Generate build info class...</echo>
|
||
|
<tstamp>
|
||
|
<format property="TODAY" pattern="EEE, d-MMMM-yyyy HH:mm:ss z" locale="ENGLISH, GERMANY"/>
|
||
|
</tstamp>
|
||
|
<echo>Virtual PVT Cell Revision: ${svn.revision}</echo>
|
||
|
<echo>Time stamp ${TODAY}</echo>
|
||
|
<echo>Write build info to file ${basedir}\helpers\BuildInfo.java</echo>
|
||
|
<!-- the source code of the java class -->
|
||
|
<echo file="${basedir}\helpers\revision.php">
|
||
|
<?php defined("SYSPATH") or die("No direct script access.");
|
||
|
class revision_Core {
|
||
|
static function getTimeStamp(){
|
||
|
return "${TODAY}";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
</echo>
|
||
|
</project>
|