• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tag with xdoclet

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know it is a xdoclet question. I hope someone can help me.
I use the xdoclet to generate the tld file. Unforturnately I have
only the content

<taglib>

<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>hext</short-name>

</taglib>

The Tag file entry is not generated in? Is there a good way to debug the xdoclet generation?

Thanks
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm... can you post the <webdoclet> section from your build.xml? I haven't used XDoclet to generate a taglib before (mostly just EJBs), but it sounds like it can't find the files needed - and having something slightly wrong in the fileset is the most likely cause I can think of...
 
Urs Wagner
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<target name="web.doclet" depends="init">
<taskdef name="webdoclet"
classname="xdoclet.modules.web.WebDocletTask"
classpathref="xdoclet.class.path"/>

<webdoclet destdir="${build.dir}/WEB-INF"
mergedir="${xdoclet.merge.dir}/web">

<fileset dir="${web.dir}" includes="**/*Base.java" />
<fileset dir="${web.dir}" includes="**/*Filter.java" />
<fileset dir="${web.dir}" includes="**/*Servlet.java" />
<fileset dir="${web.dir}" includes="**/*Tag.java" />

<jsptaglib validatexml="true"
filename="hext.tld"
shortname="hext" />

<deploymentdescriptor>
<taglib
uri="hext"
location="/WEB-INF/hext.tld" />
</deploymentdescriptor>
<jbosswebxml />
</webdoclet>
</target>
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One thing that looks suspicious to me is this section:


Is your Java source code really under the directory defined as ${web.dir}? I know it's not standardized or anything, but I usually put source under something like ${src.dir}, and let ${web.dir} contain html, jsps, etc.
 
Urs Wagner
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank I changed there is not effect. Perhaps could You post a complete build.xml? I could work then work with Yours.
I am trying it since a long time.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic