This content has been marked as final. Show 2 replies
Meanwhile I found that the mentioned failure is caused due to inner calls to ClassLoader.getResources() searches for "META-INF/binding-file.ser" and "META-INF/binding-mapping-file.ser" calls which returns empty results. However these files were succesfully created in directory pointed by destDir attribute. I added the destDir dir to taks's classpath:
and this faulire was gone, but new appeared:
weblogic.wsee.tools.WsBuildException: weblogic.descriptor.DescriptorException: Failed to marshal: weblogic.j2ee.descriptor.JavaWsdlMappingBeanImpl
Caused by: com.bea.xml.XmlException: failed to find root element corresponding to weblogic.j2ee.descriptor.JavaWsdlMappingBeanImpl
The problem was found.
I have to say, very strange.. If executed with ant-1.6.5 provided in modules/org.apache.ant_1.6.5, it succeedes.
However when executed with ant-1.6.2 it fails as described formely.
Imho, if <clientgen> task is ANT version aware, it should recognize it and send some notifications...