The following comment has been added to this issue:

     Author: Andrew Stevens
    Created: Sun, 16 Nov 2003 6:14 PM
       Body:
Parser issues like this are due to xjavadoc rather than xdoclet itself; xjavadoc has 
its own project in JIRA, so I'm moving this issue across to there.
---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-648


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-648
    Summary: double ;  on one java source line causes xdoclet error
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Parser
   Versions:
             1.0.1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: david boon 

    Created: Thu, 25 Sep 2003 3:28 PM
    Updated: Thu, 25 Sep 2003 3:28 PM
Environment: jdk 1.3.1_08, weblogic 7.0, sp2 

Description:
with a java line like the one:
public class SomeClass{

   private String msg = "some text";;

   public void doSomething(){
   }
}

If a class imports that class above you will get an error like:

xdoclet-generate:
(XDocletMain.start                   47  ) Running <remoteinterface/>
Error parsing File 
C:\khub\CE\java\source\com\elementk\service\jndi\ContextFactory.java:Encountered ";" 
at line 23, column 97.
Was expecting one of:
    "abstract" ...
    "boolean" ...
    "byte" ...
    "char" ...
    "class" ...
    "double" ...
    "final" ...
    "float" ...
    "int" ...
    "interface" ...
    "long" ...
    "native" ...
    "private" ...
    "protected" ...
    "public" ...
    "short" ...
    "static" ...
    "synchronized" ...
    "transient" ...
    "void" ...
    "volatile" ...
    "strictfp" ...
    <IDENTIFIER> ...
    "{" ...
    "}" ...
    
(XDocletMain.start                   47  ) Running <session/>
(XDocletMain.start                   47  ) Running <localinterface/>
(XDocletMain.start                   47  ) Running <localhomeinterface/>
(XDocletMain.start                   47  ) Running <homeinterface/>
(XDocletMain.start                   47  ) Running <session/>
(XDocletMain.start                   47  ) Running <entitypk/>
(XDocletMain.start                   47  ) Running <entitybmp/>
(XDocletMain.start                   47  ) Running <entitycmp/>
(XDocletMain.start                   47  ) Running <valueobject/>
(XDocletMain.start                   47  ) Running <deploymentdescriptor/>
(XDocletMain.start                   47  ) Running <weblogic/>


Removing the double ";;" fixes the problem.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to