Mega Code Archive

 
Categories / Java Tutorial / Ant
 

Imported prefix

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