You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Niklas Therning <ni...@trillian.se> on 2007/10/26 17:42:04 UTC

mina-continuations in the sandbox

As previously discussed here
(http://www.nabble.com/MINA-%2B-continuations-tf4686670s16868.html) I've
been playing around with combining commons-javaflow and MINA. Now, I've
added the code to the sandbox. I would be very happy if you would check
it out and tell me what you think of it.

You need to do the following to try it out:

svn co
https://svn.apache.org/repos/asf/mina/sandbox/niklas/mina-continuations
svn co http://svn.apache.org/repos/asf/commons/sandbox/javaflow/trunk
javaflow
cd javaflow
cp ../mina-continuations/javaflow-pom.xml pom.xml
mvn install
cd ../mina-continuations/
mvn package
mvn eclipse:eclipse

You should now have an Eclipse project to play around with. Try running
the simple example I've included in
org.apache.mina.continuations.example.Main. It's a lot easier to run it
from inside Eclipse than from the command line. Just make sure you add
-javaagent:target/mina-continuations-0.0.1-SNAPSHOT.jar to the VM
arguments in the launch configuration. Then add the name of the POP3
server you want to connect to as arg 1, the username to use as arg 2 and
the password as arg 3.

Please note that this is just a simple prototype. The code in the
example is just about the only code I've tried so far. There are
probably lots of bugs in there. Let me know what you think.

-- 
Niklas Therning
www.spamdrain.net


Re: mina-continuations in the sandbox

Posted by Trustin Lee <tr...@gmail.com>.
Thanks for checking in!

Cheers,
Trustin

On 10/27/07, Niklas Therning <ni...@trillian.se> wrote:
> As previously discussed here
> (http://www.nabble.com/MINA-%2B-continuations-tf4686670s16868.html) I've
> been playing around with combining commons-javaflow and MINA. Now, I've
> added the code to the sandbox. I would be very happy if you would check
> it out and tell me what you think of it.
>
> You need to do the following to try it out:
>
> svn co
> https://svn.apache.org/repos/asf/mina/sandbox/niklas/mina-continuations
> svn co http://svn.apache.org/repos/asf/commons/sandbox/javaflow/trunk
> javaflow
> cd javaflow
> cp ../mina-continuations/javaflow-pom.xml pom.xml
> mvn install
> cd ../mina-continuations/
> mvn package
> mvn eclipse:eclipse
>
> You should now have an Eclipse project to play around with. Try running
> the simple example I've included in
> org.apache.mina.continuations.example.Main. It's a lot easier to run it
> from inside Eclipse than from the command line. Just make sure you add
> -javaagent:target/mina-continuations-0.0.1-SNAPSHOT.jar to the VM
> arguments in the launch configuration. Then add the name of the POP3
> server you want to connect to as arg 1, the username to use as arg 2 and
> the password as arg 3.
>
> Please note that this is just a simple prototype. The code in the
> example is just about the only code I've tried so far. There are
> probably lots of bugs in there. Let me know what you think.
>
> --
> Niklas Therning
> www.spamdrain.net
>
>


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6