Java Tutorial/Ant/Output

Материал из Java эксперт
Перейти к: навигация, поиск

Output message

   <source lang="java">

<?xml version="1.0"?> <project name="Apache Ant Properties Project" basedir=".">

 <target name="build.path">
   <echo message="File: ${basedir}${file.separator}build.xml"/>
   <echo message="Path: ${basedir}${file.separator}build.xml${path.separator}${basedir}${file.separator}build.properties"/>
 </target>

</project></source>