Hello,
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
criteria.
Didnt find anything yet.
Would really appreciate your inputs.
Thanks


************************************************************************
<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
/WEB-INF/lib">
                                <include name="**/*.jar" />
                        </patternset>
                        <fileset dir="${ivy.lib.dir}">
                                <include name="*.war" />
                        </fileset>
                </unzip>
        </target>
-- 
View this message in context: 
http://www.nabble.com/regexp-patterns-tf4061726.html#a11539701
Sent from the ivy-user mailing list archive at Nabble.com.

Reply via email to