Changeset 182
- Timestamp:
- 02/23/08 00:25:23 (11 months ago)
- Files:
-
- trunk/jsmtpd/.classpath (modified) (1 diff)
- trunk/jsmtpd/CHANGELOG (modified) (1 diff)
- trunk/jsmtpd/build.xml (modified) (4 diffs)
- trunk/jsmtpd/lib/activation.jar (added)
- trunk/jsmtpd/lib/dnsjava-2.0.6.jar (added)
- trunk/jsmtpd/lib/licences (added)
- trunk/jsmtpd/lib/log4j.LICENSE.txt (deleted)
- trunk/jsmtpd/lib/mail.jar (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/jsmtpd/.classpath
r181 r182 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 5 5 <classpathentry kind="lib" path="etc"/> 6 <classpathentry kind="lib" path="lib/dnsjava-1.6.5.jar"/>7 6 <classpathentry kind="lib" path="lib/commons-logging.jar"/> 8 7 <classpathentry kind="lib" path="lib/log4j-1.2.9.jar"/> 9 <classpathentry kind="lib" path="lib/tiger-javamail-1.0.jar"/>10 8 <classpathentry kind="lib" path="lib/libclamav-1.0.jar"/> 11 9 <classpathentry kind="lib" path="lib/commons-io-1.3.1.jar"/> 10 <classpathentry kind="lib" path="lib/activation.jar"/> 11 <classpathentry kind="lib" path="lib/mail.jar"/> 12 <classpathentry kind="lib" path="lib/dnsjava-2.0.6.jar"/> 12 13 <classpathentry kind="output" path="bin"/> 13 14 </classpath> trunk/jsmtpd/CHANGELOG
r181 r182 1 1 Version 0.x 2 changed tiger-javamail to javamail + activation 3 update dnsjava to 2.0.6 2 4 Removed old libs 3 5 Refact auth ldap plugin trunk/jsmtpd/build.xml
r181 r182 1 1 <project name="jsmptd" default="buildFullRelease"> 2 3 2 <description>Jsmtpd build file</description> 4 5 <!-- ################################################ -->6 <!-- SETTINGS -->7 <!-- ################################################ -->8 9 10 3 11 4 <property name="release.tmpPath" location="/tmp/jsmtpdtemp" /> 12 5 <property name="release.output" location="/tmp/" /> 13 14 6 <property file="build.prop"></property> 15 16 7 <property name="src.dir" location="src" /> 17 8 <property name="build.dir" location="bin/" /> 18 9 <property name="release.dir" location="${release.tmpPath}/Jsmtpd/" /> 19 20 10 <tstamp prefix="start"/> 21 11 22 23 <path id="libcore"> 12 <path id="lib"> 24 13 <fileset dir="lib/"> 25 14 <include name="**/*.jar" /> … … 27 16 </fileset> 28 17 </path> 29 30 <path id="libplugin">31 <fileset dir="plugins/">32 <include name="**/*.jar" />33 <include name="**/*.zip" />34 </fileset>35 </path>36 18 37 <path id="wholeLibs">38 <path refid="libplugin"></path>39 <path refid="libcore"></path>40 </path>41 42 <!-- ################################################ -->43 <!-- TARGETS -->44 <!-- ################################################ -->45 46 19 <target name="cleanAll" description="deletes class files in the project"> 47 20 <delete failonerror="false"> … … 53 26 </target> 54 27 55 <target name="jsmtpd-core-jar" description="package the core of jsmtpd"> 56 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="libcore" fork="yes" 57 includes="org/jsmtpd/**" encoding="ISO8859_2" 58 excludes="org/jsmtpd/plugins/**"></javac> 59 <jar destfile="${release.dir}/lib/jsmtpd-core.jar" basedir="bin/" includes="org/jsmtpd/**" excludes="org/jsmtpd/plugins/**"/> 28 <target name="jsmtpd-jar" description="package jsmtpd"> 29 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="lib" 30 includes="org/jsmtpd/**" encoding="UTF-8"/> 31 <jar destfile="${release.dir}/lib/jsmtpd-core.jar" basedir="bin/" includes="org/jsmtpd/**"/> 60 32 </target> 61 62 <target name="jsmtpd-basicplugins-jar" description="package the basic plugins of jsmtpd"> 63 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="wholeLibs" fork="yes" encoding="ISO8859_2" 64 includes="org/jsmtpd/plugins/GenericRBLFilter*,org/jsmtpd/plugins/smtpExtension/**,org/jsmtpd/plugins/acls/**,org/jsmtpd/plugins/deliveryServices/**,org/jsmtpd/plugins/dnsServices/**,org/jsmtpd/plugins/filters/builtin/**,org/jsmtpd/plugins/filters/ldap/**"> 65 </javac> 66 <jar destfile="${release.dir}/plugins/basicPlugins.jar" basedir="bin/" 67 includes="org/jsmtpd/plugins/GenericRBLFilter*,org/jsmtpd/plugins/smtpExtension/**,org/jsmtpd/plugins/acls/**,org/jsmtpd/plugins/deliveryServices/**,org/jsmtpd/plugins/dnsServices/**,org/jsmtpd/plugins/filters/builtin/**,org/jsmtpd/plugins/filters/ldap/**" 68 /> 69 70 </target> 71 72 <target name="jsmtpd-clamav" description="jsmtpd clamAV plugin"> 73 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="wholeLibs" fork="yes" encoding="ISO8859_2" 74 includes="org/jsmtpd/plugins/filters/ClamAV/**"> 75 </javac> 76 <mkdir dir="${release.dir}/plugins/filters/ClamAV/"/> 77 <jar destfile="${release.dir}/plugins/filters/ClamAV/jsmtpd-clamav.jar" basedir="bin/" 78 includes="org/jsmtpd/plugins/filters/ClamAV/**"> 79 </jar> 80 </target> 81 82 <target name="jsmtpd-SA" description="jsmtpd spamassassin plugin"> 83 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="wholeLibs" fork="yes" encoding="ISO8859_2" 84 includes="org/jsmtpd/plugins/filters/SA/**"> 85 </javac> 86 <mkdir dir="${release.dir}/plugins/filters/SA/"/> 87 <jar destfile="${release.dir}/plugins/filters/SA/jsmtpd-SA.jar" basedir="bin/" 88 includes="org/jsmtpd/plugins/filters/SA/**"> 89 </jar> 90 </target> 91 92 <target name="jsmtpd-snippet" description="jsmtpd signature snippet plugin"> 93 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="wholeLibs" fork="yes" encoding="ISO8859_2" 94 includes="org/jsmtpd/plugins/filters/snippets/**"> 95 </javac> 96 <jar destfile="${release.dir}/plugins/jsmtpd-snippet.jar" basedir="bin/" 97 includes="org/jsmtpd/plugins/filters/snippets/**"> 98 </jar> 99 </target> 100 101 <target name="jsmtpd-IPFIlters" description="jsmtpd ip check input filters (RBL, blacklist)"> 102 <javac debug="on" srcdir="${src.dir}" destdir="${build.dir}" classpathref="wholeLibs" fork="yes" encoding="ISO8859_2" 103 includes="org/jsmtpd/plugins/inputIPFilters/**"> 104 </javac> 105 <mkdir dir="${release.dir}/plugins/inputIPFilters/"/> 106 <jar destfile="${release.dir}/plugins/inputIPFilters/jsmtpd-inputIPFilters.jar" basedir="bin/" 107 includes="org/jsmtpd/plugins/inputIPFilters/**"> 108 </jar> 109 </target> 110 33 111 34 <target name="cleanRelease" description="clean the release output folder"> 112 35 <delete failonerror="false"> 113 36 <fileset dir="${release.dir}" includes="**/*"/> 114 37 </delete> 115 116 38 <mkdir dir="${build.dir}"/> 117 39 <mkdir dir="${release.dir}"/> … … 174 96 175 97 <target name="packRelease" depends="buildFullRelease"> 176 <!--<zip destfile="${release.output}/Jsmtpd-${start.DSTAMP}${start.TSTAMP}.zip" basedir="${release.tmpPath}"/>-->177 98 <tar tarfile="${release.output}/Jsmtpd-${start.DSTAMP}${start.TSTAMP}.tar.bz2" basedir="${release.tmpPath}" compression="bzip2"/> 178 99 <tar tarfile="${release.output}/Jsmtpd-${start.DSTAMP}${start.TSTAMP}.tar.gz" basedir="${release.tmpPath}" compression="gzip"/> 179 100 </target> 180 101 181 <target name="buildFullRelease" 182 depends="cleanAll,cleanRelease,jsmtpd-core-jar,jsmtpd-basicplugins-jar,baseRelease,jsmtpd-clamav,jsmtpd-SA,jsmtpd-IPFIlters,jsmtpd-snippet"> 183 </target> 184 102 <target name="buildFullRelease" depends="cleanAll,cleanRelease,jsmtpd-jar,baseRelease"/> 185 103 </project>
