Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-176

Support JarUrlConnection with regexp in the SU <classpath/>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.3
    • None
    • servicemix-common
    • None
    • ServiceMix 3.3.1
      JVM 1.5.0 Sun
      Linux

    Description

      It's possible to extend the SU classloader using the <classpath/> tag.
      Currently, the <location/> tag in classpath uses File and expects something like /path/to/my.jar.

      We are going to extend this using JarUrlConnection inside the <location/> tag. Using JarUrlConnection, the user will be able to use classpath extension like :
      jar:file:/path/to/my.ear!/my.jar
      for example.

      Moreover, we will add regexp supports for jar lookup. At the end, the user will be able to use something like that :
      jar:file/path/to/my.ear!/my*.jar

      Attachments

        1. SMXCOMP-176_4.patch
          15 kB
          Jean-Baptiste Onofré
        2. SMXCOMP-176_3.patch
          22 kB
          Jean-Baptiste Onofré
        3. SMXCOMP-176_2.patch
          4 kB
          Jean-Baptiste Onofré
        4. SMXCOMP-176_1.patch
          23 kB
          Jean-Baptiste Onofré
        5. SMXCOMP-176.patch
          20 kB
          Jean-Baptiste Onofré
        6. SM-1771-4.patch
          8 kB
          Jean-Baptiste Onofré
        7. SM-1771-3.patch
          8 kB
          Jean-Baptiste Onofré
        8. SM-1771-2.patch
          6 kB
          Jean-Baptiste Onofré
        9. SM-1771-1.patch
          4 kB
          Jean-Baptiste Onofré

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            jb@nanthrax.net Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: