Peter,

when does this show up? I have no hassles bootstrapping maven under Ant 
1.5....
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


"Peter Lynch" <[EMAIL PROTECTED]> wrote on 07/14/2002 07:41:58 PM:

> Ok, finally have figured out the requirements to move to Ant 1.5 as a
> dependency. It was trickier than I first thought due to some wacky 
> classloading
> and useless stack traces.
> 
> 1) change jars.list to refer to ant 1.5 jars, including xerces 2.0.2 and
> xml-apis-1.0-b2. These are the jars distributed with ant official 
release. If
> you try xerces 2.0.0 or xml-apis-2.0.2, then Ant don't work. Also 
> need to point
> to a grant jar that has no Ant classes in it. ( see below )
> 
> 2) change forehead.conf to refer to ant-1.5.jar, ant-optional-1.5.jar,
> xml-apis-1.0-b2 and xerces-2.0.2
> 
> 3) Remove AntClassLoader.class and 
> AntClassLoader$ResourceEnumeration.class from
> commons-grant-1.0-b1.jar
> Took me a while to figure that out. Thanks Bob.
> 
> However, I don't know the correct way to fix this going forward.
> 
> We need a grant jar without the Ant classes in it. We may not even 
> need grant at
> all, but I need advice on how to remove the property wrapper stuff 
> or what that
> actually does.
> 
> Then we can decide what the grant dependency is.
> 
> 4) Change dependencies in project.xml as follows:
> 
> ant-1.4.1 --> ant-1.5
> ant-optional-1.4.1 --> ant-optional-1.5
> ( maybe remove grant )
> xml-apis-2.0.2 --> xml-apis-1.0-b2
> 
> This last one is required to do, or else Ant fails. 1.0-b2 contains 
additional
> classes and I never have heard of a 2.0.2 release of xml-apis anyways.
> 
> There are also a few minor task changes that are needed ( that I 
> will make ) and
> we should be good to go with Ant 1.5.
> 
> Waiting on some advice about what to do with grant and having the 
> ant xerces and
> xml-api jars put in the repo...
> 
> -Peter
> 
> 
> 
> --
> To unsubscribe, e-mail:   <
> mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <
> mailto:[EMAIL PROTECTED]>
> 

Reply via email to