optionally launch the simulator spring context as -Dsimulator Signed-off-by: Prasanna Santhanam <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4a6782b8 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4a6782b8 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4a6782b8 Branch: refs/heads/bvt Commit: 4a6782b8f116938d3b23e73f71e62d5b3722e87e Parents: 1b6f429 Author: Prasanna Santhanam <[email protected]> Authored: Fri Mar 22 19:40:32 2013 +0530 Committer: Prasanna Santhanam <[email protected]> Committed: Fri Mar 22 19:40:32 2013 +0530 ---------------------------------------------------------------------- client/pom.xml | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4a6782b8/client/pom.xml ---------------------------------------------------------------------- diff --git a/client/pom.xml b/client/pom.xml index 7565029..c696741 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -393,6 +393,22 @@ </configuration> </execution> <execution> + <id>process-simulator-context</id> + <phase>process-resources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target if="${simulator}"> + <echo>test</echo> + <replaceregexp + file="${basedir}/target/generated-webapp/WEB-INF/web.xml" + match="classpath:componentContext.xml" + replace="classpath:simulatorComponentContext.xml" byline="true" /> + </target> + </configuration> + </execution> + <execution> <id>process-nonoss-spring-context</id> <phase>process-resources</phase> <goals>
