On Thu, 14 Mar 2002, Richard OShea <[EMAIL PROTECTED]> wrote: > When I call ant make_jar (using v1.4.1) it fails stating "a zip file > cannot contain itself" yet there are no other zip files in the > directory structure.
You are trying to zip up a directory and put the resulting archive in that directory as well. As a result, the archive itself is among the list of files that should be added to the archive - and Ant complains. Exclude the archive from your jar, something like <jar jarfile="my.jar" basedir="." excludes="my.jar" /> and you won't get that warning. > When I use the version of Ant bundled by Together Control Center I > get no such error? Which means that TCC bundles a very old version of Ant, drop that immediately. The test has been added in Ant 1.3. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
