----- Original Message -----
From: "Simon McClenahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 1:28 PM
Subject: RE: [ANN] Ant 1.5 Beta 1
>Is this in the Ant beta or the Axis beta? How do you use it?
>
>cheers,
>Simon
It is in the ant beta cos it is nothing to do with Axis; it is a wrapper
around some of the .NET apps, with a bit of dependency checking.
First you retrieve your wsdl, using <get>, or set srcFile to a URL, in which
case the .NET app wsdl does the work. I prefer <get> as you can do
dependency checking through the get and the <WsdlToDotnet>
then you import your wsdl:
<WsdlToDotnet
srcFile="build/generated/something.wsdl"
destFile="build/generated/csc"
/>
And compile it down
<csc
srcDir="build/generated/csc"
destFile="dist/client.exe"
targetType="module"
/>
</target>
if either the wsdl import or compile fails, the build breaks.
You could go further, add in some of your own code, build it all up and
actually <exec> it, for functional testing.
One issue I've just seen is that the case is wrong on the task; it should be
<wsdltodotnet> for consistency with the rest of the ant stuff...expect that
to change in beta-2 next month. My fault; sorry.
-steve