Skip to content

Instantly share code, notes, and snippets.

@steppat
Created December 20, 2011 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steppat/1499732 to your computer and use it in GitHub Desktop.
Save steppat/1499732 to your computer and use it in GitHub Desktop.
exemplo echo no build.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="compilar" default="empacotar" basedir=".">
<property name="build.dir" value="alguma pasta dentro do projeto" />
<target name="init">
<echo message="Initilzando a construção do projeto" />
<echo message="${build.dir}"/>
</target>
<target name="compilar" depends="init">
<echo message="compilando as classes" />
</target>
<target name="empacotar" depends="compilar">
<echo message="empacotando as classes" />
</target>
<target name="limpar">
<echo message="Limpando arquivos" />
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment