Updated Branches:
  refs/heads/4.1 3afc226de -> be141f6ed

Avoid the use of operating system specific functions, actually avoid
exec as much as possible.

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

Branch: refs/heads/4.1
Commit: be141f6ede8e737c4b4b201a249abebe73c3d281
Parents: 3afc226
Author: Hugo Trippaers <[email protected]>
Authored: Fri Mar 1 08:22:40 2013 +0100
Committer: Hugo Trippaers <[email protected]>
Committed: Fri Mar 1 08:22:40 2013 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/be141f6e/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index e918073..4ae0c4b 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -268,15 +268,9 @@
             </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/" />
-                </exec>
+                <copy 
todir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts">
+                  <fileset dir="${basedir}/../scripts" />
+                </copy>
                 <copy
                   todir="${basedir}/target/generated-webapp/WEB-INF/">
                   <fileset dir="${basedir}/WEB-INF/">

Reply via email to