Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic