Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9276DBBE for ; Fri, 25 Jan 2013 07:10:41 +0000 (UTC) Received: (qmail 3549 invoked by uid 500); 25 Jan 2013 07:10:41 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 3509 invoked by uid 500); 25 Jan 2013 07:10:41 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 3492 invoked by uid 99); 25 Jan 2013 07:10:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 07:10:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [219.142.42.12] (HELO testmail.chinatelecom.com.cn) (219.142.42.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jan 2013 07:10:34 +0000 Received: from jackieTHINK ([10.3.28.73]) by mail2.hq.ctc.com (Lotus Domino Release 8.5.2FP3) with ESMTP id 2013012515100497-24937 ; Fri, 25 Jan 2013 15:10:04 +0800 From: "Qiu Zhigang" To: Subject: deploy-db-dev.sh failed when execute command "ant deploydb" Date: Fri, 25 Jan 2013 15:10:05 +0800 Message-ID: <006101cdfacb$004bdfd0$00e39f70$@chinatelecom.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac36ys6iTnw5nv4fTAOczBSqzz19Zw== X-MIMETrack: Itemize by SMTP Server on hub1.cht/cht(Release 8.5.2FP3|July 10, 2011) at 2013-01-25 15:10:05, Serialize by Router on testmail/cht(Release 8.5.2|August 10, 2010) at 2013-01-25 15:10:39, Serialize complete at 2013-01-25 15:10:39 X-TNEFEvaluated: 1 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" Content-Language: zh-cn X-Virus-Checked: Checked by ClamAV on apache.org 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