You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/03/27 17:14:12 UTC
svn commit: r1305867 - in /commons/proper/jelly/trunk/xdocs: jellyswing.xml
jellyswt.xml jellyunit.xml tutorial.xml
Author: sebb
Date: Tue Mar 27 15:14:11 2012
New Revision: 1305867
URL: http://svn.apache.org/viewvc?rev=1305867&view=rev
Log:
JELLY-290 Links to source code in tutorial page are broken
Modified:
commons/proper/jelly/trunk/xdocs/jellyswing.xml
commons/proper/jelly/trunk/xdocs/jellyswt.xml
commons/proper/jelly/trunk/xdocs/jellyunit.xml
commons/proper/jelly/trunk/xdocs/tutorial.xml
Modified: commons/proper/jelly/trunk/xdocs/jellyswing.xml
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/jellyswing.xml?rev=1305867&r1=1305866&r2=1305867&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/jellyswing.xml (original)
+++ commons/proper/jelly/trunk/xdocs/jellyswing.xml Tue Mar 27 15:14:11 2012
@@ -37,7 +37,7 @@
</p>
<p>
There is an example JellySwing script
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/swing/example.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/example.jelly">here</a>
</p>
<p>
To run the example type the following command (from within the <code>jelly-tags/swing</code>
@@ -58,7 +58,7 @@
<p>
JellyRunner is a simple example Swing user interface written with JellySwing.
You can view the source to it
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/swing/run.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/run.jelly">here</a>
</p>
<p>
If you invoke it via the following command you will get a small Swing UI that allows you to
@@ -82,11 +82,11 @@
</p>
<p>
The demo was orignally written in
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/demos/HomepageBuilder.java?rev=HEAD">Java code</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/demos/HomepageBuilder.java">Java code</a>
to implement a simple Swing UI
As an experiment the same Swing user interface has been written
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons-sandbox/jelly/src/test/org/apache/commons/jelly/demos/homepageBuilder.jelly?rev=HEAD">as a JellyScript</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/demos/homepageBuilder.jelly">as a JellyScript</a>
as well.
While this is a fairly simple Swing UI and not a particularly great example of the power of JellySwing,
it does highlight the main difference between the two appraches.
Modified: commons/proper/jelly/trunk/xdocs/jellyswt.xml
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/jellyswt.xml?rev=1305867&r1=1305866&r2=1305867&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/jellyswt.xml (original)
+++ commons/proper/jelly/trunk/xdocs/jellyswt.xml Tue Mar 27 15:14:11 2012
@@ -37,7 +37,7 @@
</p>
<p>
There is an example JellySWT script
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/swt/src/test/org/apache/commons/jelly/tags/swt/example.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/jelly-tags/swt/src/test/org/apache/commons/jelly/tags/swt/example.jelly">here</a>
</p>
<p>
To try running the example, cd into the <i>[jelly-home]/jelly-tags/swt</i> directory
Modified: commons/proper/jelly/trunk/xdocs/jellyunit.xml
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/jellyunit.xml?rev=1305867&r1=1305866&r2=1305867&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/jellyunit.xml (original)
+++ commons/proper/jelly/trunk/xdocs/jellyunit.xml Tue Mar 27 15:14:11 2012
@@ -50,18 +50,18 @@
<section name="Examples">
<p>
There is a simple example JellyUnit script
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly">here</a>
</p>
<p>
An example demonstrating the use of the <a href="libs/betwixt/tags.html">Betwixt</a> library is
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/suite.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/suite.jelly">here</a>
along with a common shared test script
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/common.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/betwixt/src/test/org/apache/commons/jelly/betwixt/common.jelly">here</a>
</p>
<p>
The <a href="libs/validate/tags.html">validate</a> library can be used to perform XML validation inside JellyUnit.
For example there's an example JellyUnit script validating XML
- <a href="http://cvs.apache.org/viewcvs/jakarta-commons/jelly/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate/suite.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/validate/src/test/org/apache/commons/jelly/tags/validate/suite.jelly">here</a>
</p>
</section>
@@ -84,9 +84,9 @@
</p>
<p>
There's an and example of using Mock Tags via the <a href="libs/define/tags.html">define</a> library
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/mock/suite.jelly?rev=HEAD">here</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/define/src/test/org/apache/commons/jelly/tags/mock/suite.jelly">here</a>
which creates the mock tags, inside a JellyUnit test case and then invokes this example
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/mock/service.jelly?rev=HEAD">service</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/define/src/test/org/apache/commons/jelly/tags/mock/service.jelly">service</a>
using the mock tags rather than the underlying SQL and web service tags.
Running the same service from outside of the Mock Tags JellyUnit test case would use the real tag implementations.
</p>
@@ -101,7 +101,7 @@
to produce a single Java class which has a static <i>suite()</i> method to create a TestSuite object
containing all the test cases created by the JellyUnit files.
There is an
- <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/junit/src/test/org/apache/commons/jelly/junit/TestJUnit.java?rev=HEAD">example</a>
+ <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/junit/TestJUnit.java">example</a>
of this in action.
</p>
<p>So if you had a test suite defined in a jelly script <a>suite.jelly</a> in a package com.acme.foo
Modified: commons/proper/jelly/trunk/xdocs/tutorial.xml
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/xdocs/tutorial.xml?rev=1305867&r1=1305866&r2=1305867&view=diff
==============================================================================
--- commons/proper/jelly/trunk/xdocs/tutorial.xml (original)
+++ commons/proper/jelly/trunk/xdocs/tutorial.xml Tue Mar 27 15:14:11 2012
@@ -105,7 +105,7 @@ application using a rich set of function
<p>
To run the swing demo, go to directory jelly-tags/swing and type "maven demo:swing"
-(View the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/src/test/org/apache/commons/jelly/tags/swing/example.jelly?rev=HEAD&content-type=text/vnd.viewcvs-markup">demo script</a>). You should see a window open with
+(View the <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/example.jelly">demo script</a>). You should see a window open with
some swing components. You can test the actions by selecting a menu item or
pressing the button. The actions in this demo simply output a message to the
console. A more practical action could be to invoke a bean, call a script
@@ -113,7 +113,7 @@ that opens another window, etc.
</p>
<p>
-If you look at the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/src/test/org/apache/commons/jelly/tags/swing/example.jelly?rev=HEAD&content-type=text/vnd.viewcvs-markup">jelly code for this demo</a>, you will see
+If you look at the <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/swing/example.jelly">jelly code for this demo</a>, you will see
that building a UI is pretty simple. For example, a menu bar is simply:
</p>
@@ -161,7 +161,7 @@ The Jelly Runner is a JellySwing interfa
</p>
<p>
-To start the JellyRunner type "maven jelly:runner" (View the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/src/test/org/apache/commons/jelly/tags/swing/run.jelly?rev=HEAD&content-type=text/vnd.viewcvs-markup">demo source</a>).
+To start the JellyRunner type "maven jelly:runner" (View the <a href="jelly-tags/swing/src/test/org/apache/commons/jelly/swing/run.jelly">demo source</a>).
</p>
</subsection>
@@ -169,7 +169,7 @@ To start the JellyRunner type "maven jel
<subsection name="Homepage Builder (JellySwing Edition)">
<p>
-This is a good chance to use the Jelly Runner. Find HomepageBuilder.jelly, which is located in /src/test/org/apache/commons/jelly/demos/ (View the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/demos/homepageBuilder.jelly?rev=HEAD&content-type=text/vnd.viewcvs-markup">demo source</a>).
+This is a good chance to use the Jelly Runner. Find HomepageBuilder.jelly, which is located in /src/test/org/apache/commons/jelly/demos/ (View the <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/demos/homepageBuilder.jelly">demo source</a>).
</p>
<p>
@@ -219,7 +219,7 @@ When you run the program, it will open a
</p>
<p>
-To run the demo type "maven demo:embed" (View the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/swing/src/test/org/apache/commons/jelly/demos/HomepageBuilder.java?rev=HEAD">demo source</a>).
+To run the demo type "maven demo:embed" (View the <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/swing/src/test/org/apache/commons/jelly/demos/HomepageBuilder.java">demo source</a>).
</p>
<p>
@@ -290,7 +290,7 @@ With the <a href="libs/jsl/tags.html">JS
</p>
<p>
-To run the demo type "maven demo:jsl" (View the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/jsl/src/test/org/apache/commons/jelly/tags/jsl/example.jelly?rev=HEAD&content-type=text/vnd.viewcvs-markup">demo source</a>). The demo transforms the demo source into HTML and ouputs it to the command line, like this:
+To run the demo type "maven demo:jsl" (View the <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/jsl/src/test/org/apache/commons/jelly/jsl/example.jelly">demo source</a>). The demo transforms the demo source into HTML and ouputs it to the command line, like this:
</p>
<source>
@@ -330,7 +330,7 @@ This demo demonstrates the use the handy
</p>
<p>
-To run the demo type "maven demo:html" (View the <a href="http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jelly/jelly-tags/html/src/test/org/apache/commons/jelly/tags/html/example.jelly?rev=HEAD&content-type=text/vnd.viewcvs-markup">demo source</a>).
+To run the demo type "maven demo:html" (View the <a href="http://svn.apache.org/repos/asf/commons/proper/jelly/trunk/jelly-tags/html/src/test/org/apache/commons/jelly/html/example.jelly">demo source</a>).
</p>
<p>