The following issue has been updated:

    Updater: joseph benavidez (mailto:[EMAIL PROTECTED])
       Date: Thu, 8 Apr 2004 5:13 AM
    Comment:

This patch passes a long a reference system id where needed so that relative entities 
can be resolved relative to the xml file being parsed.
    Changes:
             Attachment changed to entities.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1223&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1223

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1223
    Summary: have entities resolve relative to xml files defining them
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0-rc1

   Assignee: 
   Reporter: joseph benavidez

    Created: Thu, 8 Apr 2004 5:12 AM
    Updated: Thu, 8 Apr 2004 5:13 AM
Environment: linux

Description:
I had broken out parts of my maven.xml file to entities. My structure basically looks 
like this:


superproj/
|-- buildconf
|   `-- external-ent.xml
|-- maven.xml
|-- project.properties
|-- project.xml
`-- subproj
    |-- project.properties
    `-- project.xml


In maven.xml, there's a section that looks like:

<!DOCTYPE Project [
  <!ENTITY build          SYSTEM "buildconf/maven-test.xml">
]>


The problem is, when I go into subproj (whose project.xml inherits from superproj's 
project.xml) and run a maven command, maven tries to resolve the entity to 
subproj/buildconf/maven-test.xml. 

That's why I'd like it to be relative to maven.xml.

I will attach a patch.



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to