Re: BeanShell and ant
Dawid Weiss <[email protected]>
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Organization | Poznan University of Technology |
| Message-ID | <[email protected]> |
If it were _much_ more flexible... well, I doubt since you can add your own
scripted tasks (as BeanShell classes) to ANT and gain the same
functionality. I also personally like ANT's declarative style, so your
concept is not appealing to me. The more complicated such scripts get, the
harder it is to maintain them...
Dawid
LA> hello all,
LA> did anyone tought of creating some helper classes that help building
LA> java (and all the usual things ant can do), and use beanshell build
LA> scripts to replace ant?
LA> creating some dependency resolver, and things and we are there where ant
LA> is now, plus the flexibility of a script language.
LA> things like:
LA> JavaCompiler jc = new JavaCompile();
LA> jc.addClassPath("asd");
LA> DependencyResolver dr = new DependencyResolver();
LA> dr.add(
LA> new Task("mytask") {
LA> public void run()
LA> {
LA> jc.compile(new FileSet("asd"));
LA> }
LA> }
LA> );
LA> dr.addDependency("mytask", "othertask,othertask2,asd");
LA> dr.run();
LA> etc... this is just a really quick brainstorm. how the actual helper
LA> classes should work needs some thinking, but it would be a lot much more
LA> flexible then ant.
LA> any ideas?
LA> 101
LA> ps: yes, i don't like ant and writing xml's only to make my life
LA> harder... :)
LA> -------------------------------------------------------
LA> This SF.net email is sponsored by: SF.net Giveback Program.
LA> SourceForge.net hosts over 70,000 Open Source Projects.
LA> See the people who have HELPED US provide better services:
LA> Click here: http://sourceforge.net/supporters.php
LA> _______________________________________________
LA> Beanshell-developers mailing list
LA> Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
LA> https://lists.sourceforge.net/lists/listinfo/beanshell-developers
-------------------------------------------------------
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