ant と気合でファイルを読み込んで表示したい。
ant でファイルを読み込みたい。という思いがある。
loadFile → echo でいけます。
<?xml version="1.0" encoding="UTF-8"?>
<project name="change_your_project_name" default="cat" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<target name="cat">
<loadfile
property="git.properties"
srcFile="build.xml"/>
<echo message="${git.properties}"/>
</target>
</project>
Published: 2015-05-07(Thu) 23:24