[ http://opensource.atlassian.com/projects/xdoclet/browse/XJD-37?page=all ]
Heiko W. Rupp updated XJD-37: ----------------------------- Assign To: xdoclet-devel (Use for new issues) (was: Heiko W. Rupp) > double ; on one java source line causes xdoclet error > ------------------------------------------------------ > > Key: XJD-37 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-37 > Project: XJavaDoc > Type: Bug > Components: Parser > Versions: 1.0.1 > Environment: jdk 1.3.1_08, weblogic 7.0, sp2 > Reporter: david boon > Assignee: xdoclet-devel (Use for new issues) > Fix For: 1.5 > > > 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. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel