ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhatia <Bha...@OFAC.CH>
Subject regexp patterns
Date Wed, 11 Jul 2007 12:46:36 GMT

This is technically not an Ivy question.
Is there a way to use regex inside my patternset include ?
I am trying to selectively unzip only those jars that meet the pattern
Didnt find anything yet.
Would really appreciate your inputs.

<regexp id="jar-project-pattern" pattern="OFAC[A-Z]+[a-z1-9]*.jar"/>
<regexp id="small-jar-pattern" pattern="[a-z]+[a-zA-Z]*.jar"/>	

<!-- works ok for a war project - used when compiling a war project only -
extracts the jar files from a dependency war's /WEB-INF/lib directory -->
	<target name="decompress" depends="clean, retrieve" description="-> extract
jar files from the war(chives)">
		<unzip dest="${ivy.lib.dir}">
			<patternset includes="*.jar" description="extract the jar files from
				<include name="**/*.jar" />
			<fileset dir="${ivy.lib.dir}">
				<include name="*.war" />
View this message in context:
Sent from the ivy-user mailing list archive at

View raw message