commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [Grant] Ant problems
Date Mon, 27 Jan 2003 05:16:59 GMT
Maven specifically uses:
    <dependency>
      <id>ant</id>
      <version>1.5.1</version>

If that helps at all?
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


Morgan Delagrange <mdelagra@yahoo.com> wrote on 27/01/2003 04:07:39 PM:

> That's a tough one.  The previous version no longer
> works against the HEAD of Ant, so GUMP breaks. 
> However the version I just checked in won't work with
> Ant 1.5, which is the version that Maven uses.
> 
> - Morgan
> 
> --- bob mcwhirter <bob@werken.com> wrote:
> > 
> > The AntClassLoader in grant may no longer be needed.
> > 
> > 
> > grant was explicitly written to solve some
> > maven/jelly issues,
> > so it should probably track the versions of ant used
> > by those
> > two projects. 
> > 
> >    -bob
> > 
> > 
> > On Sun, 26 Jan 2003, Morgan Delagrange wrote:
> > 
> > > So this method that Ant switched on doesn't work?
> > > 
> > >       public void addJavaLibraries() {
> > >         Vector packages =
> > > JavaEnvUtils.getJrePackages();
> > >         Enumeration e = packages.elements();
> > >         while (e.hasMoreElements()) {
> > >             String packageName = (String)
> > > e.nextElement();
> > >             addSystemPackageRoot(packageName);
> > >         }
> > >       }
> > > 
> > > Or is the Grant classloader only intended for use
> > with
> > > Ant 1.5?  If so, I guess I should take it out of
> > the
> > > GUMP build.
> > > 
> > > - Morgan
> > > 
> > > 
> > > --- bob mcwhirter <bob@werken.com> wrote:
> > > > > A couple of days ago, the Ant classloader was
> > > > changed
> > > > > significantly, including calling out to a
> > second
> > > > > ClassLoader class, and the Grant
> > AntClassLoader
> > > > was
> > > > > preventing the new Ant classes from
> > functioning
> > > > > correctly (at least inside the Jelly build). 
> > I
> > > > moved
> > > > > the most recent Ant classloader into Grant for
> > > > now;
> > > > > what should I have done?
> > > > 
> > > > Ensure that the same packages are delegated to
> > the 
> > > > parent classloader.  grant's version just adds
> > to
> > > > the
> > > > list.  There was noises about redoing it so that
> > it
> > > > was
> > > > configurable via a properties file or something
> > > > instead
> > > > of relying on us to hand-edit and rebuild the
> > jar to
> > > > change packages. 
> > > > 
> > > > Anyhow, there's a pacakge-prefix list somewhere
> > in
> > > > the loader.  Allows the loader, even in
> > isolationist
> > > > mode, to delegate various packages like "java.*"
> > and
> > > > "org.xml.*" to a parent loader, attempting to
> > avoid
> > > > nefarious multiple-loads issues.
> > > > 
> > > >    -bob
> > > > 
> > > > 
> > > > --
> > > > To unsubscribe, e-mail: 
> > > >
> > <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <mailto:commons-dev-help@jakarta.apache.org>
> > > > 
> > > 
> > > 
> > > =====
> > > Morgan Delagrange
> > > http://jakarta.apache.org/taglibs
> > > http://jakarta.apache.org/commons
> > > http://axion.tigris.org
> > > http://jakarta.apache.org/watchdog
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> > now.
> > > http://mailplus.yahoo.com
> > > 
> > > --
> > > To unsubscribe, e-mail: 
> > <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:commons-dev-help@jakarta.apache.org>
> > > 
> > 
> > --
> > Bob McWhirter        bob@werken.com
> > The Werken Company   http://werken.com/
> > 
> > 
> > --
> > To unsubscribe, e-mail: 
> > <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:commons-dev-help@jakarta.apache.org>
> > 
> 
> 
> =====
> Morgan Delagrange
> http://jakarta.apache.org/taglibs
> http://jakarta.apache.org/commons
> http://axion.tigris.org
> http://jakarta.apache.org/watchdog
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail: 
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:commons-dev-help@jakarta.apache.org>
> 

> ForwardSourceID:NT000A891E 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message