You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ch...@apache.org on 2002/05/03 19:51:24 UTC

cvs commit: xml-fop build.xml

chrisg      02/05/03 10:51:24

  Modified:    .        Tag: fop-0_20_2-maintain build.xml
  Log:
  replaced manifest-task with ant's builtin stuff
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.44.2.14 +17 -10    xml-fop/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-fop/build.xml,v
  retrieving revision 1.44.2.13
  retrieving revision 1.44.2.14
  diff -u -r1.44.2.13 -r1.44.2.14
  --- build.xml	2 May 2002 22:27:24 -0000	1.44.2.13
  +++ build.xml	3 May 2002 17:51:23 -0000	1.44.2.14
  @@ -280,12 +280,10 @@
       -->
   
       <taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"/> 
  -    <taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/>
  -    <taskdef name="manifest" classname="org.apache.fop.tools.anttasks.Manifest"/>
       <taskdef name="runTest" classname="org.apache.fop.tools.anttasks.RunTest"/>
   
       <property name="main.class" value="org.apache.fop.apps.Fop"/>
  -    <property name="runtime.classpath" value="lib/xerces-1.2.3.jar lib/xalan-2.0.0.jar lib/xalanj1compat.jar lib/batik.jar lib/jimi-1.0.jar lib/avalon-framework-cvs-20020315.jar"/>
  +    <property name="runtime.classpath" value="lib/xerces-1.2.3.jar lib/xalan-2.0.0.jar lib/batik.jar lib/jimi-1.0.jar lib/avalon-framework-cvs-20020315.jar"/>
      
       <filter filtersfile="${build.src}/codegen/filter"/>
   
  @@ -583,14 +581,23 @@
     <!-- =================================================================== -->
     <target name="package" depends="compile,hyphenation">
       <echo message="Creating the jar file ${build.dir}/${name}.jar"/>
  -    <manifest file="${build.dir}/Manifest.txt" overwrite="yes"
  -	      mainclass="${main.class}" 
  -              classpath="${runtime.classpath}"
  -              impltitle="${Name}" implversion="${version}"
  -	      implvendor="Apache Software Foundation (http://xml.apache.org/fop/)"/>
  -    <jar jarfile="${build.dir}/${name}.jar" manifest="${build.dir}/Manifest.txt"
  +
  +    <tstamp>
  +      <format property="ts" pattern="yyyyMMdd-HHmmss-z"/>
  +    </tstamp>
  +    <jar jarfile="${build.dir}/${name}.jar"
            basedir="${build.dest}"
  -         includes="org/**,conf/**,hyph/**"/>
  +         includes="org/**,conf/**,hyph/**">
  +    <manifest>
  +        <attribute name="Main-Class" value="${main.class}"/>
  +        <attribute name="Class-Path" value="${runtime.classpath}"/>
  +        <attribute name="Implementation-Title" value="${Name}"/>
  +        <attribute name="Implementation-Version" value="${version}"/>
  +        <attribute name="Implementation-Vendor" value="Apache Software Foundation (http://xml.apache.org/fop/)"/>
  +        <attribute name="Build-Id" value="${ts} (${user.name} [${os.name} ${os.version} ${os.arch}])"/>
  +    </manifest>
  +    </jar>
  +
     </target>
   
     <target name="test" depends="package">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org