ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: directory problems with exec
Date Sat, 02 Oct 2004 13:08:04 GMT

sorry for the loooong delay.  I'm CCing you since you might have
unsubscribed in the meantime.

I think I see what's going on.

On Thu, 24 Jun 2004, Paul C. Reeves <> wrote:

> <exec executable = "make" dir = "${}" 
>       newenvironment = "false"


> [MAKEFILE CODE]vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> PROG_DIR =`basename ${PWD}`
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

PWD is an environment variable and you inherit the one from the shell
running Ant, which still is in Ant's basedir.

Does it work if you change it to
MY_PWD =`pwd`
PROG_DIR =`basename ${MY_PWD}`



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

View raw message