ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narayanan, Gopalakrishnan" <gna...@exchange.ml.com>
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/**" />		
	</selector>

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

						<selector refid="proj.selector.dms.classes"/>
				</fileset>
		</jar>
		
	</target>

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

--Thanks


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message