commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/latka build.xml
Date Sun, 07 Mar 2004 15:58:13 GMT
dirkv       2004/03/07 07:58:13

  Modified:    latka    build.xml
  Log:
  - Change output jar to: commons-latka.jar
  - include NOTICE.txt
  
  Revision  Changes    Path
  1.40      +19 -3     jakarta-commons/latka/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/build.xml,v
  retrieving revision 1.39
  retrieving revision 1.40
  diff -u -r1.39 -r1.40
  --- build.xml	6 Feb 2003 17:06:58 -0000	1.39
  +++ build.xml	7 Mar 2004 15:58:13 -0000	1.40
  @@ -1,6 +1,12 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
   <project default="jar" name="commons-latka" basedir=".">
  +
  +  <property name="name" value="commons-latka"/>
  +  <property name="title" value="Jakarta Commons Latka"/>
  +  <property name="version" value="Nightly-${DSTAMP}${TSTAMP}"/>
  +  <property name="package" value="org.apache.commons.latka.*"/>
  +
     <property name="defaulttargetdir" value="target">
     </property>
     <property name="libdir" value="target/lib">
  @@ -15,7 +21,7 @@
     </property>
     <property name="javadocdir" value="dist/docs/api">
     </property>
  -  <property name="final.name" value="commons-latka-1.0-dev">
  +  <property name="final.name" value="commons-latka">
     </property>
     <target name="init" description="o Initializes some properties">
       <mkdir dir="${libdir}">
  @@ -57,6 +63,16 @@
     </target>
     <target name="jar" description="o Create the jar" depends="compile,test">
       <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
  +         <metainf dir="${basedir}" includes="LICENSE.txt,NOTICE.txt"/>
  +         <manifest>
  +            <attribute name="Built-By" value="${user.name}"/>
  +            <attribute name="Package" value="${package}"/>
  +            <attribute name="Extension-Name" value="${name}"/>
  +            <attribute name="Specification-Vendor" value="Apache Software Foundation"/>
  +            <attribute name="Specification-Title" value="${title}"/>
  +            <attribute name="Implementation-Version" value="${version}"/>
  +            <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
  +         </manifest>
       </jar>
     </target>
     <target name="clean" description="o Clean up the generated directories">
  @@ -71,7 +87,7 @@
       <copy todir="dist">
         <fileset dir="${defaulttargetdir}" includes="*.jar">
         </fileset>
  -      <fileset dir="${basedir}" includes="LICENSE*, README*">
  +      <fileset dir="${basedir}" includes="LICENSE*, NOTICE*, README*">
         </fileset>
       </copy>
     </target>
  @@ -203,4 +219,4 @@
       <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
       </unjar>
     </target>
  -</project>
  \ No newline at end of file
  +</project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message