From 2bfdce02f1bddcea9167fdada71f3972c74c1557 Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Mon, 28 Jan 2013 15:59:10 -0800 Subject: [PATCH] Spring changes in awsapi --- awsapi/conf/applicationContext.xml.in | 53 +++++++++++++++++++ ....properties => cloud-bridge.properties.in} | 0 ...e.properties => ec2-service.properties.in} | 0 awsapi/pom.xml | 42 ++++++++++++++- .../cloud/bridge/service/EC2MainServlet.java | 23 +++++++- awsapi/web/web.xml | 9 ++++ 6 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 awsapi/conf/applicationContext.xml.in rename awsapi/conf/{cloud-bridge.properties => cloud-bridge.properties.in} (100%) rename awsapi/conf/{ec2-service.properties => ec2-service.properties.in} (100%) diff --git a/awsapi/conf/applicationContext.xml.in b/awsapi/conf/applicationContext.xml.in new file mode 100644 index 00000000000..0a24df214af --- /dev/null +++ b/awsapi/conf/applicationContext.xml.in @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/awsapi/conf/cloud-bridge.properties b/awsapi/conf/cloud-bridge.properties.in similarity index 100% rename from awsapi/conf/cloud-bridge.properties rename to awsapi/conf/cloud-bridge.properties.in diff --git a/awsapi/conf/ec2-service.properties b/awsapi/conf/ec2-service.properties.in similarity index 100% rename from awsapi/conf/ec2-service.properties rename to awsapi/conf/ec2-service.properties.in diff --git a/awsapi/pom.xml b/awsapi/pom.xml index 3ab595211d4..52b8f8c3306 100644 --- a/awsapi/pom.xml +++ b/awsapi/pom.xml @@ -304,6 +304,15 @@ + + org.apache.maven.plugins + maven-war-plugin + 2.3 + + ./web/web.xml + ./target/generated-webapp + + org.mortbay.jetty maven-jetty-plugin @@ -319,7 +328,38 @@ ${basedir}/web/web.xml ${basedir}/target/cloud-awsapi-${project.version} - + + + maven-antrun-plugin + 1.7 + + + generate-resource + generate-resources + + run + + + + + + + + + + + + + + + + + + +