• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XDoclet - Output filename from JavaDoc tag

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Suppose I have a Java file XYZ.java and the contents of XYZ.java is as follows

I want to use the output filename to be that which is specified in @mytag filename, which is "ABC.txt".
How do I go about doing this? I am prepared to write my own custom tag handler, but I do not know how to extract the "ABC.txt" in my custom tag handler.
I do not want to specify "ABC.txt" as part of any attribute in my custom task or subtask of the Ant's build.xml.
Many thanks!
Best Regards
[ February 20, 2004: Message edited by: Frankie Cha ]
[ February 20, 2004: Message edited by: Frankie Cha ]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic