Rev 1007 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?xml version="1.0" encoding="UTF-8" standalone="no"?><project default="create_run_jar" name="ClientAgent" basedir="."><!--this file was created by Eclipse Runnable JAR Export Wizard--><!--and edited by Chandranshu to add the clean, init and build --><!--targets. --><!--ANT 1.7 is required --><property file="build.properties"/><path id="localClasspath"><fileset dir="${basedir}" includes="**/*.jar"/></path><target name="clean" description="Delete old build and dist directories"><delete file="${dist.home}/ClientAgent.jar"/><delete dir="${build.home}"/></target><target name="init" description="Create build directory"><mkdir dir="${build.home}" /></target><target name="build" depends="init" description="Compile Java sources"><javac srcdir="${source.home}"destdir="${build.home}"debug="${compile.debug}"deprecation="${compile.deprecation}"optimize="${compile.optimize}"source="1.5" target="1.5"classpathref="localClasspath"/><copy todir="${build.home}" file="${source.home}/log4j.properties"/></target><target name="create_run_jar" depends="build" description="Create Runnable Jar for Project ClientAgent"><jar destfile="${dist.home}/ClientAgent.jar" filesetmanifest="mergewithoutmain"><manifest><attribute name="Main-Class" value="in.shop2020.agent.utils.Agent"/><attribute name="Class-Path" value="."/></manifest><fileset dir="${build.home}"/><zipfileset excludes="META-INF/*.SF" src="${basedir}/lib/log4j-1.2.16.jar"/><zipfileset excludes="META-INF/*.SF" src="${basedir}/lib/sqljdbc.jar"/></jar></target></project>