Needed to allow pluggability (code+assets) into other containers / applications (i.e. Gerrit Code Review)tags/v1.2.0
<exclude name="com/gitblit/Launcher*.class" /> | <exclude name="com/gitblit/Launcher*.class" /> | ||||
</fileset> | </fileset> | ||||
</copy> | </copy> | ||||
<copy todir="${project.jar.dir}/static"> | |||||
<fileset dir="${project.resources.dir}"> | |||||
<exclude name="thumbs.db" /> | |||||
</fileset> | |||||
</copy> | |||||
<!-- Build the JAR file --> | <!-- Build the JAR file --> | ||||
<jar basedir="${project.jar.dir}" destfile="${distribution.jarfile}" compress="true" /> | <jar basedir="${project.jar.dir}" destfile="${distribution.jarfile}" compress="true" /> |