mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-12 10:42:21 -05:00
Merge patch 3488553: Make davmail.jar executable
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2009 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
66e957d092
commit
fd3e99862e
26
build.xml
26
build.xml
@ -236,8 +236,34 @@
|
||||
<delete dir="dist"/>
|
||||
<mkdir dir="dist"/>
|
||||
<echo file="dist/version.txt" message="${release}"/>
|
||||
<pathconvert property="manifest-classpath" pathsep=" ">
|
||||
<mapper>
|
||||
<chainedmapper>
|
||||
<!-- remove absolute path -->
|
||||
<flattenmapper/>
|
||||
<globmapper from="*" to="lib/*"/>
|
||||
</chainedmapper>
|
||||
</mapper>
|
||||
<path>
|
||||
<fileset dir="lib">
|
||||
<include name="*.jar"/>
|
||||
<exclude name="ant-deb*.jar"/>
|
||||
<exclude name="jarbundler-*.jar"/>
|
||||
<exclude name="jsmoothgen-ant-*.jar"/>
|
||||
<exclude name="junit-*.jar"/>
|
||||
<exclude name="libgrowl-*.jar"/>
|
||||
<exclude name="nsisant-*.jar"/>
|
||||
<exclude name="redline-*.jar"/>
|
||||
<exclude name="servlet-api-*.jar"/>
|
||||
<exclude name="swt-*.jar"/>
|
||||
<exclude name="winrun4j-*.jar"/>
|
||||
</fileset>
|
||||
</path>
|
||||
</pathconvert>
|
||||
<jar basedir="target/classes" destfile="dist/davmail.jar">
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="davmail.DavGateway"/>
|
||||
<attribute name="Class-Path" value="${manifest-classpath}"/>
|
||||
<section name="davmail/">
|
||||
<attribute name="Implementation-Title" value="DavMail Gateway"/>
|
||||
<attribute name="Implementation-Version" value="${release-name}"/>
|
||||
|
Loading…
Reference in New Issue
Block a user