ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Bessmertnyj" <d...@isd.dp.ua>
Subject Ant: mkdir and system vars
Date Wed, 21 Mar 2007 09:37:04 GMT
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


Mime
View raw message