• Post Reply Bookmark Topic Watch Topic
  • New Topic

Package design problem & Javadoc creation error in NetBeans 4.1  RSS feed

AkumaX AkumaX
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people

I'm in the process of writing a game framework in Java 1.5, and I've reached a stage that many classes needed to be organized in packages. I've done that, although I needed to include to GameMain class into the package classes as well. Is there a way to include an abstract class GameMain just to have it in the package? And another question as well: one of the package classes needs a reference for a class that needs to be game specific and will reside in the root, not in the package (i.e. projectFolder/scr instead of projectFolder/scr/com/package). Can the package classes refer to a class in the source root or is that bad design (need again abstract class)? It seems not in the case of NetBeans 4.1 that I'm using.

And finally, a question that seems to be a bug of NetBeans 4.1: The Javadoc documentation seems to not open although I followed all instructions for Java Class Manager&paths etc, and the 'Create Javadoc from sources' produces an error as well, stops with a:

javadoc: error - Illegal package name: "${javadoc.additionalparam}"
(trying to parse the *.java files)
ProjectName\nbproject\build-impl.xml:344: Javadoc returned 1

In NetBeans 4.0+4.1 Early Access 2 all the above worked flawlessly. Any ideas except of migrating back to older versions? Any other of you having the same problems? I have the mobile pack installed on NetBeans 4.1 and I think that this may have produced the bug.

Sorry for the long post and thanks in advance for any answers!

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!