incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiu Zhigang" <qiu...@chinatelecom.com.cn>
Subject deploy-db-dev.sh failed when execute command "ant deploydb"
Date Fri, 25 Jan 2013 07:10:05 GMT
Hi,

I am trying to setup cloudstack dev environment with branch /origin/4.0 at
git repository.
I have downloaded the src from git repository and url as well but I am
getting following error while deploying db...


command : ant deploydb

$ ant deploydb
Buildfile: build.xml
     [echo] Using build parameters from
D:\opensource\incubator-cloudstack/build/build-cloud.properties
     [echo] Using company info from
D:\opensource\incubator-cloudstack\build/cloud.properties
     [echo] Using override file from
D:\opensource\incubator-cloudstack\build/replace.properties
     [echo] Using build parameters from
D:\opensource\incubator-cloudstack/build/build-cloud.properties
     [echo] Using company info from
D:\opensource\incubator-cloudstack\build/cloud.properties
     [echo] Using override file from
D:\opensource\incubator-cloudstack\build/replace.properties
     [echo] deploy home: D:\opensource\incubator-cloudstack\build\deploy

deploy-cloudstack-db:
     [echo] D:\opensource\incubator-cloudstack\target\db\\deploy-db-dev.sh
server-setup.xml templates.sql ctcloud
     [exec] deploy-db-dev.sh: line 18: $'\r': command not found
     [exec] deploy-db-dev.sh: line 19: $'\r': command not found
     [exec] deploy-db-dev.sh: line 20: $'\r': command not found
     [exec] deploy-db-dev.sh: line 21: $'\r': command not found
     [exec] deploy-db-dev.sh: line 22: $'\r': command not found
     [exec] deploy-db-dev.sh: line 25: $'\r': command not found
     [exec] deploy-db-dev.sh: line 64: syntax error near unexpected token
`$'{\r''
     [exec] deploy-db-dev.sh: line 64: `handle_error() {
     [exec] '

BUILD FAILED

I tried looking into the deploy-db-dev.sh file on the above line nos but no
error as prompted.

Please guide me if anyone had similar kind of issue.

Thanks in adavance :)


Best Regards,
Qiu Zhigang


Mime
View raw message