I got the same problem. What I did to fix it was copying the following ant task from my old jaxws.xml (the one used in Netbean6.5) into new jaxws.xml (in Netbean 6.7):
<target name="wsimport-service-compile" depends="-pre-pre-compile">
<webproject2:javac srcdir="${build.generated.dir}/wsimport/service" classpath="${j2ee.platform.wsimport.classpath}:${javac.classpath}" destdir="${build.classes.dir}"/>
</target>
Not sure if this is a bug in Netbean 6.7, or 6.7 has a new way to build web services.
====================================================
mkuchtiak wrote:
Hi,
The best would be to create a simple test case and report a bug.
If not, please remove a build-extension element from projec.xml
(<extension file="jaxws-build.xml" id="jaxws">), and may be remove
build-impl.xml.
Sorry for inconvenience.
Milan Kuchtiak
Petr Jiricka wrote:
> *From: *Scott Palmer <Scott@digital-rapids.com
> <mailto:Scott@digital-rapids.com>>
>> *Date: *June 11, 2009 10:21:05 PM GMT+02:00
>> *To: *netcat@netbeans.org <mailto:netcat@netbeans.org>
>> *Subject: **[67cat] [core] J2SE Project with imported web service
>> fails to compile when loaded in 6.7RC2*
>> *Reply-To: *netcat@netbeans.org <mailto:netcat@netbeans.org>
>>
>> I have a J2SE project from 6.5.1 that won’t compile in 6.7RC2
>>
>> The error message is:
>>
>> Target "wsimport-client-compile" does not exist in the project
>> "MyProject". It is used from target "-do-compile".
>> BUILD FAILED (total time: 0 seconds)
>>
>> And sure enough looking at the ant build files the
>> wsimport-client-compile was removed but is still referenced in
>> -do-compile.
>>
>> I also see a folder created from an un-initialized property, it has
>> the name “${file.reference.MyProject-src}”
>>
>> Previous development builds didn’t cause this problem.
>>
>> How specific is build-impl.xml to any particular project? I have
>> other projects where this didn’t happen (perhaps for them the
>> original project was not 6.5.1, but a bit older)
>>
>> I was thinking of just outright replacing build-impl.xml from a
>> working project.
>>
>> The project is a closed-source commercial project so I can’t attach
>> much of it to a bug report. I doubt it will be reproduced without
>> something though. How should I proceed.
>>
>> Regards,
>>
>> Scott
>