Skip to content

Instantly share code, notes, and snippets.

@artem78
Created December 8, 2023 19:26
Show Gist options
  • Save artem78/473d7bf05bc57691604b1bf5b240c71e to your computer and use it in GitHub Desktop.
Save artem78/473d7bf05bc57691604b1bf5b240c71e to your computer and use it in GitHub Desktop.
Apache Ant build.xml template
<?xml version="1.0"?>
<project name="My project" xmlns:if="ant:if" xmlns:unless="ant:unless">
<!-- Properties: -->
<!-- <property file="build.properties"/> -->
<property name="build_dir" location="build"/>
<!-- Targets: -->
<target name="clean">
<delete dir="${build_dir}"/>
</target>
<target name="init" depends="clean">
<mkdir dir="${build_dir}"/>
</target>
<target name="build" depends="clean">
<!--
todo: write me...
-->
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment