Re: BeanShell and ant
Pat <[email protected]>
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Oct 10, 2003 at 11:26:58AM +0200, Lendvai Attila wrote: > > did anyone tought of creating some helper classes that help building > java (and all the usual things ant can do), and use beanshell build > scripts to replace ant? It should be pretty easy to simply call the Ant tasks from a BeanShell script. I have thought about this a little in the past, mainly because there are a lot of nifty little utilities in the form of Ant tasks... e.g. ftp a file here, redeploy an EAR, etc. I agree with Dawid that Ant is good the way it is and I wouldn't want to replace my general usage with ad-hoc scripts, but I can imagine some cases where it would be useful to call ant tasks from bsh scripts. I would suggest looking at how Ant tasks are implemented and seeing what it would take to call them procedurally from BeanShell... It might also help if BeanShell had a syntax to make a Map easily or to assign named arguments to method calls... Pat ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php