ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chuanjiang lo" <>
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..

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

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

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