You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2015/01/01 17:54:58 UTC
svn commit: r1648883 -
/isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md
Author: danhaywood
Date: Thu Jan 1 16:54:57 2015
New Revision: 1648883
URL: http://svn.apache.org/r1648883
Log:
petclinic tutorial
Modified:
isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md
Modified: isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md?rev=1648883&r1=1648882&r2=1648883&view=diff
==============================================================================
--- isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md (original)
+++ isis/site/trunk/content/intro/tutorials/step-by-step-petclinic.md Thu Jan 1 16:54:57 2015
@@ -250,14 +250,16 @@ Running the app should now show `Pet`s:
## Update package names
-The classes created by the simpleapp archetype are by default in the `simple` package. Move these classes to `pets` package instead:
-
-See the git commit for full details; it's all pretty mechanical.
-
{note
git checkout [55ec36e520191f5fc8fe7f5b89956814eaf13317](https://github.com/danhaywood/isis-app-petclinic/commit/55ec36e520191f5fc8fe7f5b89956814eaf13317)
}
+The classes created by the simpleapp archetype are by default in the `simple` package. Move these classes to `pets` package instead. Also adjust package names where they appear as strings:
+
+* in `PetClinicAppFixturesService`, change the package name from "fixture.simple" to "fixture.pets".
+* in `PetClinicAppSystemInitializer`, change the package name "dom.simple" to "dom.pets", and similarly "fixture.simple" to "fixture.pets"
+* in `WEB-INF/isis.properties`, similarly change the package name "dom.simple" to "dom.pets", and similarly "fixture.simple" to "fixture.pets"
+
To run the application will require a further update to the IDE configuration, for the changed package of the fixture class:
<a href="resources/petclinic/040-01-idea-configuration-updated.png"><img src="resources/petclinic/040-01-idea-configuration-updated.png" width="600"></img></a>