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 2012/02/17 01:31:10 UTC
svn commit: r1245265 [1/10] - in
/incubator/isis/trunk/framework/quickstart-archetype: ./ src/ src/main/
src/main/appended-resources/ src/main/resources/
src/main/resources/META-INF/ src/main/resources/META-INF/maven/
src/main/resources/archetype-resou...
Author: danhaywood
Date: Fri Feb 17 00:31:04 2012
New Revision: 1245265
URL: http://svn.apache.org/viewvc?rev=1245265&view=rev
Log:
recreated archetype from the 'quickstart' example app
Added:
incubator/isis/trunk/framework/quickstart-archetype/
incubator/isis/trunk/framework/quickstart-archetype/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/
incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItems.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/resources/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/resources/images/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/resources/images/ToDoItem.gif (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/LogonAsSvenFixture.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/ToDoItemsDefault.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/ToDoItemsMongo.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/ToDoItemsSql.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/AbstractApplicationStory.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/common/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/common/BootstrapInPrototypeMode.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/common/ToDoItems.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/stories/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/stories/AllStories.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/stories/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/stories/todo/Fixture.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/stories/todo/Index.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/java/viewer/bdd/stories/todo/ScenarioMarkItemAsDone.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml-lat1.ent (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml-special.ent (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml-symbol.ent (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml1-strict.dtd (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/BootstrapInPrototypeMode.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/ToDoItems.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/concordion.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/AllStories.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Fixture.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Index.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/ScenarioMarkItemAsDone.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/isis.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/AbstractTest.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemRepositoryTest.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemTest.java (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/ide/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/ide/eclipse/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/ide/eclipse/launch/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/ide/eclipse/launch/quickstart-webapp.launch
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/pom.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/jettyconsole/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/jettyconsole/isis-banner.pdn (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/jettyconsole/isis-banner.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/resources/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/resources/images/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/resources/images/Default.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/ToDoItem/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/ToDoItem/edit.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/ToDoItem/object.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/authentication_file.passwords
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/authentication_file.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/authorization_file.allow
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/authorization_file.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/isis.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/logging.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/persistor_in-memory.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/persistor_mongodb.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/persistor_sql.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/user-profile-store_in-memory.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_html.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_json.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_scimpi.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/web.xml (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/debug.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/error.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/generic/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/generic/action.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/generic/collection.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/generic/edit.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/generic/object.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/htmlviewer/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/htmlviewer/images/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/htmlviewer/images/banner-bg.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/htmlviewer/images/banner.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/htmlviewer/style/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/htmlviewer/style/default.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/index.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/index.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/images/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/images/ajax-loader.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/images/icons-18-black.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/images/icons-18-white.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/images/icons-36-black.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/images/icons-36-white.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/jquery.mobile-1.0.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/jquery.mobile-1.0.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.mobile/jquery.mobile.structure-1.0.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.tmpl/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.tmpl/jquery.tmpl-vBeta1.0.0.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery.tmpl/jquery.tmpl-vBeta1.0.0.min.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/jquery/jquery-1.6.4.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/login.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/app.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/app.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/generic.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/index.html (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/namespace.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/mobile/util.js (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/custom/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/custom/new-todo.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/images/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/images/scimpi-logo.png (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/style/
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/style/reset.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/style/screen.css (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/style/site-template.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/webapp/src/main/webapp/scimpi/style/template.shtml
incubator/isis/trunk/framework/quickstart-archetype/src/test/
incubator/isis/trunk/framework/quickstart-archetype/src/test/resources/
incubator/isis/trunk/framework/quickstart-archetype/src/test/resources/projects/
incubator/isis/trunk/framework/quickstart-archetype/src/test/resources/projects/basic/
incubator/isis/trunk/framework/quickstart-archetype/src/test/resources/projects/basic/archetype.properties (with props)
incubator/isis/trunk/framework/quickstart-archetype/src/test/resources/projects/basic/goal.txt (with props)
Added: incubator/isis/trunk/framework/quickstart-archetype/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/pom.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/pom.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.isis</groupId>
+ <artifactId>isis</artifactId>
+ <version>0.2.0-incubating-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.isis</groupId>
+ <artifactId>quickstart-archetype</artifactId>
+ <packaging>maven-archetype</packaging>
+
+ <name>Apache Isis Quickstart Archetype</name>
+
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.archetype</groupId>
+ <artifactId>archetype-packaging</artifactId>
+ <version>2.1</version>
+ </extension>
+ </extensions>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-archetype-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<supplementalDataModels
+ xmlns="http://maven.apache.org/supplemental-model/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/supplemental-model/1.0.0
+ http://maven.apache.org/xsd/supplemental-model-1.0.0.xsd">
+
+</supplementalDataModels>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/appended-resources/supplemental-models.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<archetype-descriptor xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0" name="quickstart" xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modules>
+ <module id="${rootArtifactId}-dom" dir="dom" name="${rootArtifactId}-dom">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ <fileSet encoding="UTF-8">
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*.gif</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-fixture" dir="fixture" name="${rootArtifactId}-fixture">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-objstore-dflt" dir="objstore-dflt" name="${rootArtifactId}-objstore-dflt">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-objstore-mongodb" dir="objstore-mongodb" name="${rootArtifactId}-objstore-mongodb">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-objstore-sql" dir="objstore-sql" name="${rootArtifactId}-objstore-sql">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-webapp" dir="webapp" name="${rootArtifactId}-webapp">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/webapp</directory>
+ <includes>
+ <include>**/*.xml</include>
+ <include>**/*.html</include>
+ <include>**/*.properties</include>
+ </includes>
+ </fileSet>
+ <fileSet encoding="UTF-8">
+ <directory>src/main/jettyconsole</directory>
+ <includes>
+ <include>**/*.png</include>
+ <include>**/*.pdn</include>
+ </includes>
+ </fileSet>
+ <fileSet encoding="UTF-8">
+ <directory>src/main/webapp</directory>
+ <includes>
+ <include>**/*.passwords</include>
+ <include>**/*.allow</include>
+ <include>**/*.png</include>
+ <include>**/*.js</include>
+ <include>**/*.shtml</include>
+ <include>**/*.css</include>
+ </includes>
+ </fileSet>
+ <fileSet encoding="UTF-8">
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*.png</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>ide/eclipse</directory>
+ <includes>
+ <include>**/*.launch</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-tests-junit" dir="tests-junit" name="${rootArtifactId}-tests-junit">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory/>
+ <includes>
+ <include>isis.properties</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ <module id="${rootArtifactId}-tests-bdd" dir="tests-bdd" name="${rootArtifactId}-tests-bdd">
+ <fileSets>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.html</include>
+ </includes>
+ </fileSet>
+ <fileSet encoding="UTF-8">
+ <directory>src/test/resources</directory>
+ <includes>
+ <include>**/*.dtd</include>
+ <include>**/*.ent</include>
+ <include>**/*.css</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ </module>
+ </modules>
+</archetype-descriptor>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/pom.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/pom.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ </parent>
+
+ <artifactId>${artifactId}</artifactId>
+ <name>Quickstart DOM</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.isis</groupId>
+ <artifactId>applib</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,135 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package dom.todo;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.apache.isis.applib.AbstractDomainObject;
+import org.apache.isis.applib.annotation.Disabled;
+import org.apache.isis.applib.annotation.Hidden;
+import org.apache.isis.applib.annotation.MemberOrder;
+
+public class ToDoItem extends AbstractDomainObject {
+
+ public static final List<String> CATEGORIES = Collections.unmodifiableList(Arrays.asList("Professional", "Domestic", "Other"));
+
+ // {{ Title
+ public String title() {
+ return getDescription();
+ }
+
+ // }}
+
+ // {{ Description
+ private String description;
+
+ @MemberOrder(sequence = "1")
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(final String description) {
+ this.description = description;
+ }
+ // }}
+
+ // {{ Category
+ private String category;
+
+ @MemberOrder(sequence = "2")
+ public String getCategory() {
+ return category;
+ }
+
+ public void setCategory(final String category) {
+ this.category = category;
+ }
+ public List<String> choicesCategory() {
+ return CATEGORIES;
+ }
+ // }}
+
+ // {{ Done
+ private boolean done;
+
+ @Disabled
+ @MemberOrder(sequence = "3")
+ public boolean isDone() {
+ return done;
+ }
+
+ public void setDone(final boolean done) {
+ this.done = done;
+ }
+
+ // }}
+
+ // {{ OwnedBy (property)
+ private String ownedBy;
+
+ @Hidden
+ public String getOwnedBy() {
+ return ownedBy;
+ }
+
+ public void setOwnedBy(final String ownedBy) {
+ this.ownedBy = ownedBy;
+ }
+ // }}
+
+
+ // {{ markAsDone
+ @MemberOrder(sequence = "1")
+ public ToDoItem markAsDone() {
+ setDone(true);
+ return this;
+ }
+
+ public String disableMarkAsDone() {
+ return done ? "Already done" : null;
+ }
+ // }}
+
+ // {{ markAsNotDone
+ @MemberOrder(sequence = "2")
+ public ToDoItem markAsNotDone() {
+ setDone(false);
+ return this;
+ }
+
+ public String disableMarkAsNotDone() {
+ return !done ? "Not yet done" : null;
+ }
+ // }}
+
+ // {{ injected: ToDoItems
+ private ToDoItems toDoItems;
+
+ public void setToDoItems(final ToDoItems toDoItems) {
+ this.toDoItems = toDoItems;
+ }
+ // }}
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItem.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItems.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItems.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItems.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItems.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,54 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package dom.todo;
+
+import java.util.List;
+
+import org.apache.isis.applib.annotation.Hidden;
+import org.apache.isis.applib.annotation.MemberOrder;
+import org.apache.isis.applib.annotation.Named;
+import org.apache.isis.applib.annotation.QueryOnly;
+
+@Named("ToDos")
+public interface ToDoItems {
+
+ @QueryOnly
+ @MemberOrder(sequence = "1")
+ public List<ToDoItem> notYetDone();
+
+ @MemberOrder(sequence = "2")
+ public ToDoItem newToDo(
+ @Named("Description") String description,
+ @Named("Category") String category);
+
+ @Hidden // for use by fixtures
+ public ToDoItem newToDo(
+ String description,
+ String category,
+ String ownedBy);
+
+ @QueryOnly
+ @MemberOrder(sequence = "3")
+ public List<ToDoItem> similarTo(ToDoItem toDoItem);
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/java/dom/todo/ToDoItems.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/resources/images/ToDoItem.gif
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/resources/images/ToDoItem.gif?rev=1245265&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/dom/src/main/resources/images/ToDoItem.gif
------------------------------------------------------------------------------
svn:mime-type = image/gif
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/pom.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/pom.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ </parent>
+
+ <artifactId>${artifactId}</artifactId>
+ <name>Quickstart Fixtures</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-dom</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/LogonAsSvenFixture.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/LogonAsSvenFixture.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/LogonAsSvenFixture.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/LogonAsSvenFixture.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,33 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package fixture;
+
+import org.apache.isis.applib.fixtures.LogonFixture;
+
+public class LogonAsSvenFixture extends LogonFixture {
+
+ public LogonAsSvenFixture() {
+ super("sven");
+ }
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/LogonAsSvenFixture.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,60 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package fixture.todo;
+
+import dom.todo.ToDoItem;
+import dom.todo.ToDoItems;
+
+import org.apache.isis.applib.fixtures.AbstractFixture;
+
+public class ToDoItemsFixture extends AbstractFixture {
+
+ @Override
+ public void install() {
+ createToDoItem("Buy milk", "Domestic", "sven");
+ createToDoItem("Pick up laundry", "Domestic", "sven");
+ createToDoItem("Buy stamps", "Domestic", "sven");
+ createToDoItem("Write blog post", "Professional", "sven");
+ createToDoItem("Organize brown bag", "Professional", "sven");
+
+ createToDoItem("Book car in for service", "Domestic", "dick");
+ createToDoItem("Buy birthday present for sven", "Domestic", "dick");
+ createToDoItem("Write presentation for conference", "Professional", "dick");
+
+ createToDoItem("Write thank you notes", "Domestic", "bob");
+ createToDoItem("Look into solar panels", "Domestic", "bob");
+
+ createToDoItem("Pitch book idea to publisher", "Professional", "joe");
+ }
+
+ private ToDoItem createToDoItem(final String description, String category, String ownedBy) {
+ return toDoItems.newToDo(description, category, ownedBy);
+ }
+
+ private ToDoItems toDoItems;
+
+ public void setToDoItemRepository(final ToDoItems toDoItems) {
+ this.toDoItems = toDoItems;
+ }
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/pom.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/pom.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ </parent>
+
+ <artifactId>${artifactId}</artifactId>
+ <name>Quickstart Repositories (for ObjectStore Default)</name>
+
+ <dependencies>
+
+ <!-- other modules in this project -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-dom</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
+ <artifactId>dflt</artifactId>
+ </dependency>
+
+ </dependencies>
+
+</project>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/ToDoItemsDefault.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/ToDoItemsDefault.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/ToDoItemsDefault.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/ToDoItemsDefault.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,96 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package objstore.dflt.todo;
+
+import java.util.List;
+
+import com.google.common.base.Objects;
+
+import dom.todo.ToDoItem;
+import dom.todo.ToDoItems;
+
+import org.apache.isis.applib.AbstractFactoryAndRepository;
+import org.apache.isis.applib.filter.Filter;
+
+public class ToDoItemsDefault extends AbstractFactoryAndRepository implements ToDoItems {
+
+ // {{ Id, iconName
+ @Override
+ public String getId() {
+ return "toDoItems";
+ }
+
+ public String iconName() {
+ return "ToDoItem";
+ }
+
+ // }}
+
+ @Override
+ public List<ToDoItem> notYetDone() {
+ final String userName = getContainer().getUser().getName();
+ return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
+ @Override
+ public boolean accept(final ToDoItem t) {
+ return Objects.equal(t.getOwnedBy(), userName) && !t.isDone();
+ }
+ });
+ }
+
+ // {{ NewToDo (action)
+ @Override
+ public ToDoItem newToDo(final String description, String category) {
+ final String ownedBy = getContainer().getUser().getName();
+ return newToDo(description, category, ownedBy);
+ }
+ public List<String> choices1NewToDo() {
+ return ToDoItem.CATEGORIES;
+ }
+ // }}
+
+ // {{ NewToDo (hidden)
+ @Override
+ public ToDoItem newToDo(final String description, String category, String ownedBy) {
+ final ToDoItem toDoItem = newTransientInstance(ToDoItem.class);
+ toDoItem.setDescription(description);
+ toDoItem.setCategory(category);
+ toDoItem.setOwnedBy(ownedBy);
+ persist(toDoItem);
+ return toDoItem;
+ }
+ // }}
+
+ // {{ SimilarTo (action)
+ @Override
+ public List<ToDoItem> similarTo(final ToDoItem toDoItem) {
+ return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
+ @Override
+ public boolean accept(ToDoItem t) {
+ return t != toDoItem && Objects.equal(toDoItem.getCategory(), t.getCategory()) && Objects.equal(toDoItem.getOwnedBy(), t.getOwnedBy());
+ }
+ });
+ }
+ // }}
+
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-dflt/src/main/java/objstore/dflt/todo/ToDoItemsDefault.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/pom.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/pom.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ </parent>
+
+ <artifactId>${artifactId}</artifactId>
+ <name>Quickstart Repositories (for MongoDB)</name>
+
+ <dependencies>
+
+ <!-- other modules in this project -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-dom</artifactId>
+ </dependency>
+
+
+ <!-- isis nosql-mongodb objectstore -->
+ <dependency>
+ <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
+ <artifactId>nosql</artifactId>
+ </dependency>
+
+ </dependencies>
+
+</project>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/ToDoItemsMongo.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/ToDoItemsMongo.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/ToDoItemsMongo.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/ToDoItemsMongo.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,96 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package objstore.mongodb.todo;
+
+import java.util.List;
+
+import com.google.common.base.Objects;
+
+import dom.todo.ToDoItem;
+import dom.todo.ToDoItems;
+
+import org.apache.isis.applib.AbstractFactoryAndRepository;
+import org.apache.isis.applib.filter.Filter;
+
+public class ToDoItemsMongo extends AbstractFactoryAndRepository implements ToDoItems {
+
+ // {{ Id, iconName
+ @Override
+ public String getId() {
+ return "toDoItems";
+ }
+
+ public String iconName() {
+ return "ToDoItem";
+ }
+
+ // }}
+
+ @Override
+ public List<ToDoItem> notYetDone() {
+ final String userName = getContainer().getUser().getName();
+ return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
+ @Override
+ public boolean accept(final ToDoItem t) {
+ return Objects.equal(t.getOwnedBy(), userName) && !t.isDone();
+ }
+ });
+ }
+
+ // {{ NewToDo (action)
+ @Override
+ public ToDoItem newToDo(final String description, String category) {
+ final String ownedBy = getContainer().getUser().getName();
+ return newToDo(description, category, ownedBy);
+ }
+ public List<String> choices1NewToDo() {
+ return ToDoItem.CATEGORIES;
+ }
+ // }}
+
+ // {{ NewToDo (hidden)
+ @Override
+ public ToDoItem newToDo(final String description, String category, String ownedBy) {
+ final ToDoItem toDoItem = newTransientInstance(ToDoItem.class);
+ toDoItem.setDescription(description);
+ toDoItem.setCategory(category);
+ toDoItem.setOwnedBy(ownedBy);
+ persist(toDoItem);
+ return toDoItem;
+ }
+ // }}
+
+ // {{ SimilarTo (action)
+ @Override
+ public List<ToDoItem> similarTo(final ToDoItem toDoItem) {
+ return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
+ @Override
+ public boolean accept(ToDoItem t) {
+ return t != toDoItem && Objects.equal(toDoItem.getCategory(), t.getCategory()) && Objects.equal(toDoItem.getOwnedBy(), t.getOwnedBy());
+ }
+ });
+ }
+ // }}
+
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-mongodb/src/main/java/objstore/mongodb/todo/ToDoItemsMongo.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/pom.xml?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/pom.xml (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/pom.xml Fri Feb 17 00:31:04 2012
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>${groupId}</groupId>
+ <artifactId>${rootArtifactId}</artifactId>
+ <version>${version}</version>
+ </parent>
+
+ <artifactId>${artifactId}</artifactId>
+ <name>Quickstart Repositories (for SQL)</name>
+
+ <dependencies>
+
+ <!-- other modules in this project -->
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${rootArtifactId}-dom</artifactId>
+ </dependency>
+
+ <!-- isis sql objectstore implementation -->
+ <dependency>
+ <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
+ <artifactId>sql-impl</artifactId>
+ </dependency>
+
+ <!--
+ - uncomment to use HSQLDB
+ - in conjunction with sql object store
+ -
+ <dependency>
+ <groupId>org.hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>1.8.0.10</version>
+ </dependency>
+ -->
+
+ <!--
+ - uncomment to use MS SQL Server JDBC driver
+ - in conjunction with sql object store
+ -
+ - since this JDBC driver is not available via Maven central repo, it must
+ - also be installed into your local .m2 repository, using:
+ -
+ mvn install:install-file \
+ -D groupId=com.microsoft \
+ -D artifactId=sqljdbc4 \
+ -D version=3.0 \
+ -D packaging=jar \
+ -D file=/path/to/sqljdbc4.jar
+ -
+ <dependency>
+ <groupId>com.microsoft</groupId>
+ <artifactId>sqljdbc4</artifactId>
+ <version>3.0</version>
+ </dependency>
+ -->
+
+
+ <!--
+ - uncomment to use Ingres JDBC driver
+ - in conjunction with sql object store
+ -
+ - since this JDBC driver is not available via Maven central repo, it must
+ - also be installed into your local .m2 repository, using:
+ -
+ mvn install:install-file \
+ -D groupId=com.ingres \
+ -D artifactId=iijdbc \
+ -D version=10.0 \
+ -D packaging=jar \
+ -D file=/path/to/iijdbc.jar
+ -
+ <dependency>
+ <groupId>com.ingres</groupId>
+ <artifactId>iijdbc</artifactId>
+ <version>10.0</version>
+ </dependency>
+ -->
+
+ </dependencies>
+
+</project>
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/ToDoItemsSql.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/ToDoItemsSql.java?rev=1245265&view=auto
==============================================================================
--- incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/ToDoItemsSql.java (added)
+++ incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/ToDoItemsSql.java Fri Feb 17 00:31:04 2012
@@ -0,0 +1,96 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package objstore.sql.todo;
+
+import java.util.List;
+
+import com.google.common.base.Objects;
+
+import dom.todo.ToDoItem;
+import dom.todo.ToDoItems;
+
+import org.apache.isis.applib.AbstractFactoryAndRepository;
+import org.apache.isis.applib.filter.Filter;
+
+public class ToDoItemsSql extends AbstractFactoryAndRepository implements ToDoItems {
+
+ // {{ Id, iconName
+ @Override
+ public String getId() {
+ return "toDoItems";
+ }
+
+ public String iconName() {
+ return "ToDoItem";
+ }
+
+ // }}
+
+ @Override
+ public List<ToDoItem> notYetDone() {
+ final String userName = getContainer().getUser().getName();
+ return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
+ @Override
+ public boolean accept(final ToDoItem t) {
+ return Objects.equal(t.getOwnedBy(), userName) && !t.isDone();
+ }
+ });
+ }
+
+ // {{ NewToDo (action)
+ @Override
+ public ToDoItem newToDo(final String description, String category) {
+ final String ownedBy = getContainer().getUser().getName();
+ return newToDo(description, category, ownedBy);
+ }
+ public List<String> choices1NewToDo() {
+ return ToDoItem.CATEGORIES;
+ }
+ // }}
+
+ // {{ NewToDo (hidden)
+ @Override
+ public ToDoItem newToDo(final String description, String category, String ownedBy) {
+ final ToDoItem toDoItem = newTransientInstance(ToDoItem.class);
+ toDoItem.setDescription(description);
+ toDoItem.setCategory(category);
+ toDoItem.setOwnedBy(ownedBy);
+ persist(toDoItem);
+ return toDoItem;
+ }
+ // }}
+
+ // {{ SimilarTo (action)
+ @Override
+ public List<ToDoItem> similarTo(final ToDoItem toDoItem) {
+ return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
+ @Override
+ public boolean accept(ToDoItem t) {
+ return t != toDoItem && Objects.equal(toDoItem.getCategory(), t.getCategory()) && Objects.equal(toDoItem.getOwnedBy(), t.getOwnedBy());
+ }
+ });
+ }
+ // }}
+
+
+}
Propchange: incubator/isis/trunk/framework/quickstart-archetype/src/main/resources/archetype-resources/objstore-sql/src/main/java/objstore/sql/todo/ToDoItemsSql.java
------------------------------------------------------------------------------
svn:eol-style = native