ant - calling a target from a particular directory -


i have script call below target before calling target want should @ following location stored in below variable ..

todir="${release.deployment.tool} 

the target called shownb below..

<target name="deploy-ion" description="used deploy given aaa."> 

so when target deploy-ion being called should make sure should in directory stored in todir , please advise how achieve this.

i meant can use absolute path of property reference while performing set of tasks inside target, default uses basedir default value cur-dir or 1 specified @ project level @ beginning of build.xml file.

also alternatively can use ant's ant task : https://ant.apache.org/manual/tasks/ant.html usage like

<ant dir="${release.deployment.tool}" target="deploy-ion" />


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -