This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253301 - attaching javadoc doesn't work for jars inside Mobility projects
Summary: attaching javadoc doesn't work for jars inside Mobility projects
Status: NEW
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-03 17:09 UTC by nigredo.tori
Modified: 2015-07-14 01:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project with steps 1 through 5 performed (37.96 KB, application/x-zip-compressed)
2015-07-03 17:09 UTC, nigredo.tori
Details
Javadoc popup with error (10.81 KB, image/png)
2015-07-07 13:33 UTC, nigredo.tori
Details
messages.log (45.64 KB, application/octet-stream)
2015-07-07 13:34 UTC, nigredo.tori
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nigredo.tori 2015-07-03 17:09:53 UTC
Created attachment 154480 [details]
project with steps 1 through 5 performed

Attaching javadoc to a jar file doesn't work if the jar is located inside any Mobility project. Creating a library for such a file (through Tools/Libraries) and attaching javadoc to it doesn't work either

Steps to reproduce:

0) Project with steps 1 through 5 performed on it is attached to this bug.
1) Create Mobile Class Library project with class foo.Foo, add a javadoc comment.
2) Build the project and generate javadoc
3) Create another Mobile Class Library project with class bar.Bar
4) Copy jar file and "doc" folder from first project to second project's "lib" folder (which you would have to create)
5) In second project's properties add jar file from "lib" folder (using "Add Jar/Zip")
6) Open second project's src/bar/Bar.java file, and try viewing javadoc for foo.Foo (in IDE window). The IDE would suggest attaching javadoc to the jar - do it, navigating to "lib/doc"
7) With javadoc attached, try viewing javadoc for foo.Foo once more. The result stays the same (no javadoc).
Comment 1 Roman Svitanic 2015-07-07 13:08:18 UTC
Could you please share more info (and/or attach messages log as well): IDE version, Java  ME 3.x project or Java ME 8 Embedded project? Thnaks.
Comment 2 nigredo.tori 2015-07-07 13:33:07 UTC
Created attachment 154502 [details]
Javadoc popup with error
Comment 3 nigredo.tori 2015-07-07 13:34:03 UTC
Created attachment 154503 [details]
messages.log
Comment 4 nigredo.tori 2015-07-07 13:43:54 UTC
NetBeans version 8.0.2 patch 2
Mobility version 1.24
No pending updates
I'm unclear whether it's Java ME 3.x project - I'm using Nokia Asha SDK 1.1 as a platform.
Comment 5 Roman Svitanic 2015-07-07 13:45:52 UTC
(In reply to nigredo.tori from comment #4)
> I'm using Nokia Asha SDK 1.1 as a platform.

Thanks, than it's Java ME 3.x.