ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hannum, Daniel" <Daniel_Han...@PremierInc.com>
Subject Running a target under a different working dir
Date Thu, 10 Jan 2008 21:17:43 GMT
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.  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message