BeanShell and ant

"Lendvai Attila" <[email protected]>
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <E12F73E3BF124B45A118F3323DEB4955443A58@netvisorpdc.intranet.netvisor.hu>
hello all,

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?

creating some dependency resolver, and things and we are there where ant
is now, plus the flexibility of a script language.

things like:

JavaCompiler jc = new JavaCompile();
jc.addClassPath("asd");

DependencyResolver dr = new DependencyResolver();

dr.add(
	new Task("mytask") {
		public void run()
		{
			jc.compile(new FileSet("asd"));
		}
	}
);

dr.addDependency("mytask", "othertask,othertask2,asd");

dr.run();

etc... this is just a really quick brainstorm. how the actual helper
classes should work needs some thinking, but it would be a lot much more
flexible then ant.

any ideas?

101

ps: yes, i don't like ant and writing xml's only to make my life
harder... :)




-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.