From: Patrick M. <an...@gm...> - 2011-03-09 09:18:52
|
Hello, I am not sure I understand your question here. As it's name states, Antform is meant to provide input forms (ie windowed) to users. To use non-GUI user input mechanisms, you can use the standard <input> ant task. You can use a property to enable GUI or not. Something like ${use.gui}. The code could look like this: <target name="get-user-input-gui" if="use.gui"> <antform ... /> ... </target> <target name="get-user-input" depends="get-user-input-gui" unless="use.gui"> <input ... /> ... </target> Then you invoke your ant script with the parameter -Duse.gui=true if you're on a GUI enabled machine. Else, just don't put this parameter. rgds, On Wed, Mar 9, 2011 at 2:25 AM, Maureen Geray <mg...@gm...> wrote: > > Hello, > > I just like to ask if I Antform has an option to run on command line aside > from GUI based form. > I like to this since the server that will run the script may or may not > have support to Xserver. > Or if you are aware of any program that can convert normal ant build > scripts to script understood by Antform, or vice versa. > > > > Hoping for your immediate reply. Thank you very much > > > -- > Maureen Gail G. Geray > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > antforms-user mailing list > ant...@li... > https://lists.sourceforge.net/lists/listinfo/antforms-user > > |