> 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?
Look at the docs for <template/>. Docs/index.html->ejbdoclet->elements
... common to all tasks.
You should use destDir, and destinationFile is a file not a path. Maybe
that's the problem?
Ara.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user