You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2012/12/03 21:21:07 UTC

svn commit: r840595 - in /websites/staging/isis/trunk: cgi-bin/ content/ content/getting-started/ content/getting-started/resources/

Author: buildbot
Date: Mon Dec  3 20:21:06 2012
New Revision: 840595

Log:
Staging update by buildbot for isis

Added:
    websites/staging/isis/trunk/content/getting-started/examples.html
    websites/staging/isis/trunk/content/getting-started/resources/quickstart_dnd_junit_bdd.tar.gz   (with props)
    websites/staging/isis/trunk/content/getting-started/resources/quickstart_wicket_restful_jdo.tar.gz   (with props)
Modified:
    websites/staging/isis/trunk/cgi-bin/   (props changed)
    websites/staging/isis/trunk/content/   (props changed)
    websites/staging/isis/trunk/content/documentation.html
    websites/staging/isis/trunk/content/download.html
    websites/staging/isis/trunk/content/getting-started/about.html

Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec  3 20:21:06 2012
@@ -1 +1 @@
-1416600
+1416653

Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Dec  3 20:21:06 2012
@@ -1 +1 @@
-1416600
+1416653

Modified: websites/staging/isis/trunk/content/documentation.html
==============================================================================
--- websites/staging/isis/trunk/content/documentation.html (original)
+++ websites/staging/isis/trunk/content/documentation.html Mon Dec  3 20:21:06 2012
@@ -192,6 +192,7 @@
 
 <ul>
 <li><a href="getting-started/demo-app.html">Demo App</a> (<code>0.2.0-incubating</code>)</li>
+<li><a href="getting-started/examples.html">Examples</a> (<code>0.3.1-SNAPSHOT</code>)</li>
 <li><a href="getting-started/cheat-sheet.html">Cheat Sheet</a></li>
 <li><a href="getting-started/icons.html">Icons</a></li>
 </ul>

Modified: websites/staging/isis/trunk/content/download.html
==============================================================================
--- websites/staging/isis/trunk/content/download.html (original)
+++ websites/staging/isis/trunk/content/download.html Mon Dec  3 20:21:06 2012
@@ -190,10 +190,12 @@
 
 <p>In the meantime, you can download the Isis source code using:</p>
 
-<pre><code>svn checkout https://svn.apache.org/repos/asf/isis/trunk
+<pre><code>git clone https://git.apache.org/isis.git
 </code></pre>
 
-<p>There is also a mirrored copy up on <a href="https://github.com/danhaywood/apache-isis-tlp">github</a>.  We'll be moving over to Apache supported git infrastructure shortly (but will maintain a github mirror).</p>
+<h2>Examples</h2>
+
+<p>There are some examples of running against the current snapshot; see <a href="getting-started/examples.html">here</a>.</p>
 
 <h2>Previous releases</h2>
 

Modified: websites/staging/isis/trunk/content/getting-started/about.html
==============================================================================
--- websites/staging/isis/trunk/content/getting-started/about.html (original)
+++ websites/staging/isis/trunk/content/getting-started/about.html Mon Dec  3 20:21:06 2012
@@ -186,6 +186,7 @@
 
 <ul>
 <li><a href="demo-app.html">Demo application</a></li>
+<li><a href="examples.html">Examples</a></li>
 <li><a href="quickstart-archetype.html">Quickstart archetype</a></li>
 <li><a href="cheat-sheet.html">Cheat sheet</a></li>
 <li><a href="icons.html">Icons</a></li>

