I just downloaded the 1.0.4 plugin, I have it installed under ${api}/XDoclet/xdoclet-plugins-dist-1.0.4. I need some help migrating my XDoclet1 -> XDoclet2. I looked at the Web plugin and it still appears to support the XDoclet1 tags.

I looked at the ant examples on the XDoclet2 website but I still can't figure it out. Here are the xdoclet tags from my old build.xml ... can somebody please help me migrate this to work with the XDoclet2 jars.

.... <snip> ....


<!-- the classpath needed for xdoclet generation -->
<path id="xdoclet.classpath">
   <path refid="project.classpath" />
   <fileset dir="${api}/xdoclet-1.2.3/lib">
      <include name="*.jar" />
   </fileset>
</path>

<!-- generate the xdoclet source and config files -->
<target name="init-xdoclet" description="generate xdoclet src">
   <mkdir dir="${xdoclet}" />
   <taskdef
      classpathref="xdoclet.classpath"
      classname="xdoclet.modules.web.WebDocletTask"
      name="webdoclet"/>
   <webdoclet
         destDir="${xdoclet}/WEB-INF"
         mergeDir="${xdoclet.merge}">
      <fileset
         dir="${src}"
         includes="com/psasoft/internet/agent/**/*" />
      <jsptaglib
         Jspversion="1.2"
         taglibversion="1.0"
         shortname="psa-agent-taglib"
         description="PSA Internet - Agent Tag Library"
         filename="psa-agent-taglib.tld" />
      <deploymentdescriptor
         Servletspec="2.3"
         displayname="PSA Internet Agent"
         description="PSA Internet Agent" />
   </webdoclet>
</target>


.... <snip> ....


Thanks,
Robert

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to