Created
January 23, 2011 17:22
-
-
Save rik0/792238 to your computer and use it in GitHub Desktop.
Clojure Buildfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="module_clojure" default="compile.module.clojure"> | |
<dirname property="module.hdsnetsym.basedir" file="${ant.file.module_clojure}"/> | |
<target name="compile.module.clojure" description="Compile clojure scripts of ..."> | |
<java classname="clojure.lang.Compile"> | |
<classpath> | |
<path location="${current_module.output.dir}"/> | |
<path location="${basedir}/../path/to/some.jar"/> | |
<path location="${basedir}/../../path/to/another/some.jar"/> | |
<path location="${module.current_module.basedir}/src"/> | |
<path location="${module.current_module.basedir}/lib/clojure.jar"/> | |
<!-- path location="${module.current_module.basedir}/clojure-contrib.jar"/ --> | |
</classpath> | |
<sysproperty key="clojure.compile.path" value="${current_module.output.dir}"/> | |
<sysproperty key="java.awt.headless" value="true"/> | |
<arg value="fully.qualified.name.of.ClassToCompile" /> | |
<arg value="fully.qualified.name.of.AnotherClassToCompile" /> | |
</java> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment