Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Osgi fix imports #1

Closed
wants to merge 246 commits into from
Closed

Osgi fix imports #1

wants to merge 246 commits into from

Conversation

ieugen
Copy link
Member

@ieugen ieugen commented Aug 28, 2013

I noticed that version 1.0.6 does not work well with OSGi because it includes all the classes from ftplet-api but it does not export them in the manifests headers. This requires adding the ftplet-api bundle which results in two versions of the same classes on the classpath. This makes custom implementation of Ftpserver interfaces impossible.

I tried to build my own UserManger and User implementation to authenticate against a DB via JPA. I could not do it because I got linkage errors since my implementation depended on the ftplet-api interfaces which are loaded in OSGi via two separate classloaders: one version from the ftpserver-core bundle (but these are private and not exported) and one from ftplet-api.

        <dependency>
            <groupId>org.apache.ftpserver</groupId>
            <artifactId>ftpserver-core</artifactId>
            <version>1.0.6</version>
        </dependency>

Niklas Gustavsson and others added 30 commits February 1, 2009 12:17
…the hard coded Sun version (FTPSERVER-273)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@740837 13f79535-47bb-0310-9956-ffa450edef68
…n using a dynamic port (FTPSERVER-275)

Tests now used dynamic ports rather than trying to find a free port. The previous algorithm broke down when the test suite was run concurrently on the same host
Updated BasePropertiesTest since the previous bad host address actually resolved when using OpenDNS.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@744567 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@746928 13f79535-47bb-0310-9956-ffa450edef68
…stead which seems to work. Thanks Sai Pullabhotla for the patch! (FTPSERVER-279)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@750819 13f79535-47bb-0310-9956-ffa450edef68
…stead which seems to work. Thanks Sai Pullabhotla for the patch! (FTPSERVER-279)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.x@751388 13f79535-47bb-0310-9956-ffa450edef68
… statistics correct (FTPSERVER-269)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@751390 13f79535-47bb-0310-9956-ffa450edef68
…ilter chain exception (FTPSERVER-297)

Fix bug where server will not close the session if an Ftplet returns DISCONNECT in the onConnect callback (FTPSERVER-298)
Adding logging in all places where we close sessions.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.x@774507 13f79535-47bb-0310-9956-ffa450edef68
…ilter chain exception (FTPSERVER-297)

Fix bug where server will not close the session if an Ftplet returns DISCONNECT in the onConnect callback (FTPSERVER-298)
Adding logging in all places where we close sessions.

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@774508 13f79535-47bb-0310-9956-ffa450edef68
Niklas Gustavsson and others added 29 commits June 18, 2011 21:40
… and has more efficient handling of wide passive port ranges. Thanks to Allen Firstenberg for the implementation! (FTPSERVER-420, FTPSERVER-419)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.x@1137252 13f79535-47bb-0310-9956-ffa450edef68
…hecking the temporary getUserArgument() rather than the correct getUser() (FTPSERVER-418)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@1138603 13f79535-47bb-0310-9956-ffa450edef68
…hecking the temporary getUserArgument() rather than the correct getUser() (FTPSERVER-418)

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.x@1138613 13f79535-47bb-0310-9956-ffa450edef68
…gin to have the build deploy to repository.a.o

git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/branches/1.0.6@1140167 13f79535-47bb-0310-9956-ffa450edef68
* fixed osgi export version for ftpserver-api
@ieugen ieugen closed this Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants