[Yanel-commits] rev 48315 - in public/yanel/trunk/src/realms/yanel-website/content: . df928930-64bc-4414-85c8-3ea66ea0849c.yarep df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921 df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732 df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974 df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675 df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971 df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379 df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102

memo at wyona.com memo at wyona.com
Fri Mar 26 11:50:35 CET 2010


Author: memo
Date: 2010-03-26 11:50:35 +0100 (Fri, 26 Mar 2010)
New Revision: 48315

Added:
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/meta
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/meta
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/meta
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/meta
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/meta
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/meta
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/content
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/meta
Modified:
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c
   public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/meta
Log:
Docs updated

Modified: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c	2010-03-26 10:42:22 UTC (rev 48314)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c	2010-03-26 10:50:35 UTC (rev 48315)
@@ -1,9 +1,33 @@
-<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Rapid Development of Components</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body> 
- <h1>Rapid Development of Components</h1>
-    <h2>Building efficiently webapp classes</h2>
-    <p>In order to build and test efficiently webapp classes one can run the following targets</p>
-    <p><em>./build.sh compile-webapp copy-basic-webapp-libs
-copy-webapp-files-to-tomcat-cluster-node1
-</em></p>
-    <p>instead of running the whole build process. This should reduce the waiting time from a couple of minutes to a couple of seconds.</p><h2>Compiling efficiently resource classes</h2>In order to compile resource classes efficiently one can run the build as follows<br/><br/><i>./build.sh -f src/contributions/resources/xinha/build.xml</i><br/><br/>instead of running the whole build process.<p></p></body>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>Rapid Development of Components</title>
+</head>
+<body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to recompile everything once a total build has been done. Examples of components that can be built separately are <strong>webapp classes</strong>, <strong>resource classes</strong> and <strong>realms</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This will build only the webapp and redeploy it, and should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes can be found in separate directories at several locations, e.g.:</p>
+<ul>
+<li><code>{yanel.home}/src/resources</code></li>
+<li><code>{yanel.home}/src/contributions/resources</code></li>
+<li><code>{yanel.home}/src/realms/welcome-admin/yanel/resources</code></li>
+<li><code>{yanel.home}/src/realms/from-scratch-realm-template/res-types</code></li>
+<li><code>{my.realm}/res-types</code></li>
+<li>etc...</li>
+</ul>
+<p>These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f {path.to.resource.dir}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly, as only the changed resource will be built.</p>
+<h2>Efficiently building single realms</h2>
+<p>In the same way as building resource classes, it is also possible to build single realms after editing classes belonging to that realm:</p>
+<pre>{yanel.home}/build.sh -f {my.realm}/build.xml</pre>
+<p>&#160;</p>
+</div>
+</body>
 </html>
\ No newline at end of file

Modified: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/meta	2010-03-26 10:42:22 UTC (rev 48314)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -1,7 +1,7 @@
+yarep_size<long>:2211
+yarep_checkinDate<date>:2010-03-26T12:07:29:149+0100
+yarep_lastModifed<long>:1269601648000
 yarep_type<string>:resource
+yarep_checkoutUserID<string>:null
+yarep_checkoutDate<date>:2010-03-26T12:05:10:781+0100
 yarep_isCheckedOut<boolean>:false
