tags:

views:

301

answers:

1

i am successfully inserting images into my jar file but all images go to the root directory inside the jar how can i place image in a specific location inside the jar

this is what i have so far ,thank you

    <target name="dist" depends="compile" description="generate the distribution">
    <jar jarfile="target/jarFile.jar" basedir="${build}" update="true">

        <fileset dir="${src}/org/test/images/">
            <include name="**/*.png" />
        </fileset>

    </jar>
    </target>
+1  A: 
<target name="dist" depends="compile" description="generate the distribution">
    <jar jarfile="target/jarFile.jar" basedir="${build}" update="true">

        <fileset dir="${src}">
            <include name="org/test/images/**/*.png" />
        </fileset>

    </jar>
</target>

might be what you are looking for.

binil