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=40014>. 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=40014 Summary: have to enter valid input multiple times on second build file for input task Product: Ant Version: 1.6.5 Platform: Other OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] build.xml <target description="DO EVERYTHING" name="do_all"> <ant antfile="build_getcode_proj1.xml" target="getcode"/> <ant antfile="build_getcode_proj2.xml" target="getcode"/> </target> build_getcode_proj1.xml and build_getcode_proj2.xml have this: <target name="getcode" depends="get_promotion_group"> <!-- ... non related code --> </target> <target name="get_promotion_group" depends="init" description="Prompts user for a promotion group" unless="pvcs.promotion"> <input message="Please specify a promotion group: " addproperty="pvcs.promotion" validargs="DEV,SYS,CAT,PROD"/> </target> The build.xml calls getcode in build_getcode_proj1.xml fine and the input works fine. Then build.xml calls getcode in build_getcode_proj2.xml and the following happens: I'm prompted and I'll enter one of the validargs and hit enter. Nothing happens and nothing is displayed. I'll enter one of the validargs again and hit enter and it will continue on normally. I should have only had to enter a validargs value once. I'm assuming it is remembering something from the previous build file for some reason. If I had three such files I imagine on the third file I'd have to enter it 3 times to get it to continue. -- 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]