You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/05/11 11:40:01 UTC

[jira] Closed: (MAVEN-1223) have entities resolve relative to xml files defining them

Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Tue, 11 May 2004 5:39 AM

applied with modifications to make sure existing public interface is not broken. Added touchstone tests. Thanks.
---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0-rc3
   Versions:
             1.0-rc1

   Assignee: Brett Porter
   Reporter: joseph benavidez

    Created: Thu, 8 Apr 2004 5:12 AM
    Updated: Tue, 11 May 2004 5:39 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org