You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by st...@apache.org on 2004/08/03 01:03:23 UTC

cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

stevel      2004/08/02 16:03:23

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/dotnet
                        WsdlToDotnet.java
  Log:
  wsdl.exe cant spell parseable.
  
  Revision  Changes    Path
  1.24      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
  
  Index: WsdlToDotnet.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- WsdlToDotnet.java	2 Aug 2004 22:42:20 -0000	1.23
  +++ WsdlToDotnet.java	2 Aug 2004 23:03:22 -0000	1.24
  @@ -295,7 +295,7 @@
               command.addArgument("/protocol:"+protocol);
           }
           if(parseableErrors) {
  -            command.addArgument("/parseableErrors");
  +            command.addArgument("/parsableErrors");
           }
           command.addArgument(extraOptions);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 04 Aug 2004, Steve Loughran <st...@apache.org> wrote:

> do we need a <mono> task that execs things; runs them direct on
> windows, but relays through mono if you ask?

Please take a look at proposals/sandbox/dotnet and in particular the
dotnetexec task 8-)

Any helping hand is welcome.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Steve Loughran <st...@apache.org>.
Stefan Bodewig wrote:

>>Actually, the file:// protocol turns out to be best of all for
>>Windows,
> 
> 
> And not only there, it would be the cleanest solution in either case.

this is now an option.

> 
>>So maybe we should add a way to run that. This leads to a choice of
>>runtimes of more than just net/mono but
>>
>>ms
>>mono
>>ms-on-mono
>>
>>which looks like the beginnings of an enum to me.
> 
> 
> Absolutely.  I've always considered my isMono flags a hack that
> completely falls down as soon as you want to use Rotor or DotGNU or
> whatever.  That's why I introduced a more flexible approach in the
> dotnet sandbox area.

I've just patched dotnet.

do we need a <mono> task that execs things; runs them direct on windows, 
but relays through mono if you ask?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 03 Aug 2004, Steve Loughran <st...@apache.org> wrote:
> Stefan Bodewig wrote:
>> On Tue, 03 Aug 2004, Steve Loughran <st...@apache.org> wrote:

>>>2. I wonder if we could fix that mono relative file problem by
>>>turning all file refs into file: URLs?
>> Unfortunately we can't - I've already tried that.  Mono's wsdl.exe
>> doesn't seem to recognize file:// as protocoll.
> 
> yeah, just filed a bug on that.

Great.

> Actually, the file:// protocol turns out to be best of all for
> Windows,

And not only there, it would be the cleanest solution in either case.

> I am thinking that when isMono==false, we turn the file reference
> not into an absolute reference, but a file: URL.

Fine with me, we may even be able to drop the isMono guard later.

> So maybe we should add a way to run that. This leads to a choice of
> runtimes of more than just net/mono but
> 
> ms
> mono
> ms-on-mono
> 
> which looks like the beginnings of an enum to me.

Absolutely.  I've always considered my isMono flags a hack that
completely falls down as soon as you want to use Rotor or DotGNU or
whatever.  That's why I introduced a more flexible approach in the
dotnet sandbox area.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Steve Loughran <st...@apache.org>.
Stefan Bodewig wrote:
> On Tue, 03 Aug 2004, Steve Loughran <st...@apache.org> wrote:
> 
>>Stefan Bodewig wrote:
>>
>>>On 2 Aug 2004, <st...@apache.org> wrote:
>>>
>>>
>>>> wsdl.exe cant spell parseable.
>>>
>>>Ouch.
>>>What are you going to do when the next SDK beta fixes the error?
>>
>>I dont think they will fix it, I think they believe it is correct :)
> 
> 
> Hmm, OK.  I don't want to start another spel(l)ing discussion.

well, there are some MS people wanting to talk to the axis team 
regarding interop issues. I will bring up spelling of parseable as one 
of our show stoppers :)

> 
> 
>>We could change the name of the tag in our task so it doesnt use the
>>same keyword;
> 
> 
> probably best since people would be confused otherwise.
> 
> 
>>ps, 1. I have mono on the box
> 
> 
> Linux or Win?

linux. suse 9.1pro.

> 
> 
>>2. I wonder if we could fix that mono relative file problem by
>>turning all file refs into file: URLs?
> 
> 
> Unfortunately we can't - I've already tried that.  Mono's wsdl.exe
> doesn't seem to recognize file:// as protocoll.
> 

yeah, just filed a bug on that.

Actually, the file:// protocol turns out to be best of all for Windows, 
because then it correctly resolves relative references for importation. 
Given that all the <schema> stuff I added yesterday was to do that, if I 
send a file:// reference to the compiler, there was no need to do it. 
(cant have been for mono, can it :)

I am thinking that when isMono==false, we turn the file reference not 
into an absolute reference, but a file: URL.

whatever, because I am using includes, mono's wsdl cannot generate the 
code I need. There are hints, however, that if I run "mono wsdl.exe " 
with the MS version of wsdl, all is well (other WsdL bugs on mono 
bugzilla). So maybe we should add a way to run that. This leads to a 
choice of runtimes of more than just net/mono but

ms
mono
ms-on-mono

which looks like the beginnings of an enum to me.

-steve

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 03 Aug 2004, Steve Loughran <st...@apache.org> wrote:
> Stefan Bodewig wrote:
>> On 2 Aug 2004, <st...@apache.org> wrote:
>>
>>>  wsdl.exe cant spell parseable.
>> Ouch.
>> What are you going to do when the next SDK beta fixes the error?
> 
> I dont think they will fix it, I think they believe it is correct :)

Hmm, OK.  I don't want to start another spel(l)ing discussion.

> We could change the name of the tag in our task so it doesnt use the
> same keyword;

probably best since people would be confused otherwise.

> ps, 1. I have mono on the box

Linux or Win?

> 2. I wonder if we could fix that mono relative file problem by
> turning all file refs into file: URLs?

Unfortunately we can't - I've already tried that.  Mono's wsdl.exe
doesn't seem to recognize file:// as protocoll.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Steve Loughran <st...@apache.org>.
Stefan Bodewig wrote:
> On 2 Aug 2004, <st...@apache.org> wrote:
> 
> 
>>  wsdl.exe cant spell parseable.
> 
> 
> Ouch.
> 
> What are you going to do when the next SDK beta fixes the error?

I dont think they will fix it, I think they believe it is correct :)

if you google for both spellings, parsable and parseable, parseable wins 
out over parsable by 4 to 1,  but parsable is still common. The Oxford 
dictionary says parseable, the US dictionary I have to hand doesn't list 
it.

We could change the name of the tag in our task so it doesnt use the 
same keyword; that could prevent us amplifying the confusion.

-Steve


ps,
1. I have mono on the box
2. I wonder if we could fix that mono relative file problem by turning 
all file refs into file: URLs?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java

Posted by Stefan Bodewig <bo...@apache.org>.
On 2 Aug 2004, <st...@apache.org> wrote:

>   wsdl.exe cant spell parseable.

Ouch.

What are you going to do when the next SDK beta fixes the error?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org