This content has been marked as final.
Show 3 replies
-
1. Re: Dynamic lookup for wsdl-java config file
anatoly.osiko Jul 17, 2006 9:28 PM (in response to estrellarichardson)If I get your problem right, I'd suggest to use Ant's filters with the substitution placeholder, e.g.
<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">
</wsdl-java> -
2. Re: Dynamic lookup for wsdl-java config file
anatoly.osiko Jul 17, 2006 9:32 PM (in response to estrellarichardson).... 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>
-
3. Re: Dynamic lookup for wsdl-java config file
estrellarichardson Jul 24, 2006 10:36 AM (in response to estrellarichardson)Thank you for your suggestion. We ended up using a core ant task and we placed a token string inside of the wsdl-java config file.
Thanks again.