summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/projectx/files/build-0.90.3.xml')
-rw-r--r--media-video/projectx/files/build-0.90.3.xml86
1 files changed, 0 insertions, 86 deletions
diff --git a/media-video/projectx/files/build-0.90.3.xml b/media-video/projectx/files/build-0.90.3.xml
deleted file mode 100644
index 75444df3136f..000000000000
--- a/media-video/projectx/files/build-0.90.3.xml
+++ /dev/null
@@ -1,86 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="projectx" default="jar">
- <!-- some properties -->
- <property name="src.dir" value="src" />
- <property name="build.dir" value="build" />
- <property name="docs.dir" value="apidocs" />
- <property name="dist.dir" value="dist" />
- <property name="lib.dir" value="lib" />
- <property name="resources.dir" value="resources" />
- <property name="htmls.dir" value="htmls" />
- <property name="jarfile" value="${dist.dir}/${ant.project.name}.jar" />
- <property name="target.jdk" value="1.4" />
-
- <!-- classpath -->
- <path id="refcp">
- <fileset dir="${lib.dir}">
- <include name="**/*.jar" />
- </fileset>
- </path>
-
- <!-- init -->
- <target name="init">
- <mkdir dir="${dist.dir}" />
- <mkdir dir="${build.dir}" />
- <mkdir dir="${docs.dir}" />
- </target>
-
- <!-- compile everything -->
- <target name="compile" depends="init">
- <mkdir dir="${build.dir}" />
- <javac srcdir="${src.dir}"
- destdir="${build.dir}"
- source="${target.jdk}"
- target="${target.jdk}"
- classpathref="refcp"
- encoding="ISO-8859-1"/>
-
- <copy todir="${build.dir}">
- <fileset dir="${resources.dir}" />
- <fileset file="${htmls.dir}" />
- </copy>
-
- <copy todir="${build.dir}/${htmls.dir}">
- <fileset dir="${htmls.dir}" />
- </copy>
- </target>
-
- <!-- build the jar file -->
- <target name="jar" depends="compile">
- <jar jarfile="${jarfile}" basedir="${build.dir}">
- <manifest>
- <attribute name="Main-Class" value="net.sourceforge.dvb.projectx.common.Start" />
- </manifest>
- </jar>
- </target>
-
- <!-- generate javadocs -->
- <target name="docs" depends="init">
- <javadoc sourcepath="${src.dir}"
- packagenames="net.*, edu.*"
- destdir="${docs.dir}"
- author="true"
- version="true"
- use="true"
- charset="UTF-8"
- encoding="ISO-8859-1"
- windowtitle="${ant.project.name} API" />
- </target>
-
- <!-- clean up -->
- <target name="clean">
- <delete dir="${build.dir}" />
- <delete dir="${docs.dir}" />
- <delete dir="${dist.dir}" />
- <delete dir="${lib.dir}" />
- </target>
-
- <!-- zip the sources -->
- <target name="sourcezip">
- <zip destfile="${dist.dir}/${ant.project.name}-src.zip">
- <zipfileset dir="${src.dir}" />
- </zip>
- </target>
-
-</project>