ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Inventory
Date Thu, 25 Jul 2002 18:16:12 GMT
I don't generate a checksum, but when doing a distrib, I generate some sort
of manifest of all the files under CVS control (which of course should
comprise all files necessary to build the app) using the following target

Not that great and also might expose more to the client that he/she should
see in general, but useful to know exactly what went in the distrib. Of
course, one can tag the CVS tree as well, but we only do so for important
distribs, so this mechanism allows knowing exactly what went into every
distrib generated.

If anyone has a better idea to do that, I'd like to know too. --DD

  <!-- ====================================================
       Creates manifest listing all version of the MoWI files
     used to generate a distrib.
  <target name="cvs-manifests"

    <property name="mowi-cvs-manifest"
            value="${distrib}\docs\WebHelp\MoWI-CVS-Manifest.txt" />

    <cvs command="-z3 status"
         quiet="${cvs-quiet}" />

    <echo file="${mowi-cvs-manifest}"
        message="Build Machine:    ${env.COMPUTERNAME}${nl}"
        append="yes" />
    <echo file="${mowi-cvs-manifest}"
        message="Base Directory:   ${basedir}${nl}"
        append="yes" />
    <echo file="${mowi-cvs-manifest}"
        message="Start time:       ${TIME_NOW} on ${TODAY}${nl}"
        append="yes" />
    <echo file="${mowi-cvs-manifest}"
        message="Java VM Version:  ${java.vm.version}${nl}"
        append="yes" />

  </target><!-- cvs~manifests -->

-----Original Message-----
From: Matt Lyon [] 
Sent: Thursday, July 25, 2002 12:20 PM
To: Ant-User (E-mail)
Subject: Inventory


Is anybody aware of an Ant task floating around to produce an inventory or
manifest of files that are being built and included in a given project? I
have been tasked with generating an inventory of all of the files in our
product and generating a checksum for all of the files, using some sort of
CRC solution. I was checking out Ant's <checksum> task, which seems to
provide the checksum functionality I'm after, but I'm less certain on how to
approach creation of the manifest or inventory. One approach might be to do
a find . -name * - print >> inventory.txt, but we have test code in our
source tree that I would like to exclude. I'd prefer an Ant-based solution
if possible, but I can evaluate a crc tool if necessary. Any suggestion
would be greatly appreciated!



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message