Results 1 to 5 of 5
  1. #1
    flyingcurry is offline Member
    Join Date
    Oct 2010
    Posts
    12
    Rep Power
    0

    Question Help With Generating Java Docs Using Eclipse

    I use Eclipse, and this was my first time generating java docs, so i went under the project section and clicked generate java docs, and got the following errors:

    Java Code:
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballdoc -sourcepath G:Work"
    javadoc: error - Illegal package name: "s\ICS4U\workspace\Dodgeball"
    javadoc: error - Illegal package name: "G:\Work"
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballGameApplet.java "
    4 errors
    I used Standard Doclet, and the destination was was G:\Work\ICS4U\workspace\Dodgeball\doc

    What is wrong, how can i fix this?

  2. #2
    akiravelmont is offline Member
    Join Date
    Mar 2011
    Location
    bangalore
    Posts
    63
    Rep Power
    0

    Default

    write the api program.
    in project tab there is a option generate javadoc click on that.:DB)

  3. #3
    santeron is offline Member
    Join Date
    Apr 2011
    Location
    Athens, Greece
    Posts
    52
    Rep Power
    0

    Default

    I'm not sure what happens exactly here but have you put your classes in ma package? Like in first line you have someyhing like "package myApp.Something;" (dont remember if that's the syntax and I'm at iPod right now to help you further...

  4. #4
    santeron is offline Member
    Join Date
    Apr 2011
    Location
    Athens, Greece
    Posts
    52
    Rep Power
    0

    Default

    Have you seen this link?

  5. #5
    flyingcurry is offline Member
    Join Date
    Oct 2010
    Posts
    12
    Rep Power
    0

    Default

    Yes, I've seen that link. All my files are in a package. I made some further changes to my game applet, and now there are 14 errors. :confused:


    Java Code:
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballdoc -sourcepath G:Work"
    javadoc: error - Illegal package name: "s\ICS4U\workspace\Dodgeball"
    javadoc: error - Illegal package name: "G:\Work"
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballGameApplet.java G:Work"
    javadoc: error - File not found: "s\ICS4U\workspace\Dodgeball\Mp.java"
    javadoc: error - Illegal package name: "G:\Work"
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballBall.java G:Work"
    javadoc: error - File not found: "s\ICS4U\workspace\Dodgeball\MovingObject.java"
    javadoc: error - Illegal package name: "G:\Work"
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballPlayer.java G:Work"
    javadoc: error - File not found: "s\ICS4U\workspace\Dodgeball\Crystal.java"
    javadoc: error - Illegal package name: "G:\Work"
    javadoc: error - Illegal package name: "sICS4UworkspaceDodgeballBullet.java G:Work"
    javadoc: error - File not found: "s\ICS4U\workspace\Dodgeball\Hp.java"
    14 errors

Similar Threads

  1. Generating serialVersionIDs using Eclipse (Helios) plugin
    By bheemisetty.bhushan in forum Eclipse
    Replies: 2
    Last Post: 03-02-2011, 01:12 AM
  2. Replies: 4
    Last Post: 01-08-2009, 11:26 PM
  3. Java Docs for log4j
    By javaplus in forum Advanced Java
    Replies: 0
    Last Post: 12-14-2007, 07:06 PM
  4. Generating Javadoc In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-22-2007, 10:34 PM
  5. Replies: 1
    Last Post: 04-26-2007, 04:52 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •