This (DevCloud using ant) only works with ant and since we've maven on master 
now, it's not applicable for master.

________________________________________
From: David Nalley [da...@gnsa.us]
Sent: Wednesday, October 17, 2012 1:47 AM
To: cloudstack-dev@incubator.apache.org
Subject: Re: git commit: DevCloud: Make sure destination paths exists before scp

Is there a reason this only hit 4.0?

--David

On Tue, Oct 16, 2012 at 12:09 PM,  <bhais...@apache.org> wrote:
> Updated Branches:
>   refs/heads/4.0 6c6d9bb89 -> 53a3c2f17
>
>
> DevCloud: Make sure destination paths exists before scp
>
> Makes dirs if they are not present before scp-ing target/ and dist/ to
> devcloud.
>
> Signed-off-by: Rohit Yadav <bhais...@apache.org>
>
>
> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
> Commit: 
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/53a3c2f1
> Tree: 
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/53a3c2f1
> Diff: 
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/53a3c2f1
>
> Branch: refs/heads/4.0
> Commit: 53a3c2f171dfea5de6e0cda2ae3317560ecd91f5
> Parents: 6c6d9bb
> Author: Rohit Yadav <bhais...@apache.org>
> Authored: Tue Oct 16 21:38:05 2012 +0530
> Committer: Rohit Yadav <bhais...@apache.org>
> Committed: Tue Oct 16 21:38:05 2012 +0530
>
> ----------------------------------------------------------------------
>  build/build-devcloud.xml |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/53a3c2f1/build/build-devcloud.xml
> ----------------------------------------------------------------------
> diff --git a/build/build-devcloud.xml b/build/build-devcloud.xml
> index a001dc2..d5a6fb8 100644
> --- a/build/build-devcloud.xml
> +++ b/build/build-devcloud.xml
> @@ -80,12 +80,14 @@
>      </scp>
>
>      <echo message="copying target folder to remote"/>
> +    <sshexec trust="yes" host="${host}" port="${port}" username="root" 
> password="password" command="cd /opt/cloudstack/incubator-cloudstack; mkdir 
> -p target"/>
>      <scp trust="yes" port="${port}" 
> todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/target">
>        <fileset dir="target">
>        </fileset>
>      </scp>
>
>      <echo message="copying dist folder to remote"/>
> +    <sshexec trust="yes" host="${host}" port="${port}" username="root" 
> password="password" command="cd /opt/cloudstack/incubator-cloudstack; mkdir 
> -p dist"/>
>      <scp trust="yes" port="${port}" 
> todir="root:password@${host}:/opt/cloudstack/incubator-cloudstack/dist">
>        <fileset dir="dist">
>        </fileset>
>

Reply via email to