> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: 13 May 2005 11:10 > To: dev@ant.apache.org > Subject: Re: [Bug 28444] - Import: Target Handling Bug > > > Another related problem I have is that you can't add > something to the beginning of a target easily. You can add > someting to the end of "foo" by writing your own "foo" that > depends on "imported.foo", but if you want to add something > at the start your imported build file has to be designed for > it. Which means pseudo-targets that are used as interception > points only. >
Cant you write on the importing file: <target name="foo" depends="before-foo, imported.foo"/> <target name="before-foo">...</foo> Or was that what you meant? Notice that the imported file does not need to know about it. Jose Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]