DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33159>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33159 ------- Additional Comments From [EMAIL PROTECTED] 2005-02-17 19:07 ------- (In reply to comment #2) > Does it fail properly if you don't do foreach, i.e. just try a simple deploy? > > I think foreach/parallel explicitly does not fail overall execution if one > path/list fails. Hi Yoav, Here's some followup. I have tried a few simple deploys (while trying to cause a failure) and even with foreach/parallel out of the equation, <deploy> would not show deterministic results. Sometimes I would get a "BUILD SUCCESSFUL" and sometimes a "BUILD FAILED" even though the message in all the cases was as follows: [deploy] FAIL - Encountered exception java.io.IOException: java.lang.IllegalStateException: Context path /sws is already in use Seeing the above message paired up with the BUILD SUCCESSFUL is a little disconcerting. Doing some more followup on the foreach/parallel, I have a simple ant file which shows that the foreach/parallel combination is not to blame: <?xml version="1.0"?> <project name="ant-contrib parallel task" default="parallel"> <property name="lib.dir" value="${user.home}/libfiles.java"/> <!-- Ant-Contrib --> <property name="ant-contrib.ver" value="0.6"/> <property name="ant-contrib.dir" location="${lib.dir}/ant-contrib-${ant-contrib.ver}"/> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${ant-contrib.dir}/lib/ant-contrib-${ant-contrib.ver}.jar"/> <target name="parallel"> <foreach target="foo" param="arg" parallel="true" list="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20" inheritall="true"/> </target> <target name="foo"> <echo message="--${arg}--"/> <if> <equals arg1="${arg}" arg2="3"/> <then> <fail message="Failing for argument ${arg}"/> </then> </if> </target> </project> I will attach it to the bugreport as well. Any more ideas on how to further investigate the <deploy> task? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]