you could import an example into Eclipse.  I would recommend importing the
entire MINA source tree into eclipse.  You may have to gather up some jar
files in order to make everything work.  Once you have the source tree in
Eclipse, you can run the examples.  As for your question on test data,
depending on the example, the input will be different.  The EchoServer
example only requires you to telnet to port 8080 and type things in...


On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Is it possible to import example directory as it is in Eclipse and able
execute run programs. I am able to compile and run most of the programs
but

it's not clear what should be input and what is expected output.

Nag



             "Trustin Lee"
             <[EMAIL PROTECTED]
             m>                                                         To
                                       [email protected]
             03/13/2007 06:55                                           cc
             PM
                                                                   Subject
                                       Re: Not able to execute any sample
             Please respond to         program
             [EMAIL PROTECTED]
                    rg








Hi Nag,

On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
>
> I am successfully run the sample programs in Apache Mina documentation
> page
> http://mina.apache.org/documentation.html
>
> but it's not clear how to run with sample data.
>
>
> Ex.
>
> |-------------+------------------------------+------|
> |     Name    |    Feature it demonstrates   | Side |
> |-------------+------------------------------+------|
> |   Reverser  |   Text protocol based on a   | Serve|
> |  (Embedded  |        protocol codec        |   r  |
> | image moved |                              |      |
> |   to file:  |                              |      |
> | pic00467.gif|                              |      |
> |      )      |                              |      |
> |-------------+------------------------------+------|
>
>
>
> I tried to execut above program but dont know how to demostrate the
above
> example.
>
> Same with other sample programs.
>
> Appreciate any help or pointers to place where this is already
addressed.


Assuming you are using Maven 2, please run 'mvn eclipse:eclipse', then it
will generate Eclipse project files for each examples.  Please import the
projects into your Eclipse workbench, and run them there.

Any additional error messages could help us to find out what's wrong
though.

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


.                                                                               
                                                                     This
message and any attachments contain information from Union Pacific which may
be confidential and/or privileged.
If you are not the intended recipient, be aware that any disclosure,
copying, distribution or use of the contents of this message is strictly
prohibited by law. If you receive this message in error, please contact the
sender immediately and delete the message and any attachments.




--
..Cheers
Mark

Reply via email to