diff options
-rw-r--r-- | dev-lang/tuprolog/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/tuprolog/files/build.xml | 55 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog index 5fd773a2a763..0db9b82c10f3 100644 --- a/dev-lang/tuprolog/ChangeLog +++ b/dev-lang/tuprolog/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/tuprolog # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.3 2006/10/04 06:38:53 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.4 2006/10/06 22:12:31 keri Exp $ + + 06 Oct 2006; keri <keri@gentoo.org> +files/build.xml: + Add custom build.xml *tuprolog-1.3.0-r1 (04 Oct 2006) diff --git a/dev-lang/tuprolog/files/build.xml b/dev-lang/tuprolog/files/build.xml new file mode 100644 index 000000000000..c2a5eb1c98fd --- /dev/null +++ b/dev-lang/tuprolog/files/build.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> + +<project name="tuprolog" default="jar"> + <!-- some properties --> + <property name="src.dir" value="src" /> + <property name="build.dir" value="build" /> + <property name="docs.dir" value="docs" /> + <property name="dist.dir" value="dist"/> + + <property name="jarfile" value="${ant.project.name}.jar"/> + + <property file="build.properties"/> + + <!-- init --> + <target name="init"> + <tstamp/> + <mkdir dir="${dist.dir}"/> + <mkdir dir="${build.dir}"/> + <mkdir dir="${docs.dir}"/> + </target> + + <!-- compile everything --> + <target name="compile" depends="init"> + <javac srcdir="${src.dir}" destdir="${build.dir}" classpath="${classpath}" source="1.3" target="1.4" encoding="ISO-8859-1" deprecation="on"/> + <copy todir="${build.dir}"> + <fileset dir="${src.dir}"> + <exclude name="**/*.java" /> + </fileset> + </copy> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${dist.dir}/${jarfile}" basedir="${build.dir}"/> + </target> + + <!-- generate javadocs --> + <target name="javadoc" depends="init"> + <javadoc sourcepath="${src.dir}" + packagenames="alice.*" + destdir="${docs.dir}" + author="true" + version="true" + use="true" + windowtitle="${ant.project.name} API" + encoding="ISO-8859-1" /> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + <delete dir="${docs.dir}"/> + </target> +</project> |