[jboss-user] [JBossWS] - Re: Dynamic lookup for wsdl-java config file

anatoly.osiko do-not-reply at jboss.com
Mon Jul 17 21:32:36 EDT 2006


.... resending with the fixed formatting ..
If I get your problem right, I'd suggest to use Ant's filters with the substitution placeholder, e.g.


  | <copy file="${basedir}/${service}/server/ws/wstools-config.xml"
  |        toFile="${build.dir}/${service}/server/dd/wsdl/wstools-config.xml"
  |        overwrite="yes">
  |        <filterset>
  |            <filter token="BUILD.WSDL.DIR" value="${build.dir}/${service}/server/dd/wsdl"/>
  |        </filterset>
  |    </copy>
  | 
  | <configuration xmlns="http://www.jboss.org/jbossws-tools"
  |   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |   xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
  | 
  |  <wsdl-java file="@BUILD.WSDL.DIR@/Config.wsdl">
  |    <mapping file="jaxrpc-mapping.xml" />
  |  </wsdl-java>
  | </configuration>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958637#3958637

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958637



More information about the jboss-user mailing list