You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Andrew Potter (JIRA)" <de...@tuscany.apache.org> on 2012/05/23 21:41:41 UTC
[jira] [Created] (TUSCANY-4056) tuscany.sh has "\r" carriage
returns, unusable in linux
Andrew Potter created TUSCANY-4056:
--------------------------------------
Summary: tuscany.sh has "\r" carriage returns, unusable in linux
Key: TUSCANY-4056
URL: https://issues.apache.org/jira/browse/TUSCANY-4056
Project: Tuscany
Issue Type: Bug
Affects Versions: Java-SCA-2.0-Beta3
Environment: Ubuntu 12.04 Virtualbox
Reporter: Andrew Potter
Priority: Blocker
tuscany.sh was edited in an environment (windows) that places "\r" or "\r\c" at the end of each line, causing the error:
./tuscany.sh: line 16: $'\r': command not found
./tuscany.sh: line 18: $'\r': command not found
...
when run from a bash shell.
Solution: Strip all occurrences of '\r' in the file, for example:
sed 's/\r//g' tuscany.sh > tuscanyNEW.sh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TUSCANY-4056) tuscany.sh has "\r" carriage
returns, unusable in linux
Posted by "Andrew Potter (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423326#comment-13423326 ]
Andrew Potter commented on TUSCANY-4056:
----------------------------------------
This is still not added as of Jul 26. Also some clarification, the quotes only need to be added in the java call:
java $_XDEBUG -jar "$TUSCANY_HOME"/bin/launcher.jar "$@"
> tuscany.sh has "\r" carriage returns, unusable in linux
> -------------------------------------------------------
>
> Key: TUSCANY-4056
> URL: https://issues.apache.org/jira/browse/TUSCANY-4056
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-2.0-Beta3
> Environment: Ubuntu 12.04 Virtualbox
> Reporter: Andrew Potter
> Priority: Blocker
> Labels: patch
> Attachments: tuscany.sh
>
>
> tuscany.sh was edited in an environment (windows) that places "\r" or "\r\c" at the end of each line, causing the error:
> ./tuscany.sh: line 16: $'\r': command not found
> ./tuscany.sh: line 18: $'\r': command not found
> ...
> when run from a bash shell.
> Solution: Strip all occurrences of '\r' in the file, for example:
> sed 's/\r//g' tuscany.sh > tuscanyNEW.sh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (TUSCANY-4056) tuscany.sh has "\r" carriage
returns, unusable in linux
Posted by "Andrew Potter (JIRA)" <de...@tuscany.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Potter updated TUSCANY-4056:
-----------------------------------
Attachment: tuscany.sh
File updated to remove "\r", also added quotes around "TUSCANY_HOME" to account for spaces in pathnames.
> tuscany.sh has "\r" carriage returns, unusable in linux
> -------------------------------------------------------
>
> Key: TUSCANY-4056
> URL: https://issues.apache.org/jira/browse/TUSCANY-4056
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-SCA-2.0-Beta3
> Environment: Ubuntu 12.04 Virtualbox
> Reporter: Andrew Potter
> Priority: Blocker
> Labels: patch
> Attachments: tuscany.sh
>
>
> tuscany.sh was edited in an environment (windows) that places "\r" or "\r\c" at the end of each line, causing the error:
> ./tuscany.sh: line 16: $'\r': command not found
> ./tuscany.sh: line 18: $'\r': command not found
> ...
> when run from a bash shell.
> Solution: Strip all occurrences of '\r' in the file, for example:
> sed 's/\r//g' tuscany.sh > tuscanyNEW.sh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira