From 63843c6774bf91fc559e18f49fd1d3e52c727019 Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Sat, 12 Apr 2008 10:15:20 +0000 Subject: [PATCH] improved org of config files --- ...org.springframework.ide.eclipse.core.prefs | 9 +- .../booking-faces/.springBeans | 20 ++- .../WEB-INF/config/data-access-config.xml | 35 +++++ .../webapp/WEB-INF/config/security-config.xml | 42 ++++++ .../WEB-INF/config/web-application-config.xml | 23 +++ .../webapp/WEB-INF/config/webflow-config.xml | 40 ++++++ .../webapp/WEB-INF/config/webmvc-config.xml | 34 +++++ .../webapp/WEB-INF/web-application-config.xml | 136 ------------------ .../src/main/webapp/WEB-INF/web.xml | 4 +- 9 files changed, 202 insertions(+), 141 deletions(-) create mode 100644 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/data-access-config.xml create mode 100644 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/security-config.xml create mode 100644 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/web-application-config.xml create mode 100644 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webflow-config.xml create mode 100644 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webmvc-config.xml delete mode 100755 spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml diff --git a/spring-webflow-samples/booking-faces/.settings/org.springframework.ide.eclipse.core.prefs b/spring-webflow-samples/booking-faces/.settings/org.springframework.ide.eclipse.core.prefs index f55808e4..7ebddb67 100755 --- a/spring-webflow-samples/booking-faces/.settings/org.springframework.ide.eclipse.core.prefs +++ b/spring-webflow-samples/booking-faces/.settings/org.springframework.ide.eclipse.core.prefs @@ -1,4 +1,4 @@ -#Wed Feb 27 11:35:00 EST 2008 +#Sat Apr 12 06:11:28 EDT 2008 eclipse.preferences.version=1 instance/org.eclipse.core.net/org.eclipse.core.net.hasMigrated=true org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true @@ -8,6 +8,13 @@ org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.bestp org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=true org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.AvoidDriverManagerDataSource-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ImportElementsAtTopRulee-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ParentBeanSpecifiesAbstractClassRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.RefElementRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.TooManyBeansInFileRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UnnecessaryValueElementRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UseBeanInheritance-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.legacyxmlusage.jndiobjectfactory-com.springsource.sts.bestpractices.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true diff --git a/spring-webflow-samples/booking-faces/.springBeans b/spring-webflow-samples/booking-faces/.springBeans index 5d292705..a1c6dc1e 100755 --- a/spring-webflow-samples/booking-faces/.springBeans +++ b/spring-webflow-samples/booking-faces/.springBeans @@ -1,14 +1,30 @@ 1 - + - src/main/webapp/WEB-INF/web-application-config.xml + src/main/webapp/WEB-INF/config/web-application-config.xml + src/main/webapp/WEB-INF/config/data-access-config.xml + src/main/webapp/WEB-INF/config/security-config.xml + src/main/webapp/WEB-INF/config/webflow-config.xml + src/main/webapp/WEB-INF/config/webmvc-config.xml + + + true + false + + src/main/webapp/WEB-INF/config/data-access-config.xml + src/main/webapp/WEB-INF/config/security-config.xml + src/main/webapp/WEB-INF/config/web-application-config.xml + src/main/webapp/WEB-INF/config/webflow-config.xml + src/main/webapp/WEB-INF/config/webmvc-config.xml + + diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/data-access-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/data-access-config.xml new file mode 100644 index 00000000..00b187c7 --- /dev/null +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/data-access-config.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/security-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/security-config.xml new file mode 100644 index 00000000..dd26fbeb --- /dev/null +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/security-config.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/web-application-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/web-application-config.xml new file mode 100644 index 00000000..4c5b1b15 --- /dev/null +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/web-application-config.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webflow-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webflow-config.xml new file mode 100644 index 00000000..855fdbd9 --- /dev/null +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webflow-config.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webmvc-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webmvc-config.xml new file mode 100644 index 00000000..288e9475 --- /dev/null +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/config/webmvc-config.xml @@ -0,0 +1,34 @@ + + + + + + + + /main=flowController + /booking=flowController + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml deleted file mode 100755 index 567fb040..00000000 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web-application-config.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - - - /main=flowController - /booking=flowController - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web.xml b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web.xml index 57e6b276..e8501c26 100755 --- a/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web.xml +++ b/spring-webflow-samples/booking-faces/src/main/webapp/WEB-INF/web.xml @@ -7,7 +7,7 @@ contextConfigLocation - /WEB-INF/web-application-config.xml + /WEB-INF/config/web-application-config.xml @@ -62,7 +62,7 @@ org.springframework.web.servlet.DispatcherServlet contextConfigLocation - /WEB-INF/web-application-config.xml + /WEB-INF/config/web-application-config.xml 2