Hello,
The basic idea is to have a user interface to set ant properties values.
For that, you can use a set of widget to set string, file, date or
number properties.
Task declaration should look like:
<taskdef resource="com/sardak/antform/taskdefs.properties"
classpath="${antform.home}/lib/antform.jar"/>
A usage example would be:
<antform title="String or Regexp Searcher" save="settings.properties"
loop="true">
<fileselectionproperty property="base.dir" label="Base directory" />
<textproperty property="includes" label="Include patterns" />
<textproperty property="excludes" label="Exclude patterns" />
<booleanproperty property="case.sensitive" label="Case sensitive file
name" />
<textproperty property="string" label="String (or regexp) to look for"
/>
<controlbar>
<button type="ok" target="search-string" label="Find String" />
<button type="ok" target="search-regexp" label="Find Regexp" />
<button type="cancel" label="Exit" loopexit="true" />
</controlbar>
</antform>
When your script reaches this task, it displays a UI asking you for
some settings (which are stored in a property file for future
reference if needed). From this example, you can call 2 different
target (depending on the OK button you press) or cancel and continue
your script.
Rgds,
Patrick
2010/2/15 Martin Gainty <[email protected]>
>
> Good Evening Patrick-
>
> Could you provide a brief explanation of the capabilities of this project and
> how we can implement Antform in a Ant Task?
>
> Thanks!
> Martin
> ______________________________________________
> please do not alter/modify or disrupt this transmission. Thank You
>
>
>
>
> > From: [email protected]
> > Date: Sun, 14 Feb 2010 18:40:26 +0100
> > Subject: Re: AntForm project
> > To: [email protected]; [email protected]
> >
> > Hello,
> >
> > Thank you for your interest in antform.
> > It's been a while nothing has been done on this project and that's quite
> > unfortunate.
> > I did not realize there was a lot of spam since my google account detects
> > them all.
> >
> > If you need support on antform, do not hesitate to ask me directly. I'll try
> > to answer if I can.
> >
> > Cheers,
> >
> > Patrick
> >
> > 2010/2/6 Robert Kirkpatrick <[email protected]>
> >
> > > Hi,
> > >
> > > I recently tried the antForm extension which is promising.
> > > I subscribed to the [email protected] mailing list to
> > > request some info lacking the user manual.
> > > Unfortunately this mailing list is full of spam, therefore unusable.
> > >
> > > Does anyone know how to get support on antForm?
> > >
> > > Thanks in advance.
> > >
> > > Robert.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> > >
>
> _________________________________________________________________
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/201469226/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]