--- Ying Wang <[EMAIL PROTECTED]> wrote: > I have a lot of ejbjar. The process to generate the ejbjar is : > > make temp folder > javac > copyDDFiles > ejbjar > clean temp folder > > How do I avoid to write the duplicate tasks in each ejbjar?
If everything's the same but the names of things, make a generic target that references properties, then use <antcall> to run the target, passing in the values for the properties via the nested <param> element. (I do this sort of thing for building parsers, if you need an example.) Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>