How to assign variables like Ant?
807606Apr 27 2007 — edited Apr 29 2007This is a Ant config file named build.xml:
<property file="${basedir}/build.properties" />
<property name="Name" value="ProjectFullName"/> //setting some variables for later using...
<property name="name" value="project_name"/>
<property name="version" value="0.2"/>
<property name="year" value="2003"/>
<echo message="----------- ${Name} ${version} [${year}] ------------"/>//use the variables which has been set before...
I need do the same work like ant does.
Q1: Is there any component can solved this work? What name is it?
Q2: If the component exists, Can it be seperated to "local scope" and "global scope"?
Thank you and best regards!