Added: websites/staging/isis/trunk/content/getting-started/examples.html
==============================================================================
--- websites/staging/isis/trunk/content/getting-started/examples.html (added)
+++ websites/staging/isis/trunk/content/getting-started/examples.html Mon Dec  3 20:21:06 2012
@@ -0,0 +1,292 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+
+    <meta charset="utf-8">
+      <title>Examples
</title>
+    <meta name="description" content="">
+    <meta name="author" content="">
+
+    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
+    <!--[if lt IE 9]>
+      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+    <![endif]-->
+
+    <!-- Le styles -->
+    <link href="./../bootstrap.css" rel="stylesheet">
+    <link href="./../prettify.css" rel="stylesheet">
+    <link href="./../bootstrap-mods.css" rel="stylesheet">
+
+    <style type="text/css">
+        body {
+          padding-top: 60px;
+        }
+        .sprite {
+            display: inline-block;
+            height: 20px;
+            margin: 0 auto 4px;
+            outline: medium none;
+            text-indent: -999em;
+            width: 24px;
+            background-image: url('./../images/sprites.png');
+            background-repeat: no-repeat;
+            overflow: hidden;
+            cursor: pointer;
+        }
+        .edit-page {
+            display: inline-block;
+            height: 20px;
+            margin: 0 auto 4px;
+            outline: medium none;
+            text-indent: -999em;
+            width: 24px;
+            background-image: url('./../images/edit.png');
+            background-repeat: no-repeat;
+            overflow: hidden;
+            cursor: pointer;
+        }
+        .fb-share {
+            background-position: 0px -40px;
+        }
+        .gp-share {
+            background-position: 0px 0px;
+        }
+        .tw-share {
+            background-position: 0px -80px;
+        }
+        .markdown-content {
+            min-height: 500px;
+        }
+        .book-image img {
+          border: 1px;
+          border-style: solid;
+        }
+        .stub {
+            position: relative;
+            padding: 7px 15px;
+            margin-bottom: 18px;
+            color: #404040;
+            background-color: #eedc94;
+            background-repeat: repeat-x;
+            background-image: -khtml-gradient(linear, left top, left bottom, from(#fceec1), to(#eedc94));
+            background-image: -moz-linear-gradient(top, #fceec1, #eedc94);
+            background-image: -ms-linear-gradient(top, #fceec1, #eedc94);
+            background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceec1), color-stop(100%, #eedc94));
+            background-image: -webkit-linear-gradient(top, #fceec1, #eedc94);
+            background-image: -o-linear-gradient(top, #fceec1, #eedc94);
+            background-image: linear-gradient(top, #fceec1, #eedc94);
+            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceec1', endColorstr='#eedc94', GradientType=0);
+            text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+            border-color: #eedc94 #eedc94 #e4c652;
+            border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
+            text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
+            border-width: 1px;
+            border-style: solid;
+            -webkit-border-radius: 4px;
+            -moz-border-radius: 4px;
+            border-radius: 4px;
+            -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
+            -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
+            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
+        }
+    </style>
+    <script type="text/javascript">
+      function fbshare () {
+          window.open(
+                  "http://www.facebook.com/sharer/sharer.php?u="+document.URL,
+                  'Share on Facebook',
+                  'width=640,height=426');
+      };
+      function gpshare () {
+          window.open(
+                  "https://plus.google.com/share?url="+document.URL,
+                  'Share on Google+',
+                  'width=584,height=385');
+      };
+      function twshare () {
+          window.open(
+                  "https://twitter.com/intent/tweet?url="+document.URL+"&text=Examples
",
+                  'Share on Twitter',
+                  'width=800,height=526');
+      };
+    </script>
+
+    <!-- Le fav and touch icons -->
+    <link rel="shortcut icon" href="./../images/favicon.ico">
+    <link rel="apple-touch-icon" href="./../images/apple-touch-icon.png">
+    <link rel="apple-touch-icon" sizes="72x72" href="./../images/apple-touch-icon-72x72.png">
+    <link rel="apple-touch-icon" sizes="114x114" href="./../images/apple-touch-icon-114x114.png">
+
+    <script src="./../javascript/prettify.js" type="text/javascript"></script>
+    <script src="./../javascript/jquery-latest.js"></script>
+    <script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+    <script src="./../javascript/common.js"></script>
+    <script src="./../javascript/prettyprint.js"></script>
+
+    <script type="text/javascript">
+
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-2717626-1']);
+      _gaq.push(['_setDomainName', 'apache.org']);
+      _gaq.push(['_trackPageview']);
+
+      (function() {
+        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+      })();
+
+    </script>
+
+
+  </head>
+
+  <body>
+
+    <div class="topbar">
+      <div class="fill">
+        <div class="container">
+          <a class="brand" href="./../index.html">Apache Isis</a>
+          <ul class="nav">
+            <li><a href="./../index.html">Home</a></li>
+            <li><a href="./../download.html">Download</a></li>
+            <li><a href="./../documentation.html">Documentation</a></li>
+            <li><a href="./../support.html">Support</a></li>
+          </ul>
+
+            <!-- Google CSE Search Box Begins -->
+            <div style="float: right; position: relative; ">
+          <form action="http://www.google.com/cse" id="cse-search-box" _lpchecked="1">
+            <div>
+                <input type="hidden" name="cx" value="001500763902520246267:purt3m54z98">
+                <input type="hidden" name="ie" value="UTF-8">
+                <input type="text" name="q" size="31" style="border: 1px solid rgb(126, 157, 185); padding: 2px; background-color: rgb(255, 255, 255); background-position: 0% 50%; background-repeat: no-repeat no-repeat;">
+                <input type="submit" name="sa" value="Search">
+            </div>
+            <input name="siteurl" type="hidden" value="incubator.apache.org/isis/">
+            <input name="ref" type="hidden" value="">
+            <input name="ss" type="hidden" value="677j458329j2">
+        </form>
+        </div>
+            <!-- Google CSE Search Box Ends -->
+        </div>
+      </div>
+    </div>
+
+    <div class="container">
+      <div class="markdown-content">
+      
+
+<div class="page-header">
+<p><a href="./../documentation.html">Docs</a>&nbsp;&raquo&nbsp;<a href="./../getting-started/about.html">Getting Started</a></p>
+<h1>Examples
+
+</h1>
+</div>
+
+<p>The following examples are zipped-up versions of the <code>examples/</code> directory, configured to run against the current SNAPSHOT.</p>
+
+<ul>
+<li>if you've built Isis from the source code, then these examples will run against your local cached Isis modules</li>
+<li>If you <strong>haven't</strong> built Isis from source code, then these examples will pull down the current snapshots on the <a href="https://repository.apache.org/index.html">Apache snapshot repo</a>.</li>
+</ul>
+
+<p>In both cases the domain object model is a very simple todo application.  No prizes for originality there, but we wanted a one domain class that you could easily refactor for your own purposes.</p>
+
+<h3>Wicket/Restful Objects/JDO</h3>
+
+<p>This example configures two webapps: the <a href="../components/viewers/wicket/about.html">Wicket viewer</a> and the <a href="../components/viewers/restfulobjects/about.html">Restful Objects viewer</a>.  In both cases the webapps run against <a href="../components/objectstores/jdo/about.html">JDO Object store</a>.</p>
+
+<p>The default configuration is an HSQLDB in-memory database, so changes are not persisted and are not shared between the webapps if run concurrently.  This can easily be changed though by editing the <code>persistor_datanucleus.properties</code> file (in <code>src/main/webapp/WEB-INF</code> for both webapps).</p>
+
+<p>To build the example:</p>
+
+<ul>
+<li>download the <a href="resources/quickstart_wicket_restful_jdo.tar.gz">tarfile</a> and unzip using <code>gunzip</code> and <code>tar xvf</code></li>
+<li>build using Maven:</li>
+</ul>
+
+<pre>
+  mvn clean install
+</pre>
+
+<p>To run the Wicket viewer, use:</p>
+
+<pre>
+cd viewer-wicket
+mvn antrun:run
+</pre>
+
+<p>which runs a self-hosted WAR file.  Alternatively you can deploy the WAR file (in the <code>target</code> directory) to a servlet container.</p>
+
+<p>To run the Restful Objects viewer, use:</p>
+
+<pre>
+cd viewer-restfulobjects
+mvn antrun:run
+</pre>
+
+<h3>DnD/Junit/BDD (Concordion)</h3>
+
+<p>This example demonstrates the use of domain object testing using the <a href="../components/viewers/junit/about.html">junit viewer</a>, BDD-style testing using the <a href="../components/viewers/bdd/about.html">BDD viewer</a>, as well as using the <a href="../components/viewers/dnd/about.html">DnD viewer</a> to explore the domain model.  The viewers are configured to use the <a href="../components/objectstores/inmemory/about.html">in-memory objectstore</a>, so changes are never persisted between runs.</p>
+
+<p>To build the example:</p>
+
+<ul>
+<li>download the <a href="resources/quickstart_dnd_junit_bdd.tar.gz">tarfile</a> and unzip using <code>gunzip</code> and <code>tar xvf</code></li>
+<li>build using Maven:</li>
+</ul>
+
+<pre>
+  mvn clean install
+</pre>
+
+<p>The act of building will actually execute the tests.  Running the BDD tests also generates a transcript, which you can find in <code>/tmp/concordion/bdd/stories/AllStories.html</code>.  </p>
+
+<p>To run the DnD viewer, use:</p>
+
+<pre>
+cd viewer-dnd
+mvn antrun:run
+</pre>
+
+
+
+      </div>
+
+        <div id="edit" class="modal hide fade in" style="display: none; ">
+            <div class="modal-header">
+                <a class="close" data-dismiss="modal">x</a>
+
+                <h3>Thank you for contributing to the documention!</h3>
+            </div>
+            <div class="modal-body">
+                <h4>Any help with the documentation is greatly appreciated.</h4>
+                <p>All edits are reviewed before going live, so feel free to do much more than fix typos or links.  If you see a page that could benefit from an entire rewrite, we'd be thrilled to review it.  Don't be surprised if we like it so much we ask you for help with other pages :)</p>
+                <small>NOTICE: unless indicated otherwise on the pages in question, all editable content available from apache.org is presumed to be licensed under the Apache License (AL) version 2.0 and hence all submissions to apache.org treated as formal Contributions under the license terms.</small>
+                <!--[if gt IE 6]>
+                <h4>Internet Explorer Users</h4>
+                <p>If you are not an Apache committer, click the Yes link and enter a <i>anonymous</i> for the username and leave the password empty</p>
+                <![endif]-->
+
+            </div>
+            <div class="modal-footer">
+                Do you have an Apache ID?
+                <a href="javascript:void(location.href='https://cms.apache.org/redirect?uri='+escape(location.href))" class="btn">Yes</a>
+                <a href="javascript:void(location.href='https://anonymous:@cms.apache.org/redirect?uri='+escape(location.href))" class="btn">No</a>
+            </div>
+        </div>
+        <script src="./../javascript/bootstrap-modal.js"></script>
+
+      <footer>
+        <p>
+        Copyright &copy; 2012 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
+        <br/>
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.
+        </p>
+      </footer>
+
+    </div> <!-- /container -->
+
+  </body>
+</html>

Added: websites/staging/isis/trunk/content/getting-started/resources/quickstart_dnd_junit_bdd.tar.gz
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/isis/trunk/content/getting-started/resources/quickstart_dnd_junit_bdd.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/x-gzip

Added: websites/staging/isis/trunk/content/getting-started/resources/quickstart_wicket_restful_jdo.tar.gz
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/isis/trunk/content/getting-started/resources/quickstart_wicket_restful_jdo.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/x-gzip