#91 The <var> type doesn't support the "unset" attribute

closed
nobody
property (13)
5
2004-05-13
2004-05-07
Anonymous
No

The following task -
<var name="war.file.name" unset="true"/>

Generates a following error -

The <var> type doesn't support the "unset" attribute

Even though the Ant docs talk about the unset option
for a var task.

I am running a <for> task (on a list of files) and need to
use <basename> task on a file-path within this for loop.
This property needs to reflect a new value evertime in a
for loop. "<var unset" seems the only way I can do it.

But it doesnt work.

kapil_israni@yahoo.com

Discussion

  • Matt Inger

    Matt Inger - 2004-05-13
    • status: open --> closed
     
  • Matt Inger

    Matt Inger - 2004-05-13

    Logged In: YES
    user_id=83032

    The "unset" attribute exists in the CVS version, and it's
    possibly you just have an old jar version. Please build from
    CVS.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks