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 225645 - No javadoc for Java EE when GF plugin is used
Summary: No javadoc for Java EE when GF plugin is used
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.3.1
Hardware: PC All
: P2 normal (vote)
Assignee: TomasKraus
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-02-01 17:07 UTC by Petr Hejl
Modified: 2013-02-18 16:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2013-02-01 17:07:01 UTC
See subj. This seems to be regression caused by changeset #fd99b3cf6bb3.
Comment 1 Martin Janicek 2013-02-01 17:12:32 UTC
Ooops, sorry I accidentally changed assigned person :)
Comment 2 Petr Hejl 2013-02-01 18:38:55 UTC
Should be quickfixed in web-main 78f224b0a89e.
Comment 3 Petr Hejl 2013-02-01 18:39:25 UTC
(In reply to comment #2)
> Should be quickfixed in web-main 78f224b0a89e.
Certainly needs review. Hopefully won't break anything.
Comment 4 TomasKraus 2013-02-06 16:20:15 UTC
GlassFish Tooling SDK:
----------------------
changeset:   403:4e835bdbe357
branch:      0.3-b036
summary:     Bug# 225645 - Allow configuration of lookup paths
             to be passed without path search/expansion.

changeset:   410:12af72daae90
summary:     Bug# 225645 - Allow configuration of lookup paths
             to be passed without path search/expansion.

TODO: GF plugin changes.
Comment 5 TomasKraus 2013-02-06 16:37:52 UTC
NetBeans web-main:
------------------
changeset:   245285:4577287bf15a
branch:      javaee7
summary:     #225645 - Allow configuration of lookup paths to be passed
             without path search/expansion.

changeset:   245301:810280104b5f
summary:     #225645 - Allow configuration of lookup paths to be passed
             without path search/expansion.

I won't push those changes without additional testing. Will do tomorrow.
Comment 6 TomasKraus 2013-02-06 16:44:33 UTC
I changed this a bit to allow javadoc being configured in the same XML file where we do store patterns for GlassFish libraries.

Now it looks this way:
----------------------
    <library id="Java EE">
        <classpath>
            <fileset dir="modules">
                <include name="javax\..+\.jar"/>
                <include name="bean-validator.jar"/>
                <include name="jaxb-osgi.jar"/>
                <include name="jaxr-api-osgi.jar"/>
                <include name="jaxrpc-api-osgi.jar"/>
                <include name="webservices-osgi.jar"/>
                <include name="weld-osgi-bundle.jar"/>
            </fileset>            
            <fileset dir="modules/endorsed">
                <include name=".+\.jar"/>
            </fileset>
            <fileset dir="../mq/lib">
                <include name="jaxm-api.jar"/>
            </fileset>
        </classpath>
        <javadocs>
            <lookup path="docs/javaee-doc-api.jar"/>
        </javadocs>
        <sources>
        </sources>
    </library>

Newly introduced <lookup path="..."/> element allows to specify path element to be passed as is, without being searched in Glassfish modules or being a web link (GF Tooling SDK Changes).

Plugin change passes lookup path content to NetBeans InstalledFileLocator default locator to search for those files in NetBeans directory structure.

This finally allows to build library from both GlassFish and NetBeans directory structure having whole library description on one common place for all GlassFish versions currently known.
Comment 7 Quality Engineering 2013-02-13 01:51:57 UTC
Integrated into 'main-golden', will be available in build *201302122300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/78f224b0a89e
User: Petr Hejl <phejl@netbeans.org>
Log: #225645 - No javadoc for Java EE when GF plugin is used
Comment 8 Petr Jiricka 2013-02-13 10:11:01 UTC
So is this fixed now?
Comment 9 TomasKraus 2013-02-13 14:37:56 UTC
Should be in javaee7 branch. Trunk is quite unstable now.
Comment 10 TomasKraus 2013-02-18 16:11:09 UTC
Merged into trunk today.