> -----Original Message-----
> From: Oystein Aadland [mailto:[EMAIL PROTECTED]]
> Sent: 3. desember 2002 13:45
> To: 'Aslak Helles�y'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [Xdoclet-user] Problem using template file for JBoss 3 cmp
> in xDoclet 1.2 beta 1
>
>
> Thanks for your response (And to Konstantin). That solved my problem.
>
> It look however that this property is not part of the beta 1 download. I
> guess I have to grab the latest version from cvs.
>

You're right, it was fixed on nov. 6.
http://tinyurl.com/36kd
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=X
DT-109

> Oystein
>
> -----Opprinnelig melding-----
> Fra: Aslak Helles�y [mailto:[EMAIL PROTECTED]]
> Sendt: 3. desember 2002 13:23
> Til: Oystein Aadland; [EMAIL PROTECTED]
> Emne: RE: [Xdoclet-user] Problem using template file for JBoss 3 cmp in
> xDoclet 1.2 beta 1
>
>
> the templateFile attribute only works for subtasks that only contain one
> internal template. the jboss subtask has several internal templates (jaws,
> jbosscmp-jdbc) so you shoud use the appropriate set method = ant attribute
> to set them. In your case:
>
> jbosscmpTemplateFile="lib/xdoclet/jbosscmp-jdbc_xml.xdt"
>
> hth,
> aslak
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Oystein
> > Aadland
> > Sent: 3. desember 2002 12:53
> > To: '[EMAIL PROTECTED]'
> > Subject: [Xdoclet-user] Problem using template file for JBoss 3 cmp in
> > xDoclet 1.2 beta 1
> >
> >
> > Hi
> >
> > I'm trying to make a template file for JBoss 3.0.x were I can insert
> > jboss-ql for all ejb-ql lines. This is becase we need som
> extras that are
> > not included in ejb-ql. However when I try to load the modified
> > jbosscmp-jdbc_xml.xdt file nothing happens. I've even tried to
> put serious
> > errors into the file that should make errors, but still nothing
> > happens. So
> > it doesn't look like the modified file is beeing used. However,
> when I put
> > in a reference to a file that doesn't exist I get an error message. Does
> > anybody know what's wrong? I've also done som additions to the lookup
> > template, and that works fine.
> >
> > I'm using xDoclet 1.2 beta 1 with Jboss 3.0.4
> > Build.xml:
> >
> > --Clip
> > <ejbdoclet verbose="true" destdir="${generated.src.dir}"
> > excludedtags="@version,@author" ejbspec="2.0" mergeDir="lib/xdoclet">
> >         <fileset dir="${generated.src.dir}">
> >             <include name="**/*Bean.java"/>
> >          </fileset>
> >         <fileset dir="${java.dir}">
> >             <include name="**/*Bean.java"/>
> >          </fileset>
> >
> >          <dataobject/>
> >          <localinterface prefixWithPackageStructure ="true"/>
> >          <remoteinterface/>
> >          <utilobject templateFile="lib/xdoclet/lookup.xdt"
> > includeGUID="yes"/>
> >          <homeinterface/>
> >          <localhomeinterface/>
> >          <entitypk/>
> >          <entitycmp/>
> >          <entitybmp/>
> >          <session/>
> >
> >          <deploymentdescriptor
> >             destdir="build"
> >             xmlencoding="ISO-8859-1"
> >             validatexml="true"
> >             mergedir="lib"
> >          />
> >          <jboss
> >             version="3.0"
> >             datasource="java:/regina1"
> >             typemapping="DB2"
> >             destdir="build/jboss30"
> >             xmlencoding="ISO-8859-1"
> >             validatexml="false"
> >             mergeDir="lib/jboss"
> >             templateFile="lib/xdoclet/jbosscmp-jdbc_xml.xdt"
> >          />
> >          <weblogic
> >             version="6.1"
> >             datasource="regina1"
> >             destdir="build/weblogic61/classes/META-INF"
> >             xmlencoding="ISO-8859-1"
> >             validatexml="false"
> >             mergeDir="lib/weblogic"
> >          />
> >
> >       </ejbdoclet>
> >
> > --Clip
> >
> > I could of course put the xdt file back into the jar file, but
> > that doesn't
> > seem right, and should not be necessary (I hope).
> >
> > Thanks
> > Oystein Aadland
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Get the new Palm Tungsten T
> > handheld. Power & Color in a compact size!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to