You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Denis Bessmertnyj <db...@isd.dp.ua> on 2007/03/21 10:40:12 UTC

Re: mkdir and system vars - DONE

Sorry, I forgot to set system vars before


----- Original Message ----- 
From: "Denis Bessmertnyj" <db...@isd.dp.ua>
To: "Ant Users List" <us...@ant.apache.org>
Sent: Wednesday, March 21, 2007 11:37 AM
Subject: Ant: mkdir and system vars


> Hi,
>
> here is a part of my build file
>
> <property environment="env"/>
>
> <target name="buildFrameworkTestCase1">
>        <mkdir dir="${env.ALL_TESTS_BUILD_DIR}/FrameworkTestCase1"/>
>        <javac srcdir="FrameworkTestCase1" 
> destdir="${env.ALL_TESTS_BUILD_DIR}/FrameworkTestCase1" fork="true"/>
> </target>
>
> When I execute it, ant creates directory converting to the right value of 
> system variable ${env.ALL_TESTS_BUILD_DIR}.
> It happends when mkdir executes. But when <javac... executes, ant creates 
> folder with name "${env.ALL_TESTS_BUILD_DIR}" in the current directory and 
> puts classes there.
>
> What is wrong?
>
> thnx
>
>
> ---
> Denis Bessmertnyj,
> GUI SoftWeb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org