-yarep_checkoutDate<date>:2009-01-29T12:25:31+0100
-yarep_size<long>:964
-yarep_checkoutUserID<string>:lenya
-yarep_lastModifed<long>:1233228507000
-yarep_checkinDate<date>:2009-01-29T12:28:27+0100

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,14 @@
+<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Rapid Development of Components</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to compile everything. Two cases where this applies are <strong>webapp classes</strong> and <strong>resource classes</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes are the classes that are found in separate directories under <code>{yanel.home}/src/contributions/resources</code>. These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>/build.sh -f src/contributions/resources/{resource.dir.name}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly.</p>
+<p>&#160;</p>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594352921/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:1501
+workflow-state<string>:draft
+yarep_checkinDate<date>:2009-01-29T12:28:27:000+0100
+yarep_type<string>:resource
+yarep_lastModifed<long>:1269594352000
+yarep_revisionCreator<string>:lenya
+yarep_checkoutUserID<string>:lenya
+workflow-date<date>:2010-03-26T10:05:52:992+0100
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2010-03-26T09:48:13:380+0100
+yarep_revisionCreationDate<date>:2010-03-26T10:05:52:928+0100
+yarep_revisionComment<string>:Updated with tinyMCE

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,16 @@
+<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Rapid Development of Components</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to compile everything. Two cases where this applies are <strong>webapp classes</strong> and <strong>resource classes</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes are the classes that are found in separate directories under <code>{yanel.home}/src/contributions/resources</code>. These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f src/contributions/resources/{resource.dir.name}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly.</p>
+<p>&#160;</p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594469732/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:1549
+workflow-state<string>:draft
+yarep_checkinDate<date>:2010-03-26T10:05:52:968+0100
+yarep_lastModifed<long>:1269594469000
+yarep_type<string>:resource
+yarep_revisionCreator<string>:lenya
+yarep_checkoutUserID<string>:lenya
+workflow-date<date>:2010-03-26T10:07:49:830+0100
+yarep_checkoutDate<date>:2010-03-26T10:06:18:698+0100
+yarep_isCheckedOut<boolean>:false
+yarep_revisionCreationDate<date>:2010-03-26T10:07:49:765+0100
+yarep_revisionComment<string>:Updated with tinyMCE

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,16 @@
+<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Rapid Development of Components</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to compile everything. Two cases where this applies are <strong>webapp classes</strong> and <strong>resource classes</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This will build only the webapp and redeploy it, and should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes are the classes that are found in separate directories under <code>{yanel.home}/src/contributions/resources</code>. These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f src/contributions/resources/{resource.dir.name}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly, as only the changed resource will be built.</p>
+<p>&#160;</p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269594645974/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:1641
+workflow-state<string>:draft
+yarep_checkinDate<date>:2010-03-26T10:07:49:815+0100
+yarep_type<string>:resource
+yarep_lastModifed<long>:1269594645000
+yarep_revisionCreator<string>:lenya
+yarep_checkoutUserID<string>:lenya
+workflow-date<date>:2010-03-26T10:10:46:047+0100
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2010-03-26T10:09:40:746+0100
+yarep_revisionCreationDate<date>:2010-03-26T10:10:45:996+0100
+yarep_revisionComment<string>:Updated with tinyMCE

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>Untitled document</title>
+</head>
+<body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to compile everything. Two cases where this applies are <strong>webapp classes</strong> and <strong>resource classes</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This will build only the webapp and redeploy it, and should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes can be found in separate directories at several locations, e.g.:</p>
+<ul>
+<li><code>{yanel.home}/src/resources</code></li>
+<li><code>{yanel.home}/src/contributions/resources</code></li>
+<li><code>{yanel.home}src/realms/welcome-admin/yanel/resources</code></li>
+<li><code>{yanel.home}src/realms/from-scratch-realm-template/res-types</code></li>
+<li><code>{my.realm}res-types</code></li>
+<li>etc...</li>
+</ul>
+<p>These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f {path.to.resource.dir}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly, as only the changed resource will be built.</p>
+<h2>Efficiently building single realms</h2>
+<p>In the same way as building resource classes, it is also possible to build single realms after editing classes belonging to that realm:</p>
+<pre>{yanel.home}/build.sh -f {my.realm}/build.xml</pre>
+<p>&#160;</p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598299675/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:2111
+workflow-state<string>:draft
+yarep_checkinDate<date>:2010-03-26T10:10:46:028+0100
+yarep_lastModifed<long>:1269598299000
+yarep_type<string>:resource
+yarep_revisionCreator<string>:lenya
+yarep_checkoutUserID<string>:lenya
+workflow-date<date>:2010-03-26T11:11:39:779+0100
+yarep_checkoutDate<date>:2010-03-26T10:45:27:705+0100
+yarep_isCheckedOut<boolean>:false
+yarep_revisionCreationDate<date>:2010-03-26T11:11:39:686+0100
+yarep_revisionComment<string>:Updated with tinyMCE

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>Untitled document</title>
+</head>
+<body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to recompile everything once a total build has been done. Components that can be built separately are <strong>webapp classes</strong>, <strong>resource classes</strong> and <strong>realms</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This will build only the webapp and redeploy it, and should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes can be found in separate directories at several locations, e.g.:</p>
+<ul>
+<li><code>{yanel.home}/src/resources</code></li>
+<li><code>{yanel.home}/src/contributions/resources</code></li>
+<li><code>{yanel.home}src/realms/welcome-admin/yanel/resources</code></li>
+<li><code>{yanel.home}src/realms/from-scratch-realm-template/res-types</code></li>
+<li><code>{my.realm}res-types</code></li>
+<li>etc...</li>
+</ul>
+<p>These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f {path.to.resource.dir}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly, as only the changed resource will be built.</p>
+<h2>Efficiently building single realms</h2>
+<p>In the same way as building resource classes, it is also possible to build single realms after editing classes belonging to that realm:</p>
+<pre>{yanel.home}/build.sh -f {my.realm}/build.xml</pre>
+<p>&#160;</p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598503971/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:2182
+workflow-state<string>:draft
+yarep_checkinDate<date>:2010-03-26T11:11:39:728+0100
+yarep_type<string>:resource
+yarep_lastModifed<long>:1269598503000
+yarep_revisionCreator<string>:lenya
+yarep_checkoutUserID<string>:lenya
+workflow-date<date>:2010-03-26T11:15:04:347+0100
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2010-03-26T11:12:09:734+0100
+yarep_revisionCreationDate<date>:2010-03-26T11:15:03:984+0100
+yarep_revisionComment<string>:Updated with tinyMCE

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>Rapid Development of Components</title>
+</head>
+<body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to recompile everything once a total build has been done. Components that can be built separately are <strong>webapp classes</strong>, <strong>resource classes</strong> and <strong>realms</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This will build only the webapp and redeploy it, and should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes can be found in separate directories at several locations, e.g.:</p>
+<ul>
+<li><code>{yanel.home}/src/resources</code></li>
+<li><code>{yanel.home}/src/contributions/resources</code></li>
+<li><code>{yanel.home}src/realms/welcome-admin/yanel/resources</code></li>
+<li><code>{yanel.home}src/realms/from-scratch-realm-template/res-types</code></li>
+<li><code>{my.realm}res-types</code></li>
+<li>etc...</li>
+</ul>
+<p>These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f {path.to.resource.dir}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly, as only the changed resource will be built.</p>
+<h2>Efficiently building single realms</h2>
+<p>In the same way as building resource classes, it is also possible to build single realms after editing classes belonging to that realm:</p>
+<pre>{yanel.home}/build.sh -f {my.realm}/build.xml</pre>
+<p>&#160;</p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269598852379/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:2196
+workflow-state<string>:draft
+yarep_checkinDate<date>:2010-03-26T11:15:04:322+0100
+yarep_lastModifed<long>:1269598852000
+yarep_type<string>:resource
+yarep_revisionCreator<string>:lenya
+yarep_checkoutUserID<string>:lenya
+workflow-date<date>:2010-03-26T11:20:52:451+0100
+yarep_checkoutDate<date>:2010-03-26T11:20:30:474+0100
+yarep_isCheckedOut<boolean>:false
+yarep_revisionCreationDate<date>:2010-03-26T11:20:52:388+0100
+yarep_revisionComment<string>:Updated with tinyMCE

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/content
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/content	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/content	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+<head>
+<title>Rapid Development of Components</title>
+</head>
+<body>
+<div class="instructions">
+<h1>Rapid Development of Components</h1>
+<p>When developing Yanel components, often there is no need to recompile everything once a total build has been done. Examples of components that can be built separately are <strong>webapp classes</strong>, <strong>resource classes</strong> and <strong>realms</strong>.</p>
+<h2>Efficiently building webapp classes</h2>
+<p>Webapp classes are all classes that are under <code>{yanel.home}/src/webapp/src/java/org/wyona/yanel/servlet</code>. In order to build and test these classes efficiently, one can run:</p>
+<pre>{yanel.home}/build.sh compile-webapp copy-basic-webapp-libs copy-webapp-files-to-tomcat-cluster-node1</pre>
+<p>instead of running the whole build process. This will build only the webapp and redeploy it, and should reduce the waiting time from a couple of minutes to a couple of seconds.</p>
+<h2>Efficiently building resource classes</h2>
+<p>Resource classes can be found in separate directories at several locations, e.g.:</p>
+<ul>
+<li><code>{yanel.home}/src/resources</code></li>
+<li><code>{yanel.home}/src/contributions/resources</code></li>
+<li><code>{yanel.home}/src/realms/welcome-admin/yanel/resources</code></li>
+<li><code>{yanel.home}/src/realms/from-scratch-realm-template/res-types</code></li>
+<li><code>{my.realm}/res-types</code></li>
+<li>etc...</li>
+</ul>
+<p>These classes all have their own <code>build.xml</code> files, so to compile them efficiently, one can run the build as</p>
+<pre>{yanel.home}/build.sh -f {path.to.resource.dir}/build.xml</pre>
+<p>instead of running the whole build process. Again, this will reduce the building time significantly, as only the changed resource will be built.</p>
+<h2>Efficiently building single realms</h2>
+<p>In the same way as building resource classes, it is also possible to build single realms after editing classes belonging to that realm:</p>
+<pre>{yanel.home}/build.sh -f {my.realm}/build.xml</pre>
+<p>&#160;</p>
+</div>
+</body>
+</html>
\ No newline at end of file

Added: public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/meta
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/meta	                        (rev 0)
+++ public/yanel/trunk/src/realms/yanel-website/content/df928930-64bc-4414-85c8-3ea66ea0849c.yarep/revisions/1269601649102/meta	2010-03-26 10:50:35 UTC (rev 48315)
@@ -0,0 +1,12 @@
+yarep_size<long>:2211
+workflow-state<string>:draft
+yarep_checkinDate<date>:2010-03-26T11:21:31:651+0100
+yarep_type<string>:resource
+yarep_lastModifed<long>:1269601648000
+yarep_revisionCreator<string>:null
+yarep_checkoutUserID<string>:null
+workflow-date<date>:2010-03-26T12:07:29:229+0100
+yarep_isCheckedOut<boolean>:false
+yarep_checkoutDate<date>:2010-03-26T12:05:10:781+0100
+yarep_revisionCreationDate<date>:2010-03-26T12:07:29:110+0100
+yarep_revisionComment<string>:Updated with tinyMCE



More information about the Yanel-commits mailing list