I spent an hour or so scratching my head trying to figure out why Struts builds ok with Ant 1.3, but with 1.4 fails to copy over struts.jar into the distributables. It is because the build scripts use the "available" task to check for the existence of directories, and whereas Ant 1.3 had one attribute, "file", that worked for both files and dirs, Ant 1.4 expects you to use "file" and "dir" respectively. The patches below simply make a note of the incompatibility... Index: build.xml =================================================================== RCS file: /home/cvspublic/jakarta-struts/build.xml,v retrieving revision 1.49 diff -r1.49 build.xml 12a13,20 > > This script is known to work with Ant 1.3. It is know to fail with > Ant 1.4 due to changes in the "available" task (this build file and/or > build files it depends on checks the availability of both files and > directories with available's "file" attribute, whereas available in > Ant 1.4 has separate "file" and "dir" attributes to check for files > and dirs respectively). > Index: build-webapp.xml =================================================================== RCS file: /home/cvspublic/jakarta-struts/build-webapp.xml,v retrieving revision 1.4 diff -r1.4 build-webapp.xml 25a26,32 > This script is known to work with Ant 1.3. It is know to fail with > Ant 1.4 due to changes in the "available" task (this build file and/or > build files it depends on checks the availability of both files and > directories with available's "file" attribute, whereas available in > Ant 1.4 has separate "file" and "dir" attributes to check for files > and dirs respectively). > Index: build-webapps.xml =================================================================== RCS file: /home/cvspublic/jakarta-struts/build-webapps.xml,v retrieving revision 1.3 diff -r1.3 build-webapps.xml 7a8,15 > > This script is known to work with Ant 1.3. It is know to fail with > Ant 1.4 due to changes in the "available" task (this build file and/or > build files it depends on checks the availability of both files and > directories with available's "file" attribute, whereas available in > Ant 1.4 has separate "file" and "dir" attributes to check for files > and dirs respectively). >