ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Carson" <dccar...@gmail.com>
Subject Re: output dir is being determined by following symlink
Date Wed, 28 Feb 2007 15:58:04 GMT
How do I do that for the .cache files?  I think these are the only
files being written to the parent at the moment.  My ultimate target
is being written to an explicit target directory already, as you
suggest.

On 2/28/07, Omry Yadan <omry@yadan.net> wrote:
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message