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 243205 - endorsed.classpath in project.properties
Summary: endorsed.classpath in project.properties
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 10:35 UTC by florianbruckner
Modified: 2014-05-20 02:50 UTC (History)
0 users

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 florianbruckner 2014-03-24 10:35:03 UTC
Using Netbeans 8 to generate a web service client for Java 6 with JAX-WS 2.2

To successfully compile, JAX-WS API needs to be endorsed and compiling this project has worked with Netbeans 7.3

With NetBeans 8, when manually adding JAX-WS API to project.properties in endorsed.classpath, compiling is successful.

When opening this project with Netbeans 8, content of the property endorsed.classpath is discarded; this means the property needs to set manually after opening the project.
Comment 1 Milos Kleint 2014-03-25 07:45:17 UTC
web services related? please evaluate
Comment 2 florianbruckner 2014-05-17 10:27:22 UTC
a workaround is setting endorsed.classpath as property in build.xml of the project:


    <target name="-pre-init">
        <echo>Workaround for Netbeans Bug https://netbeans.org/bugzilla/show_bug.cgi?id=243205</echo>
        <property name="endorsed.classpath" value="${base}/../../common-libs/jaxws-2.2.7-ri/lib/jaxb-api.jar:${base}/../../common-libs/jaxws-2.2.7-ri/lib/jaxws-api.jar" />
    </target>


where jaxws-ri is placed in a directory in the project structure.
Comment 3 Milan Kuchtiak 2014-05-19 13:13:56 UTC
Fixed:
http://hg.netbeans.org/web-main/rev/6144d0a7a4d0
Comment 4 Quality Engineering 2014-05-20 02:50:39 UTC
Integrated into 'main-silver', will be available in build *201405200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6144d0a7a4d0
User: Milan Kuchtiak <mkuchtiak@netbeans.org>
Log: #243205 don't remove JAX-WS endorsed when JAX-WS 2.2 is not in BOOT classpath