facebook

webspherewebxml ‘templateFile’ parameter missing

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #220449 Reply

    andycooper
    Member

    MyEclipse 3.8.2.

    When attempting to run xdoclet on a web project to generate the IBM WebSphere 5.1 descriptors, I get the following error message. I’ve tried updating xdoclet to 1.2.2 as referenced in other bugs (hibernate.cache) and note that someone else reported this earlier, but it seems to be closed – I’m still running into it in 3.8.2. Any ideas on how to workaround this issue – xdoclet doc. says that templateFile and destinationFile parameters shouldn’t be needed. I’ve no idea what the parameters should be in any event even if they are needed.

    [webdoclet] C:\eclipse\workspace\MyTestProjectWeb\xdoclet-build.xml:28: webspherewebxml: ‘templateFile’ parameter missing. Specify both ‘destinationFile’ and ‘templateFile’ configuration parameters please.
    [webdoclet] at xdoclet.DocletTask.validateSubTasks(DocletTask.java:535)
    [webdoclet] at xdoclet.DocletTask.validateOptions(DocletTask.java:497)
    [webdoclet] at xdoclet.modules.web.WebDocletTask.validateOptions(WebDocletTask.java:24)
    [webdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:94)
    [webdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [webdoclet] at org.apache.tools.ant.Task.perform(Task.java:364)
    [webdoclet] at org.apache.tools.ant.Target.execute(Target.java:341)
    [webdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [webdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [webdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
    [webdoclet] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
    BUILD FAILED: C:\eclipse\workspace\MyTestProjectWeb\xdoclet-build.xml:28: Unexpected error

    #220464 Reply

    Riyad Kalla
    Member

    Strange, seems like this doclet has been buggy (same bug) since 2002 and there was no resolution in this thread:
    http://www.mail-archive.com/xdoclet-user@lists.sourceforge.net/msg03560.html

    It looks like its an open bug against XDoclet:
    http://opensource.atlassian.com/projects/xdoclet/browse/XDT-794

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: webspherewebxml ‘templateFile’ parameter missing

You must be logged in to post in the forum log in