ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet WsdlToDotnet.java
Date Wed, 04 Aug 2004 09:39:44 GMT
On Tue, 03 Aug 2004, Steve Loughran <stevel@apache.org> wrote:
> Stefan Bodewig wrote:
>> On Tue, 03 Aug 2004, Steve Loughran <stevel@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


Mime
View raw message