I changed the ant rule for javadoc.
authorMarkus Bröker <mbroeker@largo.homelinux.org>
Sat, 13 Dec 2008 13:41:36 +0100
changeset 2 f4add19ab159
parent 1 930f3c241fa5
child 3 673c7ef3411e
I changed the ant rule for javadoc.
.gitignore
build.xml
new file mode 100644
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,1 @@
+doc/*
--- a/build.xml
+++ b/build.xml
@@ -6,7 +6,7 @@
 	<property name="jar.file" value="bin/games.jar" />
 	<property name="classpath.dir" value="/usr/local/lib/classes" />
 	<property name="www.dir" value="/var/www/localhost/htdocs/classes" />
-	<property name="docs.dir" value="docs/" />
+	<property name="docs.dir" value="doc/" />
 	<property name="debug" value="simu" />
 
 	<property name="distributable.exts"
@@ -30,24 +30,24 @@
 	    depends="compile,docs-init"
     	description="Generate JavaDocs.">
 
-    <javadoc destdir="${docs.dir}"
-        author="true"
-        version="true"
-        use="true"
-        windowtitle="${ant.project.name}"
-        sourcepathref="Schach.classpath"
-        packagenames="org.*"
-        verbose="false">
-        <doctitle><![CDATA[<h1>${ant.project.name}</h1>]]></doctitle>
-        <bottom>
-            <![CDATA[<i>Developed by Largo Enterprises in 2008</i>]]>
-        </bottom>
-    </javadoc>
+	    <javadoc destdir="${docs.dir}"
+    	    author="true"
+        	version="true"
+	        use="true"
+    	    windowtitle="${ant.project.name}"
+        	sourcepathref="Schach.classpath"
+	        packagenames="org.*"
+    	    verbose="false">
+        	<doctitle><![CDATA[<h1>${ant.project.name}</h1>]]></doctitle>
+	        <bottom>
+    	        <![CDATA[<i>Developed by Largo Enterprises in 2008</i>]]>
+        	</bottom>
+	    </javadoc>
+	</target>
 
+	<target name="docs-init">
+	    <mkdir dir="${docs.dir}"/>
 	</target>
-		<target name="docs-init">
-		    <mkdir dir="${docs.dir}"/>
-		</target>
 
 	<target name="docs-clean">
     	<delete dir="${docs.dir}"/>