ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luiz Barbosa" <luiz.barb...@digitalassets.com.br>
Subject Problem with verbose attribute of axis-wsdl2java tag
Date Thu, 10 Apr 2008 20:04:17 GMT
Hi people,

Please, I have the following problem:

I wrote the following target:
<target name="wsdl2java-server" description="Gera os arquivos .wsdd e
stubs/skeletons a partir de um arquivo .wsdl">

        <fileset id="wsdl.files"
file="${basedir}/WebContent/wsdl/Connector.wsdl"/>
        <property name="wsdl.java.output.dir" value="${basedir}/dist/ws"/>
        <property name="wsdl.namespace" value="
http://jbossesb.connectors.integration.xyz.com"/>

        <property name="wsdl.java.server.package"
value="${basedir}/dist/ws/server"/>
        <property name="wsdl.wsdd.output.dir"
value="${basedir}/dist/ws/wsdd"/>

        <mkdir dir="${wsdl.java.output.dir}"/>
        <mkdir dir="${wsdl.wsdd.output.dir}"/>

        <for param="file">
            <path>
                <fileset refid="wsdl.files"/>
            </path>
            <sequential>
                <axis-wsdl2java
                    output="${wsdl.java.output.dir}"
                      serverside="true"
                    skeletondeploy="false"
                    url="@{file}"
                    verbose="false">
                    <mapping
                        namespace="${wsdl.namespace}"
                        package="${wsdl.java.server.package}"/>
                </axis-wsdl2java>

                <!-- Determina o nome do servi├žo. -->
                <propertyregex override="yes" property="service.name"
input="@{file}"
                      regexp=".*\\([^\\]*)\.wsdl" replace="\1"/>

                <!-- Renomeia os .wsdd para incluir o nome do servico. -->
                <move todir="${wsdl.wsdd.output.dir}" flatten="true">
                      <fileset dir="${wsdl.java.output.dir}"
includes="**/deploy.wsdd"/>
                </move>
                <move
tofile="${wsdl.wsdd.output.dir}/deploy-${service.name}.wsdd"
file="${wsdl.wsdd.output.dir}/deploy.wsdd"/>
            </sequential>
        </for>
      </target>

When I run it, I get the following error message, on line *verbose="false"*:
Could not create task or type of type: axis-wsdl2java.

Please, how could I fix this?

Thanks in advance!

Regards,

Luiz

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message