Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-425

Duplicate package org.apache.ftpserver.ftplet in ftpserver-core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.5, 1.0.6
    • None
    • Core
    • None

    Description

      The package org.apache.ftpserver.ftplet is copied from ftplet-api into ftpserver when the bundle is assembled.
      When I disabled the bundle plugin in the pom for the core the package mentioned isn't copied.
      This page might provide some insight: http://felix.apache.org/site/apache-felix-bundle-plugin-faq.html#ApacheFelixBundlePluginFAQ-WhydoIseemoreclassesinmybundleafterupgradingtomavenbundleplugin2.0.0%253F
      Removing the line "org.apache.ftpserver.*" in <private-package> seems to solve the isssue

      The duplicate package is an issue when running inside an OSGI framework. In Apache Felix 3.2.2 I get a ClassCastException when I try to install a FtpLet

      Attachments

        1. core.diff
          0.6 kB
          Thomas Sartissohn
        2. FTPSERVER-425.patch
          1.0 kB
          Niklas Therning

        Issue Links

          Activity

            People

              niklas Niklas Therning
              jassuncao Joao Assuncao
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified