ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From webhiker <>
Subject Re: Uptodate - need some help...
Date Wed, 19 Mar 2003 09:01:32 GMT
I think this is done automagically by the Jar task anyway.
  At least it seems to be for mine :

    <target name="jar" depends="stub">
         <echo message="Checking jar for ${} 
(${jar.file})" />
	<jar jarfile="${jar.file}" update="yes">
          <fileset dir="${classes.dir}" />
          <fileset dir="${metadata.dir}" >
            <include name="**/*.properties"/>
            <include name="**/*.css"/>
          <zipfileset dir="${image.dir}" prefix="images"/>
            <attribute name="Built-By" value="${}"/>
            <attribute name="Main-class" 
            <attribute name="Class-path" value="lib/GuibioMiRe.jar 
lib/linguisticServices.jar lib/jaxb-api.jar lib/jaxb-ri.jar 
lib/jaxb-libs.jar lib/jaxb-xjc.jar lib/log4j-1.2.5.jar lib/jgraph.jar 
lib/jlfgr-1_0.jar lib/dom4j.jar "/>

Ciramella, EJ wrote:
> could someone give me a little guidance using the uptodate task?  I'm trying
> to compare a set of jars against the build directory to see if the classes
> are newer than the jars.

View raw message