ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narayanan, Gopalakrishnan" <>
Subject Multiple selectors in a fileset
Date Wed, 06 Nov 2002 22:13:24 GMT
I have the following script which creates a jar file including a set of files.But the same
set of files needs to be excluded in another jar file.So, I thought it would be a better option
to specify
the criteria as a selector .

	<selector id="docBANK.selector.servlet.classes" >
		<filename name="**/servlet/**" />		

	<target name="generateAppJars" >
		<jar destfile="${}/${}">
				<fileset dir="${proj.working_folder}/ejb-temp/classes" includes="**/*.class">		

						<selector refid="proj.selector.dms.classes"/>

But this keeps throwing an error "One and only one selector is allowed within the <select>
tag".Any thoughts?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message