ant build.xml filename without file (base name of the file) only .(dot) and extension

100 Views Asked by At

I have in ant build.xml directive

<target name="war" depends="compile">
        <war destfile="dist/app.war" webxml="WebContent/WEB-INF/web.xml">
            <fileset dir="WebContent">
                <include name="**/*.*"/>
                <include name="._arrow.png"/>
            </fileset>
            <lib dir="WebContent/WEB-INF/lib"/>
            <classes dir="build/classes"/>
        </war>
    </target>

in the war file I got only :

favicon.ico
robots.txt
sitemap.xml

I am unable to add the files without base name of the file and who has only .extention like

._arrow.png

Can someone help me, please?

Thanks Raul

0

There are 0 best solutions below