Guest User

Untitled

a guest
Aug 12th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.98 KB | None | 0 0
  1. <target name="-pre-init">
  2.        <tstamp>
  3.           <format property="NOW" pattern="yyyy-MM-dd HH:mm:ss z" />
  4.        </tstamp>
  5.        <manifest file="MANIFEST.MF">
  6.             <section name="${ant.project.name}">
  7.             <attribute name="Specification-Title" value="${project.specification.title}"/>
  8.             <attribute name="Specification-Version" value="${project.version}"/>
  9.             <attribute name="Specification-Vendor" value="${global.vendor.name}"/>
  10.             <attribute name="Implementation-Title" value="${project.implementation.title}"/>
  11.             <attribute name="Implementation-Version" value="${build.timestamp}"/>
  12.             <attribute name="Implementation-Vendor" value="${global.vendor.name}"/>
  13.       </section>
  14.       </manifest>  
  15.        <echo file="Version.txt">V${version.num}</echo>    
  16.     </target>
  17.     <target name="-post-jar">
  18.         <copy file="Version.txt" todir="dist" overwrite="true"/>    
  19.         <delete file="dist/README.TXT"/>
  20.     </target>
Advertisement
Add Comment
Please, Sign In to add comment