ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: Assinging file sets to a property
Date Wed, 18 Apr 2001 18:51:22 GMT
----- Original Message -----
From: "Son of Mojo JoJo" <>
To: <>
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
> of the compiler target.


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

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

  <target name="compile">

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

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

work for you?


View raw message