ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z W" <mpc8...@gmail.com>
Subject fileset and directory to get for loop to work - How ?
Date Tue, 05 Feb 2008 07:47:45 GMT
Hi

In a target, I have



<ac:for param="files">

<fileset dir="${test_dir}">

<filename name="warmup.jmx"/>

<filename name="CI.jmx"/>

</fileset>

<ac:sequential>

<condition property="@{files}">

<isset property="@{files}">

<echo>Test case @{files}</echo>

<antcall target="start"/>

<antcall target="stop"/>

</isset>

</condition>

</ac:sequential>

</ac:for>

But I keep getting this error

C:\A.xml:9: C:\Documents\${test_dir} not found.

Warmup.jmx and CI.jmx files are stored on a network folder in
\\foo\test<file://foo/test>directory.

How can I change this ${test_dir} to point to \\foo\test
<file://foo/test>to see those files ? I tried assigning test_dir with
\\foo\test <file://foo/test> value and still gets the same error.

Thanks for your response and help.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message