Bundlor
  1. Bundlor
  2. BNDLR-203

Bundlor incorrectly generates imports containing the name of enclosing classes when you have nested classes

    Details

    • Type: Defect Defect
    • Status: To Do To Do
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0.M2
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      3

      Activity

      Hide
      Rob Harrop added a comment -

      Happened again in STS 2.0.2

      Project: com.springsource.osgi.webcontainer.core

      Template:

      Manifest-Version: 1
      Bundle-ManifestVersion: 2
      Bundle-SymbolicName: com.springsource.osgi.webcontainer
      Bundle-Version: 1.0
      Bundle-Name: SpringSource OSGi Web Container
      Import-Template: org.osgi.framework;version="0",
      com.springsource.util.*;version="2.0",
      javax.servlet.*;version="2.5",
      org.osgi.service.url.*;version="1.0",
      org.osgi.util.tracker.*;version="1.4.2"
      Export-Template: org.osgi.services.webcontainer.*;version="1.0",
      com.springsource.osgi.webcontainer.*;version="1.0"
      Excluded-Exports: com.springsource.osgi.webcontainer.internal
      Bundle-Activator: com.springsource.osgi.webcontainer.internal.WebContainerActivator

      Generated Manifest:

      Manifest-Version: 1
      Bundle-Name: SpringSource OSGi Web Container
      Bundle-Classpath: .
      Bundle-Activator: com.springsource.osgi.webcontainer.internal.WebConta
      inerActivator
      Import-Package: com.springsource.util.io;version="2.0",com.springsourc
      e.util.io.JarTransformer;version="2.0",com.springsource.util.osgi;ver
      sion="2.0",com.springsource.util.osgi.manifest;version="2.0",com.spri
      ngsource.util.osgi.manifest.parse;version="2.0",javax.servlet;version
      ="2.5",org.osgi.framework;version="0",org.osgi.service.url;version="1
      .0",org.osgi.util.tracker;version="1.4.2"
      Bundle-ManifestVersion: 2
      Bundle-SymbolicName: com.springsource.osgi.webcontainer
      Export-Package: com.springsource.osgi.webcontainer.core;version="1.0";
      uses:="org.osgi.framework",com.springsource.osgi.webcontainer.core.sp
      i;version="1.0";uses:="javax.servlet,org.osgi.framework",com.springso
      urce.osgi.webcontainer.internal.url;version="1.0";uses:="com.springso
      urce.util.io,com.springsource.util.osgi.manifest,com.springsource.uti
      l.osgi.manifest.parse,org.osgi.service.url"
      Bundle-Version: 1.0

      Show
      Rob Harrop added a comment - Happened again in STS 2.0.2 Project: com.springsource.osgi.webcontainer.core Template: Manifest-Version: 1 Bundle-ManifestVersion: 2 Bundle-SymbolicName: com.springsource.osgi.webcontainer Bundle-Version: 1.0 Bundle-Name: SpringSource OSGi Web Container Import-Template: org.osgi.framework;version="0", com.springsource.util.*;version="2.0", javax.servlet.*;version="2.5", org.osgi.service.url.*;version="1.0", org.osgi.util.tracker.*;version="1.4.2" Export-Template: org.osgi.services.webcontainer.*;version="1.0", com.springsource.osgi.webcontainer.*;version="1.0" Excluded-Exports: com.springsource.osgi.webcontainer.internal Bundle-Activator: com.springsource.osgi.webcontainer.internal.WebContainerActivator Generated Manifest: Manifest-Version: 1 Bundle-Name: SpringSource OSGi Web Container Bundle-Classpath: . Bundle-Activator: com.springsource.osgi.webcontainer.internal.WebConta inerActivator Import-Package: com.springsource.util.io;version="2.0",com.springsourc e.util.io.JarTransformer;version="2.0",com.springsource.util.osgi;ver sion="2.0",com.springsource.util.osgi.manifest;version="2.0",com.spri ngsource.util.osgi.manifest.parse;version="2.0",javax.servlet;version ="2.5",org.osgi.framework;version="0",org.osgi.service.url;version="1 .0",org.osgi.util.tracker;version="1.4.2" Bundle-ManifestVersion: 2 Bundle-SymbolicName: com.springsource.osgi.webcontainer Export-Package: com.springsource.osgi.webcontainer.core;version="1.0"; uses:="org.osgi.framework",com.springsource.osgi.webcontainer.core.sp i;version="1.0";uses:="javax.servlet,org.osgi.framework",com.springso urce.osgi.webcontainer.internal.url;version="1.0";uses:="com.springso urce.util.io,com.springsource.util.osgi.manifest,com.springsource.uti l.osgi.manifest.parse,org.osgi.service.url" Bundle-Version: 1.0

        People

        • Assignee:
          Unassigned
          Reporter:
          Rob Harrop
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:

            Time Tracking

            Estimated:
            Original Estimate - 8h
            8h
            Remaining:
            Remaining Estimate - 0h
            0h
            Logged:
            Time Spent - 31m Time Not Required
            31m