ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chuanjiang lo" <lochuanji...@gmail.com>
Subject Check null attributes in custom task
Date Fri, 05 May 2006 15:16:19 GMT
Hi all,

I have written an ant custom task..
something like..

<MyCustomTask>
    <NestedTask value="">
          <NestedNestedTask value=""/>
          .....
    </NestedTask>
</MyCustomTask>


What is the usual practice for checking if NestedTask and NestedNestedTask
value is not null.

Do i do it in the execute method of MyCustomTask and loop through the
vectorsand get the NestedTask object out and check the value?

Or is there a faster way to implement this?

Appreciate any inputs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message