----- Original Message -----
From: "Son of Mojo JoJo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 7:56 PM
Subject: Assinging file sets to a property


> Im trying to figure out how you would take a file set, and assign it to a
> property that is a comma seperated list of files for use as an excludes
variable
> of the compiler target.
>

Does

<?xml version="1.0"?>
<project name="test" default="compile" basedir=".">

  <path id="myfiles">
    <fileset dir="D:\Temp">
      <include name="*.java"/>
    </fileset>
  </path>

  <target name="compile">

    <property name="test" refid="myfiles"/>

    <echo message="myfiles: ${test}"/>
  </target>
</project>

work for you?

Nico


Reply via email to