I'm trying to use FileSet to grab a bunch of files from a file, and pass it as an argument to a <java ...> task.
The file, /project/vobs/project/data/client/file_list looks like this: /project/vobs/project/data/client/menuScreen.xml ... /project/vobs/project/data/client/moreStuff.xml Here is what I've tried to do: <property name="clientAdaptationXMLDir" value="/project/vobs/project/data/client" /> <path id="clientXMLFiles"> <fileset dir="/" includesfile="${clientAdaptationXMLDir}/client_files" > </fileset> </path> <!-- convert path to a property --> <property name="clientXMLFiles" refid="clientXMLFiles" /> <target name="compileClientXML"> <echo message="ClientXMLFILES: ${clientXMLFiles}" /> <java dir="${ProjectBin}" fork="true" classpathref="project.class.path" classname="${ProjectJavaPackageRoot}.persistence.dataAccess.DataAccess" > <arg line="-h ${clientXMLFiles}" /> </java> </target> When it runs it lists nothing when it tries to echo the ${clientXMLFiles}. If I remove a leading "/" from one of the listed files in file_list, then it will be included in the FileSet. I'm wondering is there an easier way to just read in the contents of the file and pass it straight up as an argument to the <java ..> task within ant. Douglas Daniels email: doug.daniels _AT_ gdc4s.com email2: u_ddaniels _AT_ umassd.edu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]