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 170200 - 6.5 web service project does not compile anymore with 6.7
Summary: 6.5 web service project does not compile anymore with 6.7
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-11 14:01 UTC by tboerkel
Modified: 2010-04-06 13:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample 6.5 project (67.54 KB, application/x-compressed)
2009-08-11 14:09 UTC, tboerkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2009-08-11 14:01:00 UTC
I opened a working web service client project from NB 6.5 in NB 6.7 and got this error for clean & build:

Target "wsimport-client-compile" does not exist in the project "APplusManagerProxies". It is used from target "-do-compile".

I worked around that by adding this to jaxws-build.xml (this is a modified copy from the old jax-ws.xml:
    <target name="wsimport-client-compile" depends="-pre-pre-compile">
        <j2seproject3:depend srcdir="${build.generated.sources.dir}/jax-ws"
classpath="${libs.jaxws21.classpath}:${javac.classpath}" destdir="${build.classes.dir}"/>
        <j2seproject3:javac srcdir="${build.generated.sources.dir}/jax-ws"
classpath="${libs.jaxws21.classpath}:${javac.classpath}" destdir="${build.classes.dir}"/>
    </target>

And deleting build-impl.xml.

Attaching sample project.
Comment 1 tboerkel 2009-08-11 14:09:30 UTC
Created attachment 86100 [details]
Sample 6.5 project
Comment 2 Milan Kuchtiak 2009-08-11 16:10:26 UTC
The easiest workaround is to remove 2 lines from nbproject/project.xml :

        <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
            <extension file="jaxws-build.xml" id="jaxws">
                <!-- <dependency dependsOn="wsimport-client-compile" target="-do-compile"/>              remove -->
                <!-- <dependency dependsOn="wsimport-client-compile" target="-do-compile-single"/>       remove -->
                <dependency dependsOn="wsimport-client-generate" target="-pre-pre-compile"/>
            </extension>
        </buildExtensions>

Then close and open the APplusManager project.

Note: something has spoiled in your project, since web service build script (jaxws-build.xml) is of Nb 6.7 version but
project's build script (build-impl.xml) and project configuration file (project.xml) are old (Netbeans 6.5 version).

I'll try to fix this by checking also project.xml file.
Comment 3 Milan Kuchtiak 2009-08-11 16:36:52 UTC
Fixed.

Checking project.xml instead of jaxws-build.xml:
http://hg.netbeans.org/main/rev/338ec66810c9
Comment 4 Quality Engineering 2009-08-12 06:26:32 UTC
Integrated into 'main-golden', will be available in build *200908120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/338ec66810c9
User: mkuchtiak@netbeans.org
Log: #170200: checking project.xml instead of jaxws-build.xml
Comment 5 tboerkel 2009-08-12 08:08:25 UTC
Isn't that a candidate for a patch for NB 6.7.1?

BTW, after restarting NB 6.7.1 and opening the project again, it did automatically the steps from #desc3.
Comment 6 Milan Kuchtiak 2009-08-12 08:35:24 UTC
As I said, something has been corrupted during project open in your case.
jaxws-build.xml was updated, project.xml not.
Normally this shouldn't happen. 

This is the only complain about it.
So for now I think this isn't so serious.

Comment 7 Petr Jiricka 2009-08-12 08:46:11 UTC
Let's mark it as a 6.7 patch candidate, but I am not sure if another patch is planned :-(
Comment 8 Jaroslav Pospisil 2010-04-06 13:59:57 UTC
v.