ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Fix <jakob....@gmail.com>
Subject Re: apply task trouble for command using < and >
Date Mon, 28 Nov 2005 09:31:32 GMT
Dominique,

On 26/11/05, Dominique Devienne <ddevienne@gmail.com> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message