On Tue, 2003-09-23 at 16:28, Mark Lybarger wrote: > I've been looking for a way to get around this using standard ant tasks, but > I'm not sure if it's workable. > > i'd like to give the output of the deploymentdescriptor task to be just the > ejb-name, not > <ejb-name>Bean-ejb-jar.xml, etc. This is because the ejb jar files that we > deploy are named beanName.jar and not beanNameBean.jar. The ejb-jar task > lets me specify to use the ejb-name from the deployment descriptors when > creating the ejb jar file, but when i use that it's looking for deployment > descriptors name ejb-jar.xml (without the bean name as part of the file). > here's my current deployment descriptor task. > > <deploymentdescriptor > destinationFile="{0}-ejb-jar.xml" destDir="${basedir.webapp.web-inf.src}"/>
The deployment descriptor should *always* be named ejb-jar.xml, and be found in the /META-INF directory in your ejb jar. That's what the EJB spec says, and they're unlikely to deploy correctly otherwise. That's why the default destinationFile value is "ejb-jar.xml" for that subtask. Why would you want to do any different? Or have I misunderstood your question? Andrew. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user