You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/12/10 08:38:26 UTC

[jira] Created: (SM-1165) servicemix.sh script spitting errors

servicemix.sh script spitting errors
------------------------------------

                 Key: SM-1165
                 URL: https://issues.apache.org/activemq/browse/SM-1165
             Project: ServiceMix
          Issue Type: Bug
          Components: tooling
    Affects Versions: 4.0-m1
         Environment: SUSE Linux 10.1
            Reporter: Bozhong Lin
            Priority: Blocker


After I build service and run servicemix.sh under bin or bin/linux directory, both scripts gave me errors.

bin/servicemix.sh gave me following error:
[blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin]$sh ./servicemix.sh
: command not foundne 20:
: command not foundne 23:
: command not foundne 27:
'/servicemix.sh: line 38: syntax error near unexpected token `{
'/servicemix.sh: line 38: `warn() {

and bin/linux/servicemix.sh gave me following error:
[blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin/linux]$sh ./servicemix.sh
: command not foundne 2:
: command not foundne 19:
: command not foundne 24:
: command not foundne 28:
: command not foundne 32:
: command not foundne 35:
: command not foundne 40:
: command not foundne 50:
: command not foundne 55:
: command not foundne 58:
'/servicemix.sh: line 60: syntax error near unexpected token `in
'/servicemix.sh: line 60: `case $0 in

Also, under servicemix 4.0 installation root direcotry, README.txt has URL links pointing to the old documentation (get started)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1165) servicemix.sh script spitting errors

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SM-1165.
--------------------------------------

    Resolution: Won't Fix
      Assignee: Jean-Baptiste Onofré

The zip distribution is dedicated for windows platform.

On unix systems, you should use the tar.gz distribution.

> servicemix.sh script spitting errors
> ------------------------------------
>
>                 Key: SM-1165
>                 URL: https://issues.apache.org/activemq/browse/SM-1165
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 4.0-m1
>         Environment: SUSE Linux 10.1
>            Reporter: Bozhong Lin
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>
> After I build service and run servicemix.sh under bin or bin/linux directory, both scripts gave me errors.
> bin/servicemix.sh gave me following error:
> [blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin]$sh ./servicemix.sh
> : command not foundne 20:
> : command not foundne 23:
> : command not foundne 27:
> '/servicemix.sh: line 38: syntax error near unexpected token `{
> '/servicemix.sh: line 38: `warn() {
> and bin/linux/servicemix.sh gave me following error:
> [blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin/linux]$sh ./servicemix.sh
> : command not foundne 2:
> : command not foundne 19:
> : command not foundne 24:
> : command not foundne 28:
> : command not foundne 32:
> : command not foundne 35:
> : command not foundne 40:
> : command not foundne 50:
> : command not foundne 55:
> : command not foundne 58:
> '/servicemix.sh: line 60: syntax error near unexpected token `in
> '/servicemix.sh: line 60: `case $0 in
> Also, under servicemix 4.0 installation root direcotry, README.txt has URL links pointing to the old documentation (get started)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1165) servicemix.sh script spitting errors

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40821 ] 

Freeman Fang commented on SM-1165:
----------------------------------

For your script problem, I assume you unzip the .zip package on linux/unix platform, this .zip kit use windows style CR for the script, you should try the tar.gz kit on linux/unix


> servicemix.sh script spitting errors
> ------------------------------------
>
>                 Key: SM-1165
>                 URL: https://issues.apache.org/activemq/browse/SM-1165
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 4.0-m1
>         Environment: SUSE Linux 10.1
>            Reporter: Bozhong Lin
>            Priority: Blocker
>
> After I build service and run servicemix.sh under bin or bin/linux directory, both scripts gave me errors.
> bin/servicemix.sh gave me following error:
> [blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin]$sh ./servicemix.sh
> : command not foundne 20:
> : command not foundne 23:
> : command not foundne 27:
> '/servicemix.sh: line 38: syntax error near unexpected token `{
> '/servicemix.sh: line 38: `warn() {
> and bin/linux/servicemix.sh gave me following error:
> [blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin/linux]$sh ./servicemix.sh
> : command not foundne 2:
> : command not foundne 19:
> : command not foundne 24:
> : command not foundne 28:
> : command not foundne 32:
> : command not foundne 35:
> : command not foundne 40:
> : command not foundne 50:
> : command not foundne 55:
> : command not foundne 58:
> '/servicemix.sh: line 60: syntax error near unexpected token `in
> '/servicemix.sh: line 60: `case $0 in
> Also, under servicemix 4.0 installation root direcotry, README.txt has URL links pointing to the old documentation (get started)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1165) servicemix.sh script spitting errors

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40822 ] 

Bozhong Lin commented on SM-1165:
---------------------------------

Yep, it is correct that I was using "unzip" command. IMHO, we should make .zip kit work under linux as well. Right now tar.gz kit does work as expected.

> servicemix.sh script spitting errors
> ------------------------------------
>
>                 Key: SM-1165
>                 URL: https://issues.apache.org/activemq/browse/SM-1165
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: tooling
>    Affects Versions: 4.0-m1
>         Environment: SUSE Linux 10.1
>            Reporter: Bozhong Lin
>            Priority: Blocker
>
> After I build service and run servicemix.sh under bin or bin/linux directory, both scripts gave me errors.
> bin/servicemix.sh gave me following error:
> [blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin]$sh ./servicemix.sh
> : command not foundne 20:
> : command not foundne 23:
> : command not foundne 27:
> '/servicemix.sh: line 38: syntax error near unexpected token `{
> '/servicemix.sh: line 38: `warn() {
> and bin/linux/servicemix.sh gave me following error:
> [blin@Kowloon-/local/dev/servicemix/smx40/apache-servicemix/target/apache-servicemix-4.0-SNAPSHOT/bin/linux]$sh ./servicemix.sh
> : command not foundne 2:
> : command not foundne 19:
> : command not foundne 24:
> : command not foundne 28:
> : command not foundne 32:
> : command not foundne 35:
> : command not foundne 40:
> : command not foundne 50:
> : command not foundne 55:
> : command not foundne 58:
> '/servicemix.sh: line 60: syntax error near unexpected token `in
> '/servicemix.sh: line 60: `case $0 in
> Also, under servicemix 4.0 installation root direcotry, README.txt has URL links pointing to the old documentation (get started)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.