You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2012/11/19 01:03:04 UTC
[1/4] git commit: cli: add exec rule to compute precache on mvn
compile
Updated Branches:
refs/heads/master 88180fc13 -> 1169464e3
cli: add exec rule to compute precache on mvn compile
Patch adds rules in maven to create precached file using cachegen
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/1169464e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/1169464e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/1169464e
Branch: refs/heads/master
Commit: 1169464e3511492597843c58875687d63ee257f7
Parents: dc3c263
Author: Rohit Yadav <bh...@apache.org>
Authored: Mon Nov 19 05:27:06 2012 +0530
Committer: Rohit Yadav <bh...@apache.org>
Committed: Mon Nov 19 05:28:24 2012 +0530
----------------------------------------------------------------------
tools/cli/pom.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1169464e/tools/cli/pom.xml
----------------------------------------------------------------------
diff --git a/tools/cli/pom.xml b/tools/cli/pom.xml
index c76cd65..aba5ec3 100644
--- a/tools/cli/pom.xml
+++ b/tools/cli/pom.xml
@@ -72,6 +72,20 @@
</configuration>
</execution>
<execution>
+ <id>cachegen</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <workingDirectory>${basedir}/cloudmonkey</workingDirectory>
+ <executable>python</executable>
+ <arguments>
+ <argument>cachegen.py</argument>
+ </arguments>
+ </configuration>
+ </execution>
+ <execution>
<id>package</id>
<phase>compile</phase>
<goals>