Need to add DBROOTPW parameter: On your root cloudstack source code directory, mkdir build/override cp build/replace.properties build/override/replace.properties add DBROOTPW=your-mysql-server-root-password into build/override/replace.properties then "ant clean-all build-all deploy-server"
> -----Original Message----- > From: guang wu [mailto:[email protected]] > Sent: Wednesday, May 16, 2012 7:11 PM > To: [email protected] > Subject: Problem: about How to set up a CloudStack development > environment > > You may want to send this message instead to > [email protected] - this list is in the process of > being shut down as CloudStack has moved to the Apache Software > Foundation. > > --David > > > ---------- Forwarded message ---------- > From: <[email protected]> > Date: Tue, May 15, 2012 at 11:28 PM > Subject: cloudstack-devel post from [email protected] requires > approval > To: [email protected] > > > As list administrator, your authorization is requested for the > following mailing list posting: > > List: [email protected] > From: [email protected] > Subject: Problem: about How to set up a CloudStack development > environment > Reason: Post by non-member to a members-only list > > At your convenience, visit: > > https://lists.sourceforge.net/lists/admindb/cloudstack-devel > > to approve or deny the request. > > > ---------- Forwarded message ---------- > From: "kingkisskill" <[email protected]> > To: "cloudstack-devel" <[email protected]> > Cc: > Date: Wed, 16 May 2012 11:27:52 +0800 > Subject: Problem: about How to set up a CloudStack development > environment > Hi, friends, i have a problem about "How to set up a CloudStack > development environment". > According yours document i tried to set up development environment, > but i have a problem > when i run "ant deploydb" command, give me some error such as: > [root@king CloudStack]# ant deploydb > > Buildfile: build.xml > [echo] Using build parameters from > /root/workspace/CloudStack/build/build-cloud.properties > [echo] Using company info from > /root/workspace/CloudStack/build/cloud.properties > [echo] Using override file from > /root/workspace/CloudStack/build/replace.properties > deploydb: > [echo] deploydb server-setup.xml templates.sql ${DBROOTPW} > [exec] deploy-db-dev.sh: line 54: syntax error near unexpected > token `{ > [exec] 'deploy-db-dev.sh: line 54: `handle_error() { > [exec] ' > [exec] Result: 2 > > but these script is auto produce,not me write, > > my database don't work(configure fail) ,Even so i may be access my > web address, but when i browser http://localhost:8080/client/ ,it > prompt me the http 404 error! > > why is this ? i need help for you, thanks! > 2012-05-16 > ________________________________ > kingkisskill
