Updated Branches: refs/heads/master 993afdba6 -> 9f2a2081b
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/9f2a2081 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9f2a2081 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9f2a2081 Branch: refs/heads/master Commit: 9f2a2081b5c6f2e260bedba068052d0476f4584b Parents: 993afdb Author: Hugo Trippaers <[email protected]> Authored: Fri Mar 1 08:22:40 2013 +0100 Committer: Hugo Trippaers <[email protected]> Committed: Fri Mar 1 08:20: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/9f2a2081/client/pom.xml ---------------------------------------------------------------------- diff --git a/client/pom.xml b/client/pom.xml index 74d737d..73b9847 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -273,15 +273,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/">
