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.
Hi, I have folowing Setup : Project A ( Java Library with data clasess common to server and client ) Project B Web contains a class used for web service, methods uses clases from Project A that is added as dependency for project B . Still right click on the project tree and "Generate Wsdl" fails with java.lang.NoClassDefFoundError. I am expecting that "java2wsdl-A" task in project B/build.xml to consider the clases from dependent projects automagicaly. Thanks.
Yes, The classpath in java2wsdl task (nbproject/axis2-build.xml) should be specified as : <classpath> <pathelement path="${javac.classpath}"/> <pathelement location="${build.dir}/classes"/> </classpath> to involve what's on project's classpath.
Fixed: details: http://hg.netbeans.org/main?cmd=changeset;node=fe21c1ea6d71
Integrated into 'main-golden', will be available in build *200904031400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/fe21c1ea6d71 User: mkuchtiak@netbeans.org Log: #161508 : add project classpath to java2wsdl class path