You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Hannum, Daniel" <Da...@PremierInc.com> on 2008/01/10 22:17:43 UTC

Running a target under a different working dir

Maybe this is a basic question, but I can't figure it out.

 

I want to run the cargo task under a different working directory (so
that my container's relative paths work correctly). I understand you
can't change basedir. I've tried to do an antcall passing a different
basedir, but that doesn't work because the new ant call runs my taskdefs
and THEIR relative paths break. (grrr)

 

I don't know of any cargo option to do this. What I'd love is basically
a basedir param on a target, but I know there isn't one. Or maybe a
chdir task, but there isn't one of those either. Seems basic, so I'm
sure I'm missing something.

 

Any help is appreciated

 

Thanks.

Dan




-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.