You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/02/26 23:13:38 UTC

[9/28] git commit: refs/heads/vim51_win8 - CLOUDSTACK-1244: Make sure path exists before copying scripts in client/target

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

This reverts commit cc25e58d, let's explicitly make sure that paths exists.

Signed-off-by: Rohit Yadav <bh...@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/d37ed18c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d37ed18c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d37ed18c

Branch: refs/heads/vim51_win8
Commit: d37ed18c3aff4fe522adb803322ba912819c73da
Parents: f323c64
Author: Rohit Yadav <bh...@apache.org>
Authored: Tue Feb 26 12:14:54 2013 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Tue Feb 26 12:17:38 2013 +0530

----------------------------------------------------------------------
 client/pom.xml |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d37ed18c/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index 760923b..255b6ad 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -268,7 +268,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/">
@@ -281,13 +289,6 @@
                     <include name="resources/**/*" />
                   </fileset>
                 </copy>
-
-                <exec executable="cp">
-                    <arg value="-r" />
-                    <arg value="${basedir}/../scripts" />
-                    <arg value="${basedir}/target/generated-webapp/WEB-INF/classes/" />
-                </exec>
-
                 <copy todir="${basedir}/target/generated-webapp/WEB-INF/classes/vms">
                   <fileset dir="${basedir}/../services/console-proxy/server/dist">
                     <include name="systemvm.zip" />