Commits

Meikel Brandmeyer committed ca065b4

Improved build.xml

* build.xml <precompile>: removed obsolete property

* build.xml (jar): include README and LICENSE in the jar file
(jar): only include .class files under the de/kotka root

* build.xml (delete): fix wrong property reference to monad_jar

Comments (0)

Files changed (3)

LICENSE

-Copyright 2008 (c) Meikel Brandmeyer.
-All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+Copyright 2008 (c) Meikel Brandmeyer.
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
 	<property name="src" location="src"/>
 	<property name="build" location="classes"/>
 	<property name="monad_jar" location="monad.jar"/>
-	<property name="precompile" location="precompile.clj"/>
 	<property name="clojure.lib" location="${env.CLOJURE_LIB}"/>
 
 	<path id="clojurelib">
 
 	<target name="jar" depends="aot"
 		description="Create jar file.">
-		<jar jarfile="${monad_jar}" basedir="${build}">
+		<jar jarfile="${monad_jar}">
+			<path location="README.txt"/>
+			<path location="LICENSE.txt"/>
 			<fileset dir="${src}" includes="**/*.clj"/>
+			<!-- Make sure, we don't include dependencies. -->
+			<fileset dir="${build}" includes="de/kotka/**/*.class"/>
 			<manifest>
 				<attribute name="Class-Path" value="."/>
 			</manifest>
 	<target name="clean"
 		description="Remove autogenerated files and directories.">
 		<delete dir="${build}"/>
-		<delete file="${jar}"/>
+		<delete file="${monad_jar}"/>
 	</target>
 
 </project>