aspose file tools
The moose likes Java in General and the fly likes Package design problem & Javadoc creation error in NetBeans 4.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Package design problem & Javadoc creation error in NetBeans 4.1" Watch "Package design problem & Javadoc creation error in NetBeans 4.1" New topic
Author

Package design problem & Javadoc creation error in NetBeans 4.1

AkumaX AkumaX
Greenhorn

Joined: Jan 26, 2005
Posts: 4
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!

AkumaX
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Package design problem & Javadoc creation error in NetBeans 4.1
 
Similar Threads
Question about packages in Java
Abstract class and Interface
Eclipse 3: problem setting up output folders
java
More design questions - referencing a variable or object from an argument?