You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Joao Assuncao (Created) (JIRA)" <ji...@apache.org> on 2011/10/07 10:56:29 UTC
[jira] [Created] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
---------------------------------------------------------------
Key: FTPSERVER-425
URL: https://issues.apache.org/jira/browse/FTPSERVER-425
Project: FtpServer
Issue Type: Bug
Components: Core
Affects Versions: 1.0.6, 1.0.5
Reporter: Joao Assuncao
Priority: Minor
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Joao Assuncao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427941#comment-13427941 ]
Joao Assuncao commented on FTPSERVER-425:
-----------------------------------------
Hi.
I applied the patch to the 1.0.6 version I'm using and executed some tests. It works for me.
Thank you for your work.
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Priority: Minor
> Attachments: FTPSERVER-425.patch, core.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427653#comment-13427653 ]
Niklas Gustavsson commented on FTPSERVER-425:
---------------------------------------------
Thanks for reporting and sorry for the slow acting on this! The proposed patch won't work since a bunch of packages from core won't be included in the bundle. Instead, as the Felix link proposes, we seem to be able to remove the entire <Private-package> tag which generates a bundle without the org.apache.ftpserver.ftplet package, but all others. Also, the imports seems to look like expected. I'll upload a new proposed patch, please verify if this works for you before I commit it.
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Priority: Minor
> Attachments: core.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-425.
---------------------------------------
Resolution: Fixed
Assignee: Niklas Gustavsson
Fixed in r1385176 and r1385165
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Assignee: Niklas Gustavsson
> Priority: Minor
> Attachments: core.diff, FTPSERVER-425.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-425:
----------------------------------------
Attachment: FTPSERVER-425.patch
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Priority: Minor
> Attachments: FTPSERVER-425.patch, core.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Thomas Sartissohn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Sartissohn updated FTPSERVER-425:
----------------------------------------
Attachment: core.diff
proposed patch
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Priority: Minor
> Attachments: core.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Thomas Sartissohn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Sartissohn updated FTPSERVER-425:
----------------------------------------
Attachment: (was: core.diff)
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Priority: Minor
> Attachments: core.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FTPSERVER-425) Duplicate package
org.apache.ftpserver.ftplet in ftpserver-core
Posted by "Thomas Sartissohn (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Sartissohn updated FTPSERVER-425:
----------------------------------------
Attachment: core.diff
> Duplicate package org.apache.ftpserver.ftplet in ftpserver-core
> ---------------------------------------------------------------
>
> Key: FTPSERVER-425
> URL: https://issues.apache.org/jira/browse/FTPSERVER-425
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.5, 1.0.6
> Reporter: Joao Assuncao
> Priority: Minor
> Attachments: core.diff
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira