brett       2005/01/24 04:19:44

  Modified:    jelly    maven.xml
  Log:
  adjust generation of version/timestamp
  
  Revision  Changes    Path
  1.93      +6 -6      jakarta-commons/jelly/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/maven.xml,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- maven.xml 24 Jan 2005 00:34:06 -0000      1.92
  +++ maven.xml 24 Jan 2005 12:19:44 -0000      1.93
  @@ -48,13 +48,13 @@
     <!-- ================================================================== -->
   
     <!-- build the timestamp after compiling -->
  -  <postGoal name="java:compile">
  -    <echo 
file="${maven.build.dest}/org/apache/commons/jelly/jelly-version.txt"
  -      >${pom.currentVersion}</echo>
  +  <postGoal name="java:jar-resources">
  +    <j:file 
name="${maven.build.dest}/org/apache/commons/jelly/jelly-version.txt" 
omitXmlDeclaration="true"
  +      >${pom.currentVersion}</j:file>
       <tstamp><format property="now" pattern="yyyy-MM-dd kk:mm:ss 
zzz"/></tstamp>
  -    <echo 
file="${maven.build.dest}/org/apache/commons/jelly/jelly-build-date.txt"
  -      >${now}</echo>
  -    </postGoal>
  +    <j:file 
name="${maven.build.dest}/org/apache/commons/jelly/jelly-build-date.txt" 
omitXmlDeclaration="true"
  +      >${now}</j:file>
  +  </postGoal>
     
     <!-- create the lib and bin directories in the binary distro -->
     <preGoal name="dist:build">
  
  
  

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

Reply via email to