Ability to control the order of ${ask} parameters in an Ant transformation scenario

Are you missing a feature? Request its implementation here.
dcramer
Posts: 161
Joined: Sat Aug 28, 2010 1:23 am

Ability to control the order of ${ask} parameters in an Ant transformation scenario

Post by dcramer »

I have a simple Ant transformation scenario where I ask the user for the username and password when the scenario is run. Oxygen sorts these parameters alphabetically. As a result, password comes before username, so the user is prompted first for the password and then for the user name. In this case, I can hack around it by naming my parameters a_username and b_password or something, but it would be better if there were a way to control the order of the asks. Even better would for Oxygen to combine all the asks into a single dialogue box (again, with the order controlled).
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Ability to control the order of ${ask} parameters in an Ant transformation scenario

Post by Radu »

Hi David,

One thing you could do would be to take control over what dialogs are shown from the ANT build.xml file instead of using Oxygen's ask editor variables:

post47208.html

One other idea would be to have a single parameter called "userPassword" which would take the value something like "ask(user) ask(password)" and then in the ANT build file split the received value in two values and use them to populate the user and password properties.
And indeed in such case it would be nice if Oxygen merged both asks in a larger form instead of popping up two dialogs (we already have an issue registered for this).

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply