Community
Participate
Working Groups
When trying to document classes that are in the default package, the following error occurs: > Calling ajc... > Building signature files... > Calling javadoc... Loading source file C:\eclipse_RC3\eclipse\ajdocworkingdir\A.java... C:\eclipse_RC3\eclipse\ajdocworkingdir\A.java:1: <identifier> expected package ; ^ 1 error > Decorating html files... > Decorating C:\doc\classX.html... An internal error occured in ajdoc Please copy the following text into an email message and send it, along with any additional information you can add to: aspectj-dev@eclipse.org java.io.FileNotFoundException: C:\doc\classX.html (The system cannot find the file specified) java.io.FileNotFoundException: C:\doc\classX.html (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileReader.<init>(FileReader.java:55) at org.aspectj.tools.ajdoc.HtmlDecorator.decorateHTMLFile (HtmlDecorator.java:142) at org.aspectj.tools.ajdoc.HtmlDecorator.decorateHTMLFromDecl (HtmlDecorator.java:115) at org.aspectj.tools.ajdoc.HtmlDecorator.decorateHTMLFromDecls (HtmlDecorator.java:54) at org.aspectj.tools.ajdoc.HtmlDecorator.decorateHTMLFromInputFiles (HtmlDecorator.java:43) at org.aspectj.tools.ajdoc.Main.main(Main.java:210)
Fixed. The problem was in the generation of the stub files, which created an improper package declaration for compilation units in the default package. org.aspectj.tools.ajdoc/CoverageTestCase.java has been expanded to test for this.
Fix released as part of AspectJ 1.2.1