Community
Participate
Working Groups
Version: 3.2.0 Build id: I20060519-1206 The current SWTInputHandler is a direct copy of the default handler supplied by ANT. When you specify the validargs attribute on the Input task, the dialog will only allow you to type in one of the valid args. Because it will only accept these valid values, it makes sense to present all of the options to the user in a combo and have them pick one. Attached is a patch to org.eclipse.ant.ui that adds this behaviour. While implementing this feature, i ran across something interesting about the input task. You can specify a default value, but it will never be used for the multi choice case, as it doesn't allow you to select null or empty. If this is ever fixed in ant, this input handler shouldn't require any extra changes.
Created attachment 43701 [details] patch to org.eclipse.ant.ui Patch to add combo for multi choice input requests
Thanks Brock. Consider in 3.3.
*** Bug 33832 has been marked as a duplicate of this bug. ***
Tested and released the changes.
Please verify Kevin.