In my trial to ignore certain namespaces when generating classes with the following ANT file:

    <target name="generateLogentisWsClient">
<java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="true">
            <arg value="-client"/>
            <arg value="-d"/>
            <arg value="src"/>
            <arg value="-nexclude"/>
            <arg value="http://enum.model.bwh.logentis.de"/>
            <arg value="-nexclude"/>
            <arg value="http://model.bwh.logentis.de"/>
            <arg value="res/OrderManager.wsdl"/>
            <classpath>
                <path refid="cxf.classpath"/>
            </classpath>
        </java>
    </target>


i found out that classes that already exist (thus shouldnt be generated) will be REMOVED from the src tree when using the mentioned ant task above.... is this what the authors wanted? This is really ugly....

--
Marc Logemann
blog http://logemannreloaded.blogspot.com
privat http://www.logemann.org


Reply via email to