Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

61 lines (46 sloc) 1.489 kb
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="jar" name="dbc">
<!-- Laden unserer Property-Datei für Zugriff auf Konstanten (Details folgen unten) -->
<property file=""/>
<path id="dbc.sourcepath">
<pathelement location="${path.src}"/>
<path id="dbc.classpath">
<fileset dir="${path.lib}">
<include name="**/*.jar"/>
<target name="init">
<mkdir dir="${path.bin}"/>
<mkdir dir="${path.jar}"/>
<copy includeemptydirs="false" todir="${path.bin}">
<fileset dir="${path.src}" excludes="**/*.launch"/>
<target depends="init" name="build">
<javac destdir="${path.bin}">
<src refid="dbc.sourcepath" />
<classpath refid="dbc.classpath" />
<target name="jar" depends="build">
<!-- Convert project class path to string property -->
<pathconvert property="manifest.classpath" pathsep=" ">
<path refid="dbc.classpath" />
<map from="${basedir}/" to=""/>
<delete verbose="on">
<fileset dir="${path.jar}" includes="*.jar"/>
<jar destfile="${path.jar}/${}.jar" baseDir="${path.bin}">
<attribute name="Main-Class" value="${manifest.mainclass}" />
<attribute name="Class-Path" value="${manifest.classpath}" />
<copy verbose="on" toDir="${path.jar}">
<fileset dir="${path.lib}" />
Jump to Line
Something went wrong with that request. Please try again.