ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laran Evans <lc...@cornell.edu>
Subject Macro param issue with dirname
Date Wed, 08 Dec 2004 18:47:31 GMT
So what's wrong with this? Intellij tells me that the @{root} in 
file="@{root}" on line 4 is not allowed.

Does the string value of the param not properly get interpreted as a file?

   <macrodef name="auto-deploy-web-app">
     <attribute name="root"/>
     <sequential>
       <dirname property="auto-deploy-app-name" file="@{root}"/>
       <copy todir="${my.dir.auto-deploy}">

       </copy>
     </sequential>
   </macrodef>


-- 
Laran Evans - Cornell University
p: (607) 255-6864 f: (607) 255-0327


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message