Dominique Devienne-2 wrote: > > But while I agree that having a true scripting language for Ant would > help (OO, prototype-based, or functional, leaning towards the latter > for Ant myself), I think it's important to remember than good builds > are *declarative* in nature. Using a pure language, when most have > little or no support to declare your intent, would make scripts > unreadable. > > I completely agree. I just saw that the example I gave was not posted well. Here's another try:
So I have a project that I want to build a jar from: <project prototype="jar_project"> <sourcePath>/path/to/sources</sourcePath> </project> <main>project.compile</main> This is all declerative. What it does is create a project object, with data member 'sourcePath' whose prototype is jar_project. Behind the scenese, the object has a lot of methods, but the average joe does not care about them. However, If someone wants to change the logic, he can then do that. Btw, I think this is a lot more declarative than defining lots of targets and tasks (these are defined by jar_project). Thank you, Ittay -- View this message in context: http://www.nabble.com/-DISCUSS--EasyAnt%3A-Ant-based-pre-packaged-build-system-for-java-projects-tp14735371p16986216.html Sent from the Ant - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]