My apologies if this has been answered before or is in the documentation.

I am trying to use use Ant/XDoclet to perform text replacement in an WSDL
file. WSDL is essentially XML that defines a web service. The code snippet I
would like to replace is:

    <service name="DCP770IMSService">
        <port name="imsPort" binding="tns:DCP770IMS">
            <ims:address dataStoreName="${ims.datastore}"
hostName="${ims.host}" portNumber="${ims.port}"></ims:address>
        </port>
    </service>

Then in my Ant buildfile, I have defined the following properties:

    <property name="ims.datastore" value="STSD"/>
    <property name="ims.host" value="tso2.prod.widget.com"/>
    <property name="ims.port" value="32009"/>

How can I create an XDoclet task in Ant to perform this text replacement
prior to my source build?


Thanks,
Kevin Hinners



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to