Mega Code Archive

 
Categories / Java Tutorial / Ant
 

Resource file base properties

<?xml version="1.0"?> <project name="Apache Ant Properties Project" basedir=".">      <target name="properties.resourcefile">     <!--     <property resource="build.res.properties" classpath="./lib"/>     -->     <property resource="build.res.properties">       <classpath path="./lib"/>     </property>     <path id="build.classpath.id">       <pathelement path="${build.classpath}"/>     </path>     <property name="build.classpath.property" refid="build.classpath.id"/>     <echo message="Server URL: ${server.url}"/>     <echo message="Build classpath: ${build.classpath}"/>     <echo message="Build classpath converted: ${build.classpath.property}"/>   </target> </project>