i think that i've managed to find a workaround for the commonDependencies.
ent problem.
in the jelly-tags/ant/project.xml replace:
<!DOCTYPE project [
<!-- see file for description -->
<!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
]>
with
<!DOCTYPE project [
<!-- see file for description -->
<!ENTITY commonDeps SYSTEM "../../commonDependencies.ent">
]>
i suspect that this is due to a bug in xerces (but i could very well be mistaken).
the build won't complete when you make the change since it can't find '../tag-project.xml'. i have an idea that this needs to fixed by changing the reactor (but i could be mistaken).
- robert
On Monday, January 20, 2003, at 06:55 PM, Morgan Delagrange wrote:
--- robert burrell donkin <[EMAIL PROTECTED]> wrote:On Monday, January 20, 2003, at 05:33 PM, Morgan Delagrange wrote:--- James Strachan <[EMAIL PROTECTED]>wrote:From: "Morgan Delagrange" <[EMAIL PROTECTED]>--- James Strachan <[EMAIL PROTECTED]>wrote:I'm gonna sit on the fence a little as I agreewithboth of you. Before a 1.0 release I'd like to * provide a simple build to build and test allthelibraries (hopefully using Maven reactor though anything would do).Thiscan help in refactoring, testing that we don't break things.Everything appears to be correct in the reactor.Iverified via debug statements that the parsefailswhen MavenUtils.getProject(File,MavenJellyContext,boolean) attempts to parse the projectDescriptorwithBetwixt via the BeanReader.parse(File) method.Thatmethod seems to be inherited from Digester, andlooksfine: public Object parse(File file) throws IOException, SAXException { configure(); InputSource input = new InputSource(newFileInputStream(file));input.setSystemId("file://" + file.getAbsolutePath()); getXMLReader().parse(input); return (root); } Wierd.Is this one of those problems of the currentworkingdirectory being different (when built using the reactor) to whatitis when just building one library at a time? JamesThat's the apparent difference, althoughDigester'sinvocation of the InputSource.setSystemId(String) method should have made this a non-issue.if you can tell me a simple way to reproduce the problem, i'd be willing to take a look and see if i can come up with anything. - robertI don't have a simple test case for it. If you go to jakarta-commons-sandbox/jelly/jelly-tags/ant and run "maven java:compile", there is no problem. However if you run "maven tags-build" from jakarta-commons-sandbox/jelly, Maven will fail to open the commonsDependencies.ent file referenced in the ant build script. - 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:[EMAIL PROTECTED]. org> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]. org>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>