Well, for starters - 1.0.3 is pretty old version and I'm not sure it worked well back then. Now there is 1.0.4-SNAPSHOT ( ougth to be released, pretty mature ) and taglib plugin is moved to plugin-web
Also as we have maven-2 build easiest way would be to use m2, or m2 ant tasks which will provide dependencies for you. Looking into source tells me that parameter for destination file name could be "filereplace" ( though I not tried it myself, as I do not use taglib generation at all - I prefer velocity ) regards, --- Bob Arnott <[EMAIL PROTECTED]> wrote: > I'm having some issues with the TaglibPlugin that I > hope someone can help > me with. I tried using the "example" in the coffee > break introduction, but > it didn't work as JAR file referenced in the line: > > <pathelement > location="${xdoclet.plugin.install.dir}/plugins/xdoclet-plugin-command.jar"/> > > Doesn't exist in the distribution. So I changed the > example to just include > all the JARs in the plugin folder and it started to > create a tld file. > However, how do I specify a name for the tld...? It > currently creates a > file called taglib.tld, is there not a way to > specify the name to use...? > > My main problem is that it's not creating any tags > in the file, it just > creates the header portion of the file. Here's my > Ant target: > > <target name="generate-resources" > depends="process-sources"> > <!-- Generate the TLD file for the tag > library... --> > <property name="xdoclet.plugin.install.dir" > value="${libs}/xdoclet-plugins-1.0.3/" /> > > <path id="xdoclet.task.classpath"> > <fileset > dir="${xdoclet.plugin.install.dir}/lib" > includes="**/*.jar" /> > <fileset > dir="${xdoclet.plugin.install.dir}/plugins/" > includes="**/*.jar" /> > </path> > > <taskdef name="xdoclet" > classname="org.xdoclet.ant.XDocletTask" > classpathref="xdoclet.task.classpath" /> > > <xdoclet> > <!-- Specifies the files that have xdoclet2 > tags... --> > <fileset dir="${src.main.java}"> > <include name="com/example/tags/*.java" /> > </fileset> > > <!-- invoke the plugin --> > <component > classname="org.xdoclet.plugin.web.TaglibPlugin" > > destdir="${target.classes}/META-INF" > includelisteners="false" > jspversion="2.0" > displayname="Tags" > description="Description" > taglibversion="1.0" > shortname="tags" > > uri="http://www.example.com/tags" > encoding="UTF-8" /> > </xdoclet> > </target> > > I've got the @jsp.tag in the class comment and > @jsp.attribute tags in the > getter comments. So why am I not getting any tags in > my tld...? > > Cheers, > > -- > Bob Arnott > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > xdoclet-plugins-interest mailing list > xdoclet-plugins-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest