<!-- Your name here -->
<property name="author" value="C. Reeper" />
<!-- Your release version here -->
<property name="version" value="1.0.0" />
<!-- Choose ".zip" or ".jar" as the dist file extension -->
<property name="filetype" value="zip" />
<!-- Update if mcp directory isn't in same location as this file -->
<property name="mcp.dir" location="./mcp" />
<!-- Update if dist directory isn't in same location as this file -->
<property name="dist.dir" location="./dist" />
<!-- Update only if build directory isn't in same location as this file -->
<property name="build.dir" location="./build" />
<!-- Update to point to your Python executable. Example: /usr/bin/python -->
<!-- The following location is for Windows: -->
<property name="python" location="${mcp.dir}/runtime/bin/python/python_mcp.exe" />
<target name="init" description="Initialize build environment">
<echo message="Cleaning old build and dist, MCP reobf directories" />
<delete dir="${build.dir}" />
<delete dir="${dist.dir}" />
<delete dir="${mcp.dir}/reobf" />
<target name="stage" description="Stage resources into build directory">
<copy todir="${build.dir}">
<fileset dir="${mcp.dir}/reobf/minecraft" excludes=".svn/**, *.txt" />
</copy>
<!-- Copy other stuff specific to your project -->
</target>
<target name="all" description="Perform all tasks for a build" depends="init, recompile, reobfuscate, stage, jarzip">
<echo message="MCP Ant Build Completed!" />
</target>