Hello, I have a quick question;
I need to extend the tools=2Eant=2ETask so that i can call a specific task from the build.Exml file. I have been able to call the task by the task at the command line i.e. ant -test which runs something like this <target name=3D"test"> <taskdef name=3D"mytask" classname=3D"MyVeryOwnTask"/> <mytask message=3D"Hello World! MyVeryOwnTask works!"/> </target> This executes the class MyVeryOwnTask which then executes <target name=3D"compile" description=3D"Compiles the Task"> <mkdir dir=3D"${classes=2Edir}"/> <javac srcdir=3D"${src=2Edir}" classpath=3D"${ant}" destdir=3D"${classes=2Edir}" /> </target> I have been advised that its better to extend the class using Task rather than project. Any views on this would be apreciated=2E The above works fine - however, i want to be able to create a GUI that will allow me to choose one of two buttons=2E When either button is clicked that it will execute that task chosen. I have included the class file that works for me but how do i implement this into a GUI so that i can call a task. Any help is appreciated -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]