• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Ant Custom Task

 
Ranch Hand
Posts: 393
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to sneak into Ant Custom Taks. I was trying out Nested tasks, which I was able to work it out.
<helloworld name="Shashank">
<hellochild/>
</helloworld>

I would like to you use the name attribute in the helloChild task. How can I achieve this. One way is to pass the attribute to the hellOcHILD class. Is there any way by which I can access all the values of the parent class.




Thanks
 
Nikhil Jain
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am still not able to figure it out, is there any better way to do the above task
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think I understand what your problem is. In which way is the code you provided not doing what you want it to do?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!