Hi,
I've been away for a while from Xdoclet, and now returning. I am using version 1.1.2 , as we only use JDK 1.3 for compiling, and I saw a note that JDK 1.4 is required for the latest version. Based on that, can someone give me any clues as to how I can write a file called 'AbstractFooBarFactory' using either just a custom template or a custom template and subtask? I tried using the following inside my ejbdoclet in Ant:
<template
templateFile="${bmiRoot}/BuildTools/xdoclet/lib/AbstractFactory.j"
destinationFile="Abstract{0}Factory.java"
ofType="javax.ejb.SessionBean,javax.ejb.EntityBean"
extent="hierarchy" havingClassTag="ejb:bean"/>
But, {0} seems to have the EJB full name FooBarBean, where I only want FooBar. Thus, I'm assuming I need a new subtask to the ejbdoclet.. If so, can someone advise me as to how I can insert a new subtask, such that I can compute the filename better, and then callout to a template I have setup already? I've searched mail-archive.com and the docs, but haven't found anything like this - its mostly simple template examples.
Thanks,
James
