Return-Path: X-Original-To: apmail-incubator-isis-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-isis-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 744EDDCE8 for ; Fri, 12 Oct 2012 17:18:40 +0000 (UTC) Received: (qmail 65133 invoked by uid 500); 12 Oct 2012 17:18:40 -0000 Delivered-To: apmail-incubator-isis-commits-archive@incubator.apache.org Received: (qmail 65115 invoked by uid 500); 12 Oct 2012 17:18:40 -0000 Mailing-List: contact isis-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-commits@incubator.apache.org Received: (qmail 65107 invoked by uid 99); 12 Oct 2012 17:18:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 17:18:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 17:18:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AE1FC23889F7; Fri, 12 Oct 2012 17:17:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1397650 [3/12] - in /incubator/isis/trunk/framework/quickstart-archetype/archetype: ./ src/ src/main/ src/main/resources/ src/main/resources/META-INF/ src/main/resources/META-INF/maven/ src/main/resources/archetype-resources/ src/main/reso... Date: Fri, 12 Oct 2012 17:17:28 -0000 To: isis-commits@incubator.apache.org From: danhaywood@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121012171736.AE1FC23889F7@eris.apache.org> Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml1-strict.dtd URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml1-strict.dtd?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml1-strict.dtd (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/dtd/xhtml1-strict.dtd Fri Oct 12 17:17:19 2012 @@ -0,0 +1,980 @@ + + + + + +%HTMLlat1; + + +%HTMLsymbol; + + +%HTMLspecial; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/BootstrapInPrototypeMode.html URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/BootstrapInPrototypeMode.html?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/BootstrapInPrototypeMode.html (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/BootstrapInPrototypeMode.html Fri Oct 12 17:17:19 2012 @@ -0,0 +1,59 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + +

+The system: +

+
    +
  • +

    +bootstrapped from +config directory ../viewer-dnd/config +and running in prototype +mode, +

    +
  • +
  • +

    with services:

    + + + + + + + + + + +
    Class NamealiasAs +
    dom.todo.ToDoItemstoDoItemsok
    +
  • +
+ + + + \ No newline at end of file Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/ToDoItems.html URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/ToDoItems.html?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/ToDoItems.html (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/common/ToDoItems.html Fri Oct 12 17:17:19 2012 @@ -0,0 +1,77 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + +

Operational Data

+

With to do items (dom.todo.ToDoItem): +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AliasDescriptionDoneOwned By +
item1Buy milkfalsesvenok
item2Pick up laundryfalsesvenok
item3Buy stampsfalsesvenok
item4Write blog postfalsesvenok
item5Organize brown bagfalsesvenok
+ + + \ No newline at end of file Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/concordion.css URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/concordion.css?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/concordion.css (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/concordion.css Fri Oct 12 17:17:19 2012 @@ -0,0 +1,102 @@ +/* + * 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. + */ +* { + font-family: Arial; +} +body { + padding: 32px; +} +pre { + padding: 6px 28px 6px 28px; + background-color: #E8EEF7; +} +pre, pre *, code, code *, kbd { + font-family: Courier New, Courier; + font-size: 10pt; +} +h1, h1 * { + font-size: 24pt; +} +p, td, th, li, .breadcrumbs { + font-size: 10pt; +} +p, li { + line-height: 140%; +} +table { + border-collapse: collapse; + empty-cells: show; + margin: 8px 0px 8px 0px; +} +th, td { + border: 1px solid black; + padding: 3px; +} +td { + background-color: white; + vertical-align: top; +} +th { + background-color: #C3D9FF; +} +li { + margin-top: 6px; + margin-bottom: 6px; +} + + +.example { + padding: 2px 12px 6px 12px; + border: 1px solid #C3D9FF; + margin: 6px 0px 28px 0px; + background-color: #F5F9FD; +} +.example h3 { + margin-top: 8px; + margin-bottom: 8px; + font-size: 12pt; +} + +.special { + font-style: italic; +} + +.idea { + font-size: 9pt; + color: #888; + font-style: italic; +} +.tight li { + margin-top: 1px; + margin-bottom: 1px; +} +.commentary { + float: right; + width: 200px; + background-color: #ffffd0; + padding:8px; + border: 3px solid #eeeeb0; + margin: 10px 0px 10px 10px; +} +.commentary, .commentary * { + font-size: 8pt; +} +span { + font-style: italic; +} Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/AllStories.html URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/AllStories.html?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/AllStories.html (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/AllStories.html Fri Oct 12 17:17:19 2012 @@ -0,0 +1,40 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + + +

Stories

+ + + + + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Fixture.html URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Fixture.html?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Fixture.html (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Fixture.html Fri Oct 12 17:17:19 2012 @@ -0,0 +1,58 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + + +

Given

+
    +
  • +

    bootstrapped in prototype mode

    +
  • +
  • +

    using a date format of dd-MM-yyyy, and

    +
  • +
  • +

    date/time being 02-03-2007 09:20, and

    +
  • +
  • +

    logged on as sven

    +
  • +
  • +

    with To Do Items.

    +
  • +
+ + + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Index.html URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Index.html?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Index.html (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/Index.html Fri Oct 12 17:17:19 2012 @@ -0,0 +1,42 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + + +

ToDo Item Stories

+ + + + + + + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/ScenarioMarkItemAsDone.html URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/ScenarioMarkItemAsDone.html?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/ScenarioMarkItemAsDone.html (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-bdd/src/test/resources/viewer/bdd/stories/todo/ScenarioMarkItemAsDone.html Fri Oct 12 17:17:19 2012 @@ -0,0 +1,166 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + + +

Mark Item As Done

+ +
+ +

Given

+

+Given this fixture

+ +

Locate to-do item:

+ + + + + + + + + + + + + + +
on objectalias result asperformon member +
toDoItemslistOfItemsBeforeinvoke actionnot yet doneok
+ +

+... and then alias the 'Buy milk' item in the returned listOfItemsBefore as buyMilkItem; ok.

+ +

Confirm to-do item is not done:

+ + + + + + + + + + + + + + + + + + +
on objectalias result asperformon memberthat itvalue +
buyMilkItemcheck propertydoneisFalseok
+ + + +

When

+ +

Mark as done

+ + + + + + + + + + + + + + +
on objectalias result asperformon member +
buyMilkIteminvoke actionmark as doneok
+ +

Then

+

Confirm item is done...

+ + + + + + + + + + + + + + + + + + +
on objectalias result asperformon memberthat itvalue +
buyMilkItemcheck propertydoneisTrueok
+ +

... and that when the list of items is obtained again...

+ + + + + + + + + + + + + + +
on objectalias result asperformon member +
toDoItemslistOfItemsAfterinvoke actionnot yet doneok
+ +

+... then the buyMilkItem is no +longer in that list (listOfItemsAfter); + ok. +

+ + +
+ + + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/isis.properties URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/isis.properties?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/isis.properties (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/isis.properties Fri Oct 12 17:17:19 2012 @@ -0,0 +1,32 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one +${symbol_pound} or more contributor license agreements. See the NOTICE file +${symbol_pound} distributed with this work for additional information +${symbol_pound} regarding copyright ownership. The ASF licenses this file +${symbol_pound} to you under the Apache License, Version 2.0 (the +${symbol_pound} "License"); you may not use this file except in compliance +${symbol_pound} with the License. You may obtain a copy of the License at +${symbol_pound} +${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0 +${symbol_pound} +${symbol_pound} Unless required by applicable law or agreed to in writing, +${symbol_pound} software distributed under the License is distributed on an +${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +${symbol_pound} KIND, either express or implied. See the License for the +${symbol_pound} specific language governing permissions and limitations +${symbol_pound} under the License. +isis.services.prefix = objstore.dflt +isis.services = todo.ToDoItemsDefault + +isis.fixtures.prefix= fixture +isis.fixtures= LogonAsSvenFixture,todo.ToDoItemsFixture + +isis.exploration.users=sven, dick, bob + +isis.reflector.class-substitutor=org.apache.isis.runtimes.dflt.bytecode.dflt.classsubstitutor.CglibClassSubstitutor +isis.persistor.object-factory=org.apache.isis.runtimes.dflt.bytecode.dflt.objectfactory.CglibObjectFactory + +isis.user-profile-store=in-memory +isis.persistor=in-memory Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/pom.xml URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/pom.xml?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/pom.xml (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/pom.xml Fri Oct 12 17:17:19 2012 @@ -0,0 +1,79 @@ + + + 4.0.0 + + + ${groupId} + ${rootArtifactId} + ${version} + + + ${artifactId} + Quickstart JUnit Tests + + + + + + ${project.groupId} + ${rootArtifactId}-fixture + ${version} + + + + + org.apache.isis.core + runtime + + + org.apache.isis.runtimes.dflt.bytecode + dflt + + + org.apache.isis.runtimes.dflt.objectstores + dflt + + + org.apache.isis.runtimes.dflt.profilestores + dflt + + + org.apache.isis.progmodels + dflt + + + org.apache.isis.security + dflt + + + org.apache.isis.security + file + + + + + org.apache.isis.viewer + junit + test + + + + + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/AbstractTest.java URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/AbstractTest.java?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/AbstractTest.java (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/AbstractTest.java Fri Oct 12 17:17:19 2012 @@ -0,0 +1,103 @@ +#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 junit; + +import dom.todo.ToDoItems; + +import org.junit.After; +import org.junit.Before; +import org.junit.runner.RunWith; + +import org.apache.isis.applib.DomainObjectContainer; +import org.apache.isis.progmodel.wrapper.applib.WrapperFactory; +import org.apache.isis.progmodel.wrapper.applib.WrapperObject; +import org.apache.isis.viewer.junit.ConfigDir; +import org.apache.isis.viewer.junit.IsisTestRunner; +import org.apache.isis.viewer.junit.Service; +import org.apache.isis.viewer.junit.Services; + +@RunWith(IsisTestRunner.class) +@ConfigDir("../viewer-dnd/config") // acts as default, but can be overridden by annotations +@Services({ @Service(ToDoItems.class) }) +public abstract class AbstractTest { + + private DomainObjectContainer domainObjectContainer; + private WrapperFactory wrapperFactory; + + /** + * The {@link WrapperFactory${symbol_pound}wrap(Object) wrapped} equivalent of the + * {@link ${symbol_pound}setToDoItems(ToDoItems) injected} {@link ToDoItems}. + */ + protected ToDoItems toDoItems; + + @Before + public void wrapInjectedServices() throws Exception { + toDoItems = wrapped(toDoItems); + } + + @Before + public void setUp() throws Exception { + } + + protected T wrapped(final T obj) { + return wrapperFactory.wrap(obj); + } + + @SuppressWarnings("unchecked") + protected T unwrapped(final T obj) { + if (obj instanceof WrapperObject) { + final WrapperObject wrapperObject = (WrapperObject) obj; + return (T) wrapperObject.wrapped(); + } + return obj; + } + + @After + public void tearDown() throws Exception { + } + + // ////////////////////////////////////////////////////// + // Injected. + // ////////////////////////////////////////////////////// + + protected WrapperFactory getWrapperFactory() { + return wrapperFactory; + } + + public void setWrapperFactory(final WrapperFactory wrapperFactory) { + this.wrapperFactory = wrapperFactory; + } + + protected DomainObjectContainer getDomainObjectContainer() { + return domainObjectContainer; + } + + public void setDomainObjectContainer(final DomainObjectContainer domainObjectContainer) { + this.domainObjectContainer = domainObjectContainer; + } + + public void setToDoItems(final ToDoItems toDoItems) { + this.toDoItems = toDoItems; + } + +} Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemRepositoryTest.java URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemRepositoryTest.java?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemRepositoryTest.java (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemRepositoryTest.java Fri Oct 12 17:17:19 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 junit.todo; + +import static org.hamcrest.Matchers.is; +import static org.hamcrest.Matchers.not; +import static org.hamcrest.Matchers.nullValue; +import static org.junit.Assert.assertThat; + +import java.util.List; + +import junit.AbstractTest; +import dom.todo.ToDoItem; +import dom.todo.ToDoItem.Category; +import fixture.LogonAsSvenFixture; +import fixture.todo.ToDoItemsFixture; + +import org.junit.Test; + +import org.apache.isis.viewer.junit.Fixture; +import org.apache.isis.viewer.junit.Fixtures; + +@Fixtures({ @Fixture(ToDoItemsFixture.class), @Fixture(LogonAsSvenFixture.class) }) +public class ToDoItemRepositoryTest extends AbstractTest { + + @Test + public void canFindAllItemsNotYetDone() throws Exception { + final List foobarList = toDoItems.notYetDone(); + assertThat(foobarList.size(), is(5)); + } + + @Test + public void canCreateToDoItem() throws Exception { + final ToDoItem newItem = toDoItems.newToDo("item description", Category.Professional); + assertThat(newItem, is(not(nullValue()))); + assertThat(newItem.getDescription(), is("item description")); + assertThat(getDomainObjectContainer().isPersistent(newItem), is(true)); + } + +} Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemTest.java URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemTest.java?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemTest.java (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/tests-junit/src/test/java/junit/todo/ToDoItemTest.java Fri Oct 12 17:17:19 2012 @@ -0,0 +1,69 @@ +#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 junit.todo; + +import static org.hamcrest.Matchers.is; +import static org.junit.Assert.assertThat; +import static org.junit.Assert.fail; +import junit.AbstractTest; +import dom.todo.ToDoItem; +import fixture.LogonAsSvenFixture; +import fixture.todo.ToDoItemsFixture; + +import org.junit.Before; +import org.junit.Test; + +import org.apache.isis.progmodel.wrapper.applib.DisabledException; +import org.apache.isis.viewer.junit.Fixture; +import org.apache.isis.viewer.junit.Fixtures; + +@Fixtures({ @Fixture(ToDoItemsFixture.class), @Fixture(LogonAsSvenFixture.class) }) +public class ToDoItemTest extends AbstractTest { + + private ToDoItem toDoItem; + + @Override + @Before + public void setUp() { + toDoItem = toDoItems.notYetDone().get(0); + toDoItem = wrapped(toDoItem); + } + + @Test + public void canMarkAsDone() throws Exception { + toDoItem.markAsDone(); + assertThat(toDoItem.getDone(), is(true)); + } + + @Test + public void cannotMarkAsDoneTwice() throws Exception { + toDoItem.markAsDone(); + try { + toDoItem.markAsDone(); + fail("Should have been disabled"); + } catch (final DisabledException e) { + assertThat(e.getMessage(), is("Already done")); + } + } + +} Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/isis.properties URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/isis.properties?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/isis.properties (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/isis.properties Fri Oct 12 17:17:19 2012 @@ -0,0 +1,119 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one +${symbol_pound} or more contributor license agreements. See the NOTICE file +${symbol_pound} distributed with this work for additional information +${symbol_pound} regarding copyright ownership. The ASF licenses this file +${symbol_pound} to you under the Apache License, Version 2.0 (the +${symbol_pound} "License"); you may not use this file except in compliance +${symbol_pound} with the License. You may obtain a copy of the License at +${symbol_pound} +${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0 +${symbol_pound} +${symbol_pound} Unless required by applicable law or agreed to in writing, +${symbol_pound} software distributed under the License is distributed on an +${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +${symbol_pound} KIND, either express or implied. See the License for the +${symbol_pound} specific language governing permissions and limitations +${symbol_pound} under the License. + + +${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound }${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} +${symbol_pound} +${symbol_pound} specify system components. +${symbol_pound} +${symbol_pound} The values correspond to the named components in the installer-registry.properties file +${symbol_pound} in the org.apache.isis.runtimes.dflt:runtime JAR (in the org.apache.isis.runtimes.dflt.runtime package) +${symbol_pound} +${symbol_pound} Although all configuration could reside in isis.properties, the recommendation is +${symbol_pound} to split out into component specific files: +${symbol_pound} +${symbol_pound} xxx_yyy.properties files +${symbol_pound} +${symbol_pound} where +${symbol_pound} * xxx is the component type, and +${symbol_pound} * yyy is the component name. +${symbol_pound} +${symbol_pound} For example, persistor_sql.properties holds configuration information specific to the +${symbol_pound} +${symbol_pound} +${symbol_pound} If the components are changed, also remember to edit pom.xml (further comments can be +${symbol_pound} found in the persistor_xxx.properties files) +${symbol_pound} +${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound }${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} + +${symbol_pound} +${symbol_pound} configure the persistor (object store) to use +${symbol_pound} +${symbol_pound} * in-memory requires no additional configuration, but stores object in-memory. +${symbol_pound} Only suitable for prototyping +${symbol_pound} +${symbol_pound} other persistor implementations are not appropriate for the DnD viewer +${symbol_pound} + +isis.persistor=in-memory +${symbol_pound}isis.persistor=xml + + + + +${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound }${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} +${symbol_pound} +${symbol_pound} MetaModel +${symbol_pound} +${symbol_pound} The metamodel typically does not require additional configuration, although +${symbol_pound} the system components (defined above) may refine the metamodel for their needs. +${symbol_pound} +${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound }${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} + + +${symbol_pound} +${symbol_pound} additional programming model facets +${symbol_pound} + +${symbol_pound}isis.reflector.facets.include= +${symbol_pound}isis.reflector.facets.exclude= + + +${symbol_pound} +${symbol_pound} metamodel validator +${symbol_pound} + +${symbol_pound}isis.reflector.validator= + + + +${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound }${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} +${symbol_pound} +${symbol_pound} Application Services and fixtures +${symbol_pound} +${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound }${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound}${symbol_pound} + +${symbol_pound} +${symbol_pound} Specify the domain services. +${symbol_pound} +${symbol_pound} These are the most important configuration properties in the system, as they define +${symbol_pound} the set of the classes for Isis to instantiate as domain service singletons. +${symbol_pound} From these domain service instances the rest of the metamodel is discovered, while the +${symbol_pound} end-user gains access to other domain objects by invoking the actions of the domain services. +${symbol_pound} +${symbol_pound} The implementations depend on the configured (see isis.persistor above) +${symbol_pound} + +${symbol_pound} if using the in-memory object store +isis.services.prefix = dom +isis.services = todo.ToDoItems + + + + +${symbol_pound} +${symbol_pound} Specify the (optional) test fixtures +${symbol_pound} +${symbol_pound} Fixtures are used to seed the object store with an initial set of data. For the +${symbol_pound} in-memory object store, the fixtures are installed on every run. +${symbol_pound} +isis.fixtures.prefix= fixture +isis.fixtures= todo.ToDoItemsFixture + Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/logging.properties URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/logging.properties?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/logging.properties (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/logging.properties Fri Oct 12 17:17:19 2012 @@ -0,0 +1,37 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one +${symbol_pound} or more contributor license agreements. See the NOTICE file +${symbol_pound} distributed with this work for additional information +${symbol_pound} regarding copyright ownership. The ASF licenses this file +${symbol_pound} to you under the Apache License, Version 2.0 (the +${symbol_pound} "License"); you may not use this file except in compliance +${symbol_pound} with the License. You may obtain a copy of the License at +${symbol_pound} +${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0 +${symbol_pound} +${symbol_pound} Unless required by applicable law or agreed to in writing, +${symbol_pound} software distributed under the License is distributed on an +${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +${symbol_pound} KIND, either express or implied. See the License for the +${symbol_pound} specific language governing permissions and limitations +${symbol_pound} under the License. + + +${symbol_pound} +${symbol_pound} Isis uses log4j is used to provide system logging +${symbol_pound} +log4j.rootCategory=INFO, Console + +${symbol_pound} The console appender +log4j.appender.Console=org.apache.log4j.ConsoleAppender +log4j.appender.Console.target=System.out +log4j.appender.Console.layout=org.apache.log4j.PatternLayout +log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE} [%-20c{1} %-10t %-5p] %m%n + +log4j.appender.File=org.apache.log4j.RollingFileAppender +log4j.appender.File.file=isis.log +log4j.appender.File.append=false +log4j.appender.File.layout=org.apache.log4j.PatternLayout +log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p] %m%n Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_in-memory.properties URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_in-memory.properties?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_in-memory.properties (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_in-memory.properties Fri Oct 12 17:17:19 2012 @@ -0,0 +1,28 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one +${symbol_pound} or more contributor license agreements. See the NOTICE file +${symbol_pound} distributed with this work for additional information +${symbol_pound} regarding copyright ownership. The ASF licenses this file +${symbol_pound} to you under the Apache License, Version 2.0 (the +${symbol_pound} "License"); you may not use this file except in compliance +${symbol_pound} with the License. You may obtain a copy of the License at +${symbol_pound} +${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0 +${symbol_pound} +${symbol_pound} Unless required by applicable law or agreed to in writing, +${symbol_pound} software distributed under the License is distributed on an +${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +${symbol_pound} KIND, either express or implied. See the License for the +${symbol_pound} specific language governing permissions and limitations +${symbol_pound} under the License. + +${symbol_pound} +${symbol_pound} configuration file for the In-memory objectstore +${symbol_pound} + + +${symbol_pound} +${symbol_pound} (intentionally empty) +${symbol_pound} Added: incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_xml.properties URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_xml.properties?rev=1397650&view=auto ============================================================================== --- incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_xml.properties (added) +++ incubator/isis/trunk/framework/quickstart-archetype/archetype/src/main/resources/archetype-resources/viewer-dnd/config/persistor_xml.properties Fri Oct 12 17:17:19 2012 @@ -0,0 +1,25 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +${symbol_pound} Licensed to the Apache Software Foundation (ASF) under one +${symbol_pound} or more contributor license agreements. See the NOTICE file +${symbol_pound} distributed with this work for additional information +${symbol_pound} regarding copyright ownership. The ASF licenses this file +${symbol_pound} to you under the Apache License, Version 2.0 (the +${symbol_pound} "License"); you may not use this file except in compliance +${symbol_pound} with the License. You may obtain a copy of the License at +${symbol_pound} +${symbol_pound} http://www.apache.org/licenses/LICENSE-2.0 +${symbol_pound} +${symbol_pound} Unless required by applicable law or agreed to in writing, +${symbol_pound} software distributed under the License is distributed on an +${symbol_pound} "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +${symbol_pound} KIND, either express or implied. See the License for the +${symbol_pound} specific language governing permissions and limitations +${symbol_pound} under the License. + +${symbol_pound} +${symbol_pound} configuration file for the XML objectstore +${symbol_pound} + +isis.xmlos.dir=/tmp/isis-${parentArtifactId}/persistor-xml/data \ No newline at end of file