commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morgan Delagrange <mdela...@yahoo.com>
Subject Re: [jelly] Taglib split out - done?
Date Mon, 20 Jan 2003 17:33:31 GMT

--- James Strachan <james_strachan@yahoo.co.uk> wrote:
> From: "Morgan Delagrange" <mdelagra@yahoo.com>
> > --- James Strachan <james_strachan@yahoo.co.uk>
> wrote:
> > >
> > > I'm gonna sit on the fence a little as I agree
> with
> > > both of you. Before a
> > > 1.0 release I'd like to
> > >
> > > * provide a simple build to build and test all
> the
> > > libraries (hopefully
> > > using Maven reactor though anything would do).
> This
> > > can help in refactoring,
> > > testing that we don't break things.
> >
> > Everything appears to be correct in the reactor. 
> I
> > verified via debug statements that the parse fails
> > when MavenUtils.getProject(File,
> MavenJellyContext,
> > boolean) attempts to parse the projectDescriptor
> with
> > Betwixt via the BeanReader.parse(File) method. 
> That
> > method seems to be inherited from Digester, and
> looks
> > fine:
> >
> >     public Object parse(File file)
> >       throws IOException, SAXException {
> >         configure();
> >         InputSource input =
> >           new InputSource(new
> FileInputStream(file));
> >         input.setSystemId("file://" +
> >           file.getAbsolutePath());
> >         getXMLReader().parse(input);
> >         return (root);
> >     }
> >
> > Wierd.
> 
> Is this one of those problems of the current working
> directory being
> different (when built using the reactor) to what it
> is when just building
> one library at a time?
> 
> James

That's the apparent difference, although Digester's
invocation of the InputSource.setSystemId(String)
method should have made this a non-issue.

- Morgan

=====
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>


Mime
View raw message