I'm trying to use the template subtask to create deployment descriptors for
Pramati App Server 3.0. However, if my pramati.j file contains dummy data,
like just "<foo/>", no file gets created and ant continues to run. But if I
change pramati.j to something simple like "<!DOCTYPE pramati-j2ee-server
PUBLIC "<XDtXml:publicId/>" "<XDtXml:systemId/>">", I get the following
error (using Xdoclet 1.1.1):
[ejbdoclet] Running <template/>
[ejbdoclet] Running XDoclet failed:
[ejbdoclet] <<>>
[ejbdoclet] 1 error
[ejbdoclet] 5 warnings
[ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain, method
start has thrown an exception java.lang.reflect.InvocationTargetException
BUILD FAILED
Ara told me that the <template> task has a bunch of options, so I'm
wondering what they are so that I can get this to work. A snipplet of my
build.xml is:
<deploymentdescriptor destdir="${deployment}/ejb/" />
<orion destdir="${deployment}/ejb/" />
<weblogic destdir="${deployment}/ejb/" datasource="jdbc/DefaultDS" />
<jboss destdir="${deployment}/ejb/" typemapping="Oracle8" />
<template templatefile="${deployment}/template/pramati.j"
destinationfile="build/pramati-j2ee-server.xml" />
</ejbdoclet>
Any ideas?
-Pat
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user