[Yanel-commits] rev 57604 - public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation

ioannis at wyona.com ioannis at wyona.com
Thu Mar 31 13:39:15 CEST 2011


Author: ioannis
Date: 2011-03-31 13:39:15 +0200 (Thu, 31 Mar 2011)
New Revision: 57604

Modified:
   public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/how-to-add-a-new-realm.html
Log:
Added developer notes in the online documentation

Modified: public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/how-to-add-a-new-realm.html
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/how-to-add-a-new-realm.html	2011-03-31 11:20:26 UTC (rev 57603)
+++ public/yanel/trunk/src/realms/yanel-website/data-repo/data/en/documentation/how-to-add-a-new-realm.html	2011-03-31 11:39:15 UTC (rev 57604)
@@ -49,7 +49,28 @@
             <a href="http://svn.wyona.com/repos/public/osr-101/trunk/yanel/config/yanel-realm-config.xml">OSR-101 (Neutron Protocol Website)</a> (U: anonymous, P: anonymous)</li>
           <li>
             <a href="http://svn.wyona.com/repos/public/yanel/trunk/src/realms/from-scratch-realm-template/yanel/config/yanel-realm-config.xml">Yanel from Scratch Realm</a> (U: anonymous, P: anonymous)</li>
-          
-        </ul>
+</ul>
+
+<h1>Developer Notes</h1>
+<p>
+If you want to modify the output of "./build.sh add-realm" you need to edit the Ant file where the "add-realm" target is defined:<br/>
+<pre>$YANEL_HOME/src/build/targets/add-third-party-realm.xml</pre>
+</p>
+
+<p>
+In that file you see the entry:<br/>
+<pre><target name="add-realm" description="Add third party realm" depends="init, build-add-realm-task"></pre>
+</p>
+
+<p>
+This is where the target "add-realm is defined and configured. Inside this element there is another entry:"<br/>
+<pre><taskdef name="addrealm" classpath="${yanel.source.home}/build/classes" classname="org.wyona.yanel.ant.AddRealmTask"></pre>
+</p>
+
+<p>
+The "classname" attribute defines the java class that will be executed for the "add-realm" target:<br/>
+<pre>$YANEL_HOME/src/build/java/org/wyona/yanel/ant/AddRealmTask.java</pre>
+</p>
+
 </body>
 </html>



More information about the Yanel-commits mailing list