Source

vimclojure / build.xml

Diff from to

File build.xml

-<project name="gorilla" default="all">
+<project name="vimclojure" default="all">
 
 	<description>
 		Build with "ant all".
 
 	<property name="src" location="src"/>
 	<property name="build" location="classes"/>
-	<property name="gorilla_jar" location="gorilla.jar"/>
+	<property name="jarfile" location="vimclojure.jar"/>
 
 	<property file="local.properties"/>
 
 				<pathelement location="${clojure-contrib.jar}"/>
 			</classpath>
 			<sysproperty key="clojure.compile.path" value="${build}"/>
-			<arg value="de.kotka.gorilla"/>
-			<arg value="de.kotka.gorilla.util"/>
-			<arg value="de.kotka.gorilla.repl"/>
-			<arg value="de.kotka.gorilla.backend"/>
-			<arg value="de.kotka.gorilla.nails"/>
+			<arg value="de.kotka.vimclojure.gencompletions"/>
+			<arg value="de.kotka.vimclojure.util"/>
+			<arg value="de.kotka.vimclojure.repl"/>
+			<arg value="de.kotka.vimclojure.backend"/>
+			<arg value="de.kotka.vimclojure.nails"/>
 		</java>
 	</target>
 
 		</exec>
 	</target>
 
-	<target name="prepare-full-jar" depends="init,aot,nailgun-server"
-		description="Include clojure and contrib sources."
-		if="standalone">
-		<unzip dest="${build}">
-			<patternset>
-				<include name="clojure/**/*.class"/>
-			</patternset>
-			<path location="${clojure.jar}"/>
-			<path location="${clojure-contrib.jar}"/>
-		</unzip>
-		<jar jarfile="${gorilla_jar}">
-			<path location="README.txt"/>
-			<path location="LICENSE.txt"/>
-			<fileset dir="${src}" includes="**/*.clj"/>
-			<fileset dir="${build}" includes="**/*.class"/>
-			<manifest>
-				<attribute name="Class-Path" value="."/>
-				<attribute name="Main-Class" value="de.kotka.gorilla"/>
-			</manifest>
-		</jar>
-	</target>
-
-	<target name="prepare-small-jar" depends="aot,nailgun-server"
-			description="Create jar file."
-			unless="standalone">
-		<jar jarfile="${gorilla_jar}">
+	<target name="jar" depends="aot,nailgun-server"
+		description="Create jar file.">
+		<jar jarfile="${jarfile}">
 			<path location="README.txt"/>
 			<path location="LICENSE.txt"/>
 			<fileset dir="${src}" includes="**/*.clj"/>
 		</jar>
 	</target>
 
-	<target name="jar" depends="prepare-small-jar,prepare-full-jar"/>
-
 	<target name="all" depends="jar,nailgun-client"/>
 
 	<target name="clean"
 		description="Remove autogenerated files and directories.">
 		<delete dir="${build}"/>
-		<delete file="${gorilla_jar}"/>
+		<delete file="${jarfile}"/>
 		<delete file="${nailgun-client}"/>
 	</target>