You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Steve Loughran <st...@iseran.com> on 2002/10/25 08:58:22 UTC

ant task changes

I have just committed a big rework of the ant tasks. The task that has been
changed the most is java2wsdl; that one hadnt been audited before and so has
been rewritten for type safety, validation etc.

I also teased out the nested elements and enums that were common to both
tasks and put them in their own classes. Biggest change is that <mapping>
still has

<mapping namespace="nap:prokoviev" package="com.napster.prokoviev" />

and adds

<mapping file="mappings.properties" />

There is also a mappingset datatype which just adds confusion right now
<mappingset>
  <mapping file="mappings.properties" />
  <mappingset>...</mappingset>
</mappingset>

The reason for that is (a) it contains the code to store the mapping
declarations till execute time and (b) I'd like to make it a datatype so you
can give it IDs and then refer to it in refids elsewhere. There is some fun
with classloaders that complicate that process (or the declaration process,
to be precise); you need to name the same classloader for taskdefs as
typedefs, which will need cautious documenting.

Let me know what breaks, etc.

-Steve

(FYI this is one of the 3 things I was tapping away at at the Web Services
DevCon; the other two are still getting ready to make an appearance)


Re: ant task changes

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Davanum Srinivas" <di...@yahoo.com>
To: <ax...@xml.apache.org>
Sent: Friday, October 25, 2002 5:13 AM
Subject: Re: ant task changes


> Steve,
>
> PLEASE run "ant clean all-tests"....It's failing...
>
> Thanks,
> dims

all-tests has never worked for me; quirks of firewalls and proxy settings
I've never been able to resolve. oops.



Re: ant task changes

Posted by Davanum Srinivas <di...@yahoo.com>.
Steve,

PLEASE run "ant clean all-tests"....It's failing...

Thanks,
dims

--- Steve Loughran <st...@iseran.com> wrote:
> I have just committed a big rework of the ant tasks. The task that has been
> changed the most is java2wsdl; that one hadnt been audited before and so has
> been rewritten for type safety, validation etc.
> 
> I also teased out the nested elements and enums that were common to both
> tasks and put them in their own classes. Biggest change is that <mapping>
> still has
> 
> <mapping namespace="nap:prokoviev" package="com.napster.prokoviev" />
> 
> and adds
> 
> <mapping file="mappings.properties" />
> 
> There is also a mappingset datatype which just adds confusion right now
> <mappingset>
>   <mapping file="mappings.properties" />
>   <mappingset>...</mappingset>
> </mappingset>
> 
> The reason for that is (a) it contains the code to store the mapping
> declarations till execute time and (b) I'd like to make it a datatype so you
> can give it IDs and then refer to it in refids elsewhere. There is some fun
> with classloaders that complicate that process (or the declaration process,
> to be precise); you need to name the same classloader for taskdefs as
> typedefs, which will need cautious documenting.
> 
> Let me know what breaks, etc.
> 
> -Steve
> 
> (FYI this is one of the 3 things I was tapping away at at the Web Services
> DevCon; the other two are still getting ready to make an appearance)
> 


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/