[Yanel-dev] [Bug 8447] New: Fix ambiguous resolving inside jar files which contain two packages

bugzilla at wyona.com bugzilla at wyona.com
Fri Jul 22 17:08:47 CEST 2011


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8447

           Summary: Fix ambiguous resolving inside jar files which contain
                    two packages
           Product: Yanel
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major (B)
          Priority: P2
         Component: General
        AssignedTo: michael.wechner at wyona.org
        ReportedBy: michael.wechner at wyona.org
         QAContact: yanel-development at wyona.com


A jar file can contain more than one resource and it's possible that one is
using for each resource a different package. But this leads to an ambiguous
resolving of files when using the rthtdocs protocol, e.g.

rthtdocs:/results2xhtml.xsl

As a workaround one has to make sure that all resources within the same jar
file are using the same package as the search/re-index resources do:

src/contributions/resources/search

In order to fix this "properly" one has the following options (at least that I
am aware of so far):

- Duplicate the files/directories (in particular the "htdocs" directory)
- Don't allow to use more than package for different resources inside the same
jar
- Try to enhance the Resolver
(src/core/java/org/wyona/yanel/core/source/RTabstractResolver.java)


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list