Hi,

I've got the following webdoclet tag in my build.xml :

<<
    <webdoclet destdir="${tmp.web.descriptor.websphere.51.dir}"
mergeDir="${source.servlets.descriptor.dir}">

      <deploymentdescriptor sessiontimeout="600" >

        <taglib uri="fmstaglib" location="/WEB-INF/tlds/xxxxtaglib.tld" />

      </deploymentdescriptor>
      <webspherewebxml/>

      <fileset dir="${source.dir}">

        <include name="**/controller/*Servlet.java"/>

      </fileset>

    </webdoclet>
>>

And I've got the following error message when I'm executing this task :

<<
[webdoclet] file:/var/pub/work/tagada/build.xml:904: webspherewebxml:
'templateFile' parameter missing. Specify both 'destinationFile' and
'templateFile' configuration parameters please.
[webdoclet]     at xdoclet.DocletTask.validateSubTasks(DocletTask.java:525)
[webdoclet]     at xdoclet.DocletTask.validateOptions(DocletTask.java:487)
[webdoclet]     at
xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:24)
[webdoclet]     at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:79)
[webdoclet]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[webdoclet]     at org.apache.tools.ant.Task.perform(Task.java:341)
[webdoclet]     at org.apache.tools.ant.Target.execute(Target.java:309)
[webdoclet]     at org.apache.tools.ant.Target.performTasks(Target.java:336)
[webdoclet]     at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[webdoclet]     at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[webdoclet]     at org.apache.tools.ant.Main.runBuild(Main.java:609)
[webdoclet]     at org.apache.tools.ant.Main.start(Main.java:196)
[webdoclet]     at org.apache.tools.ant.Main.main(Main.java:235)
>>

However when I'm looking to the documentation located at
http://xdoclet.sourceforge.net/ant/xdoclet/modules/ibm/websphere/web/WebSphereWebXmlSubTask.html,
I see that only templateFile is mandatory if it's a nested element (but what
does mean a nested element for this tag ?) and there is not a mention of
destinationFile anywhere.

I'm currently using xdoclet1.2b4 on a linux box with jdk1.4.

Have you got an idea on what should I put on templateFile attribute &
destinationFile attribute ?

Regards,
Denis Boutin.


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to