Here's the jar. Just copy it to ant's lib directory and the ant shell
script ensures it'll be in your classpath. Don't forget to 'taskdef'
it:

<taskdef name="optionpane"
classname="org.apache.tools.ant.taskdefs.optional.optionpane.OptionPane">

in your build script!

You'll find the documentation, source and a couple of build script
examples in the jar.

Enjoy!

--- "Praveen.C" <[EMAIL PROTECTED]> wrote:
> Pop up dialog box in Ant !!!!! WOW...thats amazing.
> 
> No questions...asked..
> Please post me the task you have created and It
> will be of great use.
> 
> Awaiting to see the task you have created.
> Thanks.
> 
> Regards,
> Praveen.C
> 
> ----- Original Message -----
> From: "Don Taylor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 26, 2001 7:20 PM
> Subject: Re: Command line input.
> 
> 
> > Does it have to be from the command line or are you willing to
> tolerate
> > pop-up dialog boxes asking for input? You also must be willing to
> add
> a
> > custom task to ant. If you're up to it then I've created a task
> that
> > will do it. Just let me know and I'll post it.
> >
> > --- "Praveen.C" <[EMAIL PROTECTED]> wrote:
> > > Hello everyone,
> > >
> > > How to make ant read command line input ?
> > >
> > > Becoz in my project Iam writing ant buildfile
> > > for obfuscation.
> > >
> > > Since I dont know how to use command line
> > > input, I do something like this
> > >
> > > ############ant build file#############
> > > <target name="obfuscate" depends="init" description="">
> > >   <taskdef name="Retroguard" classname="Obfuscation"/>
> > >   <Retroguard message="The files are obfuscated"/>
> > >  </target>
> > >
> > > #### java file ###### In execute() method
> > > System.out.println("Enter file name to be obfuscated. :");
> > > DataInputStream file = new DataInputStream(System.in);
> > > String fileName = file.readLine();
> > > Runtime.getRuntime().exec("java RetroGuard "+fileName+
> > >                 " Obfuscatedefs.jar script.rgs elixir.log");
> > > ####################################
> > >
> > > How to avoid this java file and make the xml file itself
> > > do this task.
> > >
> > > Any help on this will be highly appreciated.
> > >
> > > Thanks and Regards,
> > > Praveen.C
> > >
> > >
> >
> >
> > =====
> > Don
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> >
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

optionpane.jar

Reply via email to