Hi Philipp, you have to create proper references for your system entities. Relative paths are not resolved from the location of the including XML, but from your current working directory, while those paths within an entity file are resolved accoring its location. This is not how it should be with XML, but how it works in Maven ;-)
Philipp Gasser wrote on Friday, May 06, 2005 3:01 PM: >> Hi Philipp, >> >>> from where did you start Maven? Did you build the complete >>> multi-project >> or only a single subproject? > I've started it from a single subproject. >> >> >> Philipp Gasser wrote on Friday, May 06, 2005 2:13 PM: >> >> [snip] >> >>> SubProject - project.xml: >>> -------------------------- >>> <?xml version="1.0"?> >>> <!DOCTYPE project [ >>> <!ENTITY % index SYSTEM "file:index.ent"> %index; ]> >> >> >> What's the content of your index.ent? > <!ENTITY % versions SYSTEM "versions.ent"> > %versions; > > the main version - file. This should be <!ENTITY % versions SYSTEM "file:../../../versions.ent"> %versions; assuming you have located your version.ent at the same position as your commons-project.xml and this index.ent is located next to your POM of the subproject. [snip] >>> >>> Multiproject - commons-project.xml >>> ------------------------------------ >>> <?xml version="1.0" encoding="ISO-8859-1"?> >>> <!DOCTYPE project [ >>> <!ENTITY % index SYSTEM "versions.ent"> %index; >>> ]> This has to be also: <!DOCTYPE project [ <!ENTITY % index SYSTEM "file:index.ent"> %index; ]> and you'll need a "index.ent" next to your commons-project.xml containing: <!ENTITY % versions SYSTEM "file:versions.ent"> %versions; [snip] - J�rg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
