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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > ===== > > 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:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > Bob McWhirter [EMAIL PROTECTED] > The Werken Company http://werken.com/ > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > ===== 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:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>