ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chuanjiang lo <lochuanji...@gmail.com>
Subject Re: Custom tasks
Date Wed, 08 Feb 2006 14:03:15 GMT
Thanks for the input...

i've done after reading the ant manual..
i did using a Menu class with two inner class title and item..



On 2/8/06, Patrick Martin <antuser@gmail.com> wrote:
>
> Hello,
>
> If you want a GUI, I would recommend antform as well.
>
> What you are trying to do could be done this way:
> <antmenu title="My main menu">
>   <link label="Compile" target="compile" />
>   <link label="Javadoc" target="javadoc" />
> </antmenu>
>
> Regards,
>
> Patrick M.
>
> On 2/7/06, bill/wilandra <bill@wilandra.com> wrote:
> > There is also an OpenSource project on SourceForge.net called AntForm.
> It
> > will display a menu or form that can be used for input. I found it
> fairly
> > easy to use although it has some idiosyncrasies about how it places
> objects
> > in the dialog window.
> >
> > Bill
> >
> > -----Original Message-----
> > From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]
> > Sent: Tuesday, February 07, 2006 9:34 AM
> > To: Ant Users List
> > Subject: RE: Custom tasks
> >
> > You could probably accomplish what you are trying to do with the <input>
> and
> > <antcall> tasks. Give it a try.
> >
> > -Rob Anderson
> >
> > > -----Original Message-----
> > > From: chuanjiang lo [mailto:lochuanjiang@gmail.com]
> > > Sent: Tuesday, February 07, 2006 5:28 AM
> > > To: user@ant.apache.org
> > > Subject: Custom tasks
> > >
> > > I would like to ask what is the steps of creating a task like this.
> > >
> > > In the ant build file i have something,
> > >
> > > <menu name="mainMenu>
> > >    <item id="1">Compile</item>
> > >   <item id="2">Javadoc</item>
> > > </menu>
> > >
> > > and the output on the console would be the menu items and asking for
> > > user input
> > >
> > > I know how to create simple task, but how should i tackle the items
> > > within the tag.
> > >
> > > Is there any examples i can look on?
> > >
> > > Thanks
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> > commands, e-mail: user-help@ant.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message