I'm familiar with the idea of calling (for instance) TemplateSubTask.setDestinationFile("{0}-foo.txt");
to augment my input filename as shown. However, I want to process the substitution value myself. Specifically, my XDoclet task is reading from a class named e.g. ICustomerDAO.java, and I want to generate a class named Customer.java - removing the "I" and the "DAO". Unfortunately I can't get at the input filename since it's all internal to the workings of XDoclet/Ant. Any ideas? Many thanks, Chris Boulter ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user