Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1300

Remove legacy bundle cache support when extracting embedded JAR files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • framework-1.8.1
    • framework-2.0.0
    • Framework
    • None

    Description

      A while ago we modified IContent so we could use that interface to extract JAR files, which was necessary for fragment support where we needed to be able to access embedded content to construct the host class path. The approach is actually more powerful than what is necessary, since we allow JAR files to be extracted from embedded JAR files and JAR files embedded in the embedded JAR files to be extracted and so. As a result of this, you can end up with situation where embedded JAR files in different embedded JAR files may have the same name, so to avoid name clashes, we extract embedded JAR files into a directory named after the bundle. This was problematic at the top-level, since it would not be backwards compatible with existing caches. As a result, we special case the top-level and just use the name "embedded" for the directly as was done in the past. With the move to 2.0, I want to remove this legacy since there isn't much point to keeping it.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: