3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco<?xml version="1.0" encoding="UTF-8"?>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco<project name="EGrok" default="build">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <loadproperties srcfile="build.properties" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <loadproperties srcfile="userbuild.properties">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </loadproperties>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <target name="clean">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <delete dir="/build" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </target>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <target name="build" depends="clean">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <mkdir dir="/build" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <javac srcdir="src" destdir="/build">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <classpath>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <fileset dir="${eclipse.home}/plugins">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <include name="*.jar" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </fileset>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <fileset dir="/lib">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <include name="*.jar" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </fileset>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </classpath>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </javac>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <copy file="plugin.xml" tofile="/build/plugin.xml" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <copy todir="/build/META-INF">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <fileset dir="/META-INF">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <include name="*" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </fileset>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </copy>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <copy todir="/build/lib">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <fileset dir="/lib">
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <include name="*" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </fileset>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </copy>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <tstamp>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <format property="timestamp" pattern="yyyyMMddkkmm" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </tstamp>
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco <zip basedir="/build" file="/build/org.opensolaris.opengrok.egrok_${build.version}.v${timestamp}.jar" />
3436009bb8409e0a2d7f10a81fc99506ed3e6ca5Lubos Kosco </target>
d7774d454c2413635d217e6ed4f5b7c897aa575cralphmayr</project>