ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omry Yadan <>
Subject Re: output dir is being determined by following symlink
Date Wed, 28 Feb 2007 05:16:41 GMT
try to use explicit target directory in whatever task you are running,
and point it to the shadow directory.

David Carson wrote:

> We have a build environment where we build a 'shadow' of our source
> tree consisting of symbolic links to the real source tree.  The actual
> build takes place in this shadow.
> When I run ant in this shadow, it reads the main .mxml file using the
> symlink.  However, it figures out that the .mxml is a symlink, follows
> that link to the real file, and the resulting output files (such as
> .cache files) are written there (or so my theory goes).  I have
> replaced the symlink with a real copy of the file and the output ends
> up in the shadow, so my theory seems to be correct.
> I want all output files in the shadow, so I don't want ant to follow
> the symlink to determine where to write output. Is this possible?
> Thanks,
> David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message