You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Peter Schellenberg <pe...@bluewin.ch> on 2008/04/03 23:08:21 UTC
building ftpserver
Hello
I am an it student at the university of winterthur, Switzerland and I am
having difficulties building the ftpserver. We are testing this ftpserver in
our project and we are very eager to getting it to work.
My first problem was to find the path according to the instructions on
http://mina.apache.org/building-ftpserver.html.
The path http://svn.apache.org/repos/asf/mina/sandbox/ftpserver/trunk/ is
not working. After checking it, I've noticed that the "sandbox" directory
doesn't exit anymore. Therefore I've used the following path:
http://svn.apache.org/repos/asf/mina/ftpserver/trunk/; but I'm not sure if
it's the right on.
After downloading the source files I've tried compiling and running all unit
tests which wasn't successful. The build failed with a lot of errors. I have
attached a screenshot with the errors. I have also tried the next step of
the instructions: $ mvn install # Build packages (JARs) and install them to
the local Maven repository
but it failed as well. At the end I've tried the following step of the
instructions
$ mvn eclipse:eclipse # Generate Eclipse project files if you want
which was successful but only generated three xml files and not a eclipse
project.
This ftpserver is perfect for our project and as my knowledge of maven is
very little I would be very grateful if somebody could help me with the
setup.
Best regards
Peter Schellenberg
ZHAW
Re: building ftpserver
Posted by Curt Johansson <cu...@telia.com>.
Hi Peter,
I've also downloaded it from
http://svn.apache.org/repos/asf/mina/ftpserver/trunk/
and successfully built it using
mvn -Dmaven.test.skip=true install
to avoid the failing tests. The resulting jars seem to be working fine for
the simple use cases. I havent tried out any sophisticated authentication or
IP filtering so far
HTH
Curt Johansson
----- Original Message -----
From: "Peter Schellenberg" <pe...@bluewin.ch>
To: <us...@mina.apache.org>
Sent: Thursday, April 03, 2008 11:08 PM
Subject: building ftpserver
> Hello
>
> I am an it student at the university of winterthur, Switzerland and I am
> having difficulties building the ftpserver. We are testing this ftpserver
> in
> our project and we are very eager to getting it to work.
>
> My first problem was to find the path according to the instructions on
> http://mina.apache.org/building-ftpserver.html.
> The path http://svn.apache.org/repos/asf/mina/sandbox/ftpserver/trunk/ is
> not working. After checking it, I've noticed that the "sandbox" directory
> doesn't exit anymore. Therefore I've used the following path:
> http://svn.apache.org/repos/asf/mina/ftpserver/trunk/; but I'm not sure if
> it's the right on.
>
> After downloading the source files I've tried compiling and running all
> unit
> tests which wasn't successful. The build failed with a lot of errors. I
> have
> attached a screenshot with the errors. I have also tried the next step of
> the instructions: $ mvn install # Build packages (JARs) and install them
> to
> the local Maven repository
> but it failed as well. At the end I've tried the following step of the
> instructions
> $ mvn eclipse:eclipse # Generate Eclipse project files if you want
> which was successful but only generated three xml files and not a eclipse
> project.
>
> This ftpserver is perfect for our project and as my knowledge of maven is
> very little I would be very grateful if somebody could help me with the
> setup.
>
> Best regards
> Peter Schellenberg
> ZHAW
>
Re: building ftpserver
Posted by Niklas Gustavsson <ni...@protocol7.com>.
Hi Peter
On Thu, Apr 3, 2008 at 11:08 PM, Peter Schellenberg
<pe...@bluewin.ch> wrote:
> My first problem was to find the path according to the instructions on
> http://mina.apache.org/building-ftpserver.html.
The code was recently moved, I've updated the page in the
documentation. Sorry about the confusion.
> After downloading the source files I've tried compiling and running all unit
> tests which wasn't successful. The build failed with a lot of errors. I have
> attached a screenshot with the errors.
Are you running with the very latest code, could you please do an SVN
update and try building again? If it still fails I'm very interested
in fixing it. I'm afraid the screenshot wasn't attached or got removed
by the mail server. Could you please take a copy of the output from
the maven, for example by running:
mvn test > maven.log
Could you send that file as well as the files in
core\target\surefire-reports as a ZIP file to me directly and I'll
have a look at it. Since a few days ago, no tests should break.
> This ftpserver is perfect for our project and as my knowledge of maven is
> very little I would be very grateful if somebody could help me with the
> setup.
Glad to here FtpServer would be good for you. Feel free asking any
questions relating to the project on this list and someone will help
you out :-)
/niklas