Dominique,

On 26/11/05, Dominique Devienne <[EMAIL PROTECTED]> wrote:
> > Hmm, just one small problem I couldn't solve yet.  Apply will bail out
> > if it tries to output a file to a directory that doesn't exist.
>
> I ran into the same issue in the past, and had to "patch" <apply> to
> solve it, as you don't know "a priori" which directories to create
> with using a destDir and a mapper.

Ah, thank you for confirming this problem.  Tha'ts exactly my case.

> I'll try to update the "real" apply task next week, but you can use
> the custom task below in the mean time (it just "plugs in" at the
> right time to create the directories, without duplicating the <apply>
> code itself. Ant's <apply> maps to ExecuteOn).

That's terrific, thanks a lot!  However, unfortunately, I do not know
how to integrate your extension of the Apply class into my current Ant
setup.

Will your update to the "real ant task" be available in some nightly
build, or is a new version around the corner?  I would wait till then
unless given precise instructions (I'm no Java programmer :-)).

> --DD

--
cheers,
Jakob.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to