Renamed mvc package, fix bug in tests.

This commit is contained in:
Jon Brisbin
2012-03-27 09:36:43 -05:00
parent 26a52332ae
commit 7f907c75cc
23 changed files with 35 additions and 43 deletions

View File

@@ -12,8 +12,8 @@ managing associations.
To use the Spring Data Rest exporter, first package your domain classes and repositories into a JAR
file. Include some Spring XML configuration files in the `META-INF/spring-data-rest` directory (the
file name should end with "-export.xml" to be picked up by the scanner) in that JAR file that include
an applicable EntityManager and DataSource and the Repository configuration (using the special JPA
file name should end with "-export.xml" to be picked up by the scanner). In that JAR file include
an applicable EntityManager and DataSource and Repository configuration (using the special JPA
Repository namespace).
You can either deploy this JAR file into your Servlet container in a "shared" configuration, or you
@@ -73,7 +73,8 @@ The configuration used in testing looks like this:
<import resource="shared.xml"/>
<jpa:repositories base-package="org.springframework.data.rest.test.mvc"/>
<!-- Search for Repositories under this package name -->
<jpa:repositories base-package="org.springframework.data.rest.test.webmvc"/>
</beans>