I am using destinationfile and specifying a file. It isn't a problem with
file locations, I don't think. It seems that basically any element, such as
<XdtEjb:ejbName/> doesn't work. It's as if the template subtask isn't
finding the classes for all these tags (?).
-Pat
>From: "Ara Abrahamian" <[EMAIL PROTECTED]>
>To: "'Patrick Lightbody'" <[EMAIL PROTECTED]>,
><[EMAIL PROTECTED]>
>Subject: RE: [Xdoclet-user] <template> subtask
>Date: Fri, 22 Feb 2002 12:00:29 +0330
>
> > 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
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user