Updated Branches:
  refs/heads/4.1 69370c181 -> 06ed67c77

CLOUDSTACK-1244: Make sure path exists before copying scripts in client/target

Signed-off-by: Rohit Yadav <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/06ed67c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/06ed67c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/06ed67c7

Branch: refs/heads/4.1
Commit: 06ed67c7765528fb886c8724b32e260503aa898a
Parents: 69370c1
Author: Rohit Yadav <[email protected]>
Authored: Tue Feb 26 11:35:24 2013 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Tue Feb 26 12:13:57 2013 +0530

----------------------------------------------------------------------
 client/pom.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/06ed67c7/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index 64508ec..385d5a0 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -263,12 +263,15 @@
             </goals>
             <configuration>
               <target>
+                <exec executable="mkdir">
+                    <arg value="-p" />
+                    <arg 
value="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" />
+                </exec>
                 <exec executable="cp">
                     <arg value="-r" />
                     <arg value="${basedir}/../scripts" />
                     <arg 
value="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" />
                 </exec>
-
                 <copy
                   todir="${basedir}/target/generated-webapp/WEB-INF/">
                   <fileset dir="${basedir}/WEB-INF/">

Reply via email to