Ignore:
Timestamp:
Jun 1, 2011 2:32:00 AM (9 years ago)
Author:
sponge <sponge@…>
Branches:
master
Children:
3b80f53
Parents:
f8dc8a2
Message:

Remove the one little html file that ends up in BOB.jar. The file is NOT a javadoc file, it is a package file. Still, it is zapped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/BOB/build.xml

    rf8dc8a2 r5912c606  
    7272
    7373    -->
     74    <target name="-post-jar">
     75        <!-- clean up leftover html file in final jar. -->
     76        <mkdir dir="${dist.dir}/rejar" />
     77        <unjar dest="${dist.dir}/rejar/" >
     78                <fileset dir="${dist.dir}" >
     79                        <include name="**/*.jar" />
     80                </fileset>
     81        </unjar>
     82        <delete dir="${dist.dir}/rejar/" >
     83                <include name="**/*.html" />
     84        </delete>
     85        <jar jarfile="dist/BOB.jar">
     86                 <fileset dir="${dist.dir}/rejar/" />
     87        </jar>
     88        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true">
     89                <include name="rejar/**/*" />
     90                <include name="rejar" />
     91        </delete>
     92                 
     93    </target>
    7494    <target depends="jar" description="Build BOB into a SINGLE JAR." name="onejar">
    7595        <!-- Make needed working dirs -->
Note: See TracChangeset for help on using the changeset viewer.