From 157d126fd3fb404a61410d734a0e92f6b458972b Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Tue, 25 May 2010 05:32:48 +0000 Subject: [PATCH] Add new configuration for demo itself such as root of viewable source code git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@947924 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/demo.properties | 41 ++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/openjpa-examples/openbooks/src/main/resources/demo.properties b/openjpa-examples/openbooks/src/main/resources/demo.properties index bb8599280..270835295 100644 --- a/openjpa-examples/openbooks/src/main/resources/demo.properties +++ b/openjpa-examples/openbooks/src/main/resources/demo.properties @@ -20,6 +20,45 @@ # Configures properties for the graphical user interface client # # --------------------------------------------------------------------------- # # -# Location of the slides +# Location of the slides. A defualt set of slides have been included. +# This is the default root directory path resolved w.r.t. current directory +# where slides files reside # openbook.slides.dir=slides/ +# Slide files (not Powerpoint slides, but their converted images) resolved +# w.r.t openbook.slides.dir # openbook.slides.list=slide1.jpg,slide2.jpg,slide3.jpg,myslide4.jpg + +# The root of viewable source code. +# All viewable source code path is specified and resolved w.r.t this URI. +# If the URI is without a scheme, then it is resolved against the current directory. +# If URI is a file system path, use a forward slash at the end to signify that it is a directory. +# The URI can be an external URI such as FishEye source code repository. +# The value of this URI is defaulted to "source/" i.e. in accordance to build.xml which installs +# the viewable source code in "source/" sub-directory w.r.t OpenBooks executable. +# openbook.source.root=source/ +# Following is where the files are originally created by the Ant build script. +# Useful for in-place testing +# openbook.source.root=openjpa-examples/openbooks/target/generated-html/openbook/ + + +# Following is the URI for FishEye source code repository. +# If an external URI is used, then syntax coloring will not be available. +#openbook.source.root=http://fisheye6.atlassian.com/browse/~raw,r=HEAD/openjpa/trunk/openjpa-examples/openbooks/src/main/java/ + +# This boolean flag denotes if OpenBooks will use an external or internal browser +# By default, OpenBooks uses an internal browser i.e. value of this flag is false +# To use an external browser, JDK6 DeskTop support is required +# openbook.source.browser.external=true + +# Source list specifies the initial list of viewable source code to register in the internal viewer. +# It has no effect if you are using an external browser +# The syntax of specification emulates a Map. Each key-value pair separated by comma while key and +# value are separated by an arrow. +# The key is a user visible moniker to refer to the actual URI to be displayed +# The URI is relative w.r.t. the root URI specified (or defaulted) via openbook.source.root property +openbook.source.list= domain.Book-> Book.java.html, Author -> domain/Author.java.html, \ + Customer -> domain/Customer.java.html,Inventory -> domain/Inventory.java.html,\ + PurchaseOrder-> domain/PurchaseOrder.java.html, LineItem -> domain/LineItem.java.html,Service -> \ + domain/OpenBookService.java.html, Persistence Service -> server/PersistenceService.java.html, \ + Implementation -> server/OpenBookServiceImpl.java.html, BuyBook -> domain/BuyBookPage.java.html + \ No newline at end of file