Same problem here but using Maven
views:
169answers:
2
A:
Have you tried NetBeans 6.9? I only ask because my jaxws-build.xml
looks different to yours (all auto-NetBeans-generated).
<wsimport
sourcedestdir="${build.generated.dir}/jax-wsCache/ListProductsService"
destdir="${build.generated.dir}/jax-wsCache/ListProductsService"
wsdl="${wsdl-ListProductsService}"
catalog="catalog.xml"
extension="true"
verbose="true"
wsdlLocation="file:/C:/NetBeansProjects/wsclient/ListProductsService.wsdl"
xendorsed="true">
<depends file="${wsdl-ListProductsService}"/>
<produces dir="${build.generated.dir}/jax-wsCache/ListProductsService"/>
</wsimport>
The above wsclient
project is able to be cleaned and built without the web service reference being online.
Catchwa
2010-07-14 23:55:13
These are legacy projects which were made before I showed up, with I think NetBeans 6.7 or earlier. I've noticed that some of the projects actually have their depends/produces elements set up OK, while others don't, so it seems there should be some way to make 'em work. The annoying thing is that regenerating the `jaxws-build.xml` doesn't help, regardless of NB version. Oh well, we're migrating to Maven soon, anyway, and hopefully we'll have more luck than @user369572 did...
gustafc
2010-07-15 06:08:07