You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by pp...@apache.org on 2010/05/25 07:32:48 UTC

svn commit: r947924 - /openjpa/trunk/openjpa-examples/openbooks/src/main/resources/demo.properties

Author: ppoddar
Date: Tue May 25 05:32:48 2010
New Revision: 947924

URL: http://svn.apache.org/viewvc?rev=947924&view=rev
Log:
Add new configuration for demo itself such as root of viewable source code

Modified:
    openjpa/trunk/openjpa-examples/openbooks/src/main/resources/demo.properties

Modified: openjpa/trunk/openjpa-examples/openbooks/src/main/resources/demo.properties
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-examples/openbooks/src/main/resources/demo.properties?rev=947924&r1=947923&r2=947924&view=diff
==============================================================================
--- openjpa/trunk/openjpa-examples/openbooks/src/main/resources/demo.properties (original)
+++ openjpa/trunk/openjpa-examples/openbooks/src/main/resources/demo.properties Tue May 25 05:32:48 2010
@@ -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