zipgroupfileset not including properties files

16 views
Skip to first unread message

Bruno Campolo

unread,
Oct 8, 2013, 8:34:15 AM10/8/13
to jar...@googlegroups.com
The following is my jar jar ant task:

    <target name="package">
        <delete dir="${dist.dir}" />
        <mkdir dir="${dist.dir}" />
        <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${lib.dir}/jarjar-jar-1.3.jar"/>
        <jarjar jarfile="dist/sample.jar">
            <zipgroupfileset dir="${lib.dir}" />
            <zipgroupfileset dir="${build.lib.dir}" />
            <rule pattern="*.**" result="com.sample.@1.@2"/>
        </jarjar>
    </target>

This works for class files, but does not match/rename any properties files or config files even when they were in the same folder structure as the class files that did get renamed.  Anyone know what I'm doing wrong?

-Bruno
Reply all
Reply to author
Forward
0 new messages