Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Package design problem & Javadoc creation error in NetBeans 4.1

Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic