yrift / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
0 stars 0 forks source link

Bash startup is quite much broken #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to start the server using the .sh files in bin/ 

What is the expected output? What do you see instead?
Doesn't work at all for me.

What version of the product are you using? On what operating system?
0.10, Linux (Ubuntu 10.04)

Please provide any additional information below.
Find fixed versions attached. They work like a charm for me (even though I 
don't claim to be a bash magician).

Original issue reported on code.google.com by latitude...@googlemail.com on 25 Sep 2010 at 6:55

Attachments:

GoogleCodeExporter commented 9 years ago
Issues were:
- Windows style line-breaks (use fromdos file.sh on Linux to convert)
- not returning 0 as exit code
- if statements didn't work (couldn't find out why, should have been correct), 
removed them as they were unnecessary anyways
- added an echo for the set environment variable as an easy way for basic 
debugging that crucial step

Original comment by latitude...@googlemail.com on 25 Sep 2010 at 6:57

GoogleCodeExporter commented 9 years ago
I confirm both problem and the fix. 
Only one thing left, "%1 %2 %3 %4 %5 %6 %7 %8 %9" are this the program 
arguments in .bat? Then change it to "$1 $2 $3 $4 $5 $6 $7 $8 $9" for bash.

Original comment by rachidbm@gmail.com on 1 Oct 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Hi Guys, we will update the .sh scripts according to your suggestions in the 
next release, which is coming very soon. I put this this high prio. Thanks. 
Alex.

Original comment by fivefeetfurther@gmail.com on 5 Oct 2010 at 1:58

GoogleCodeExporter commented 9 years ago
Also check:
http://code.google.com/p/jwebsocket/issues/detail?id=33&sort=milestone

Original comment by fivefeetfurther@gmail.com on 14 Oct 2010 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by fivefeetfurther@gmail.com on 15 Oct 2010 at 3:24

GoogleCodeExporter commented 9 years ago
Fixed and tested in MAC and linux ubuntu. Attaching the file

Original comment by galianur...@gmail.com on 17 Oct 2010 at 4:15

Attachments:

GoogleCodeExporter commented 9 years ago
The shell script is attached to this ticket. I am having issues checking this 
in. So pls checkin.

Original comment by galianur...@gmail.com on 17 Oct 2010 at 4:16