crossley | 1 Dec 08:40 2005
Picon

svn commit: r350200 - /forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf

Author: crossley
Date: Wed Nov 30 23:40:41 2005
New Revision: 350200

URL: http://svn.apache.org/viewcvs?rev=350200&view=rev
Log:
Add accessor.roles from the cocoon-template block.
Not sure if this is needed, but starting to review the Cocoon config.
This was the only roles file not included, so be consistent.

Modified:
    forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf

Modified: forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf
URL: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf?rev=350200&r1=350199&r2=350200&view=diff
==============================================================================
--- forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf (original)
+++ forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf Wed Nov 30 23:40:41 2005
 <at>  <at>  -44,6 +44,7  <at>  <at> 

      <!-- Include roles -->
   <include src="resource://org/apache/cocoon/components/expression/expression.roles"/>
+  <include src="resource://org/apache/cocoon/components/accessor/accessor.roles"/>

   <expression-factory/>
   <expression-compilers>

thorsten | 1 Dec 11:21 2005
Picon

svn commit: r350221 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher: ContractBean.java DispatcherHelper.java transformation/DispatcherTransformer.java

Author: thorsten
Date: Thu Dec  1 02:21:35 2005
New Revision: 350221

URL: http://svn.apache.org/viewcvs?rev=350221&view=rev
Log:
cleaned up the code from not needed fragments. Added more comments to the classes, enhanced error message
throwing and overall readablity of the code. Enhanced matching the state of the transformer, whether it
is inside or outside of the structurer. With this it is now possible to have the structurer within other xml
like <root><structurer/></root>. Moved helper classes to the dispatcherHelper.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/DispatcherHelper.java
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java?rev=350221&r1=350220&r2=350221&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java (original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java
Thu Dec  1 02:21:35 2005
 <at>  <at>  -17,7 +17,6  <at>  <at> 
 package org.apache.forrest.dispatcher;

 import java.beans.Beans;
-import java.util.HashMap;

(Continue reading)

cdupoirieux | 2 Dec 11:48 2005
Picon

svn commit: r351671 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php: ./ conf/ lib/ resources/ resources/stylesheets/ resources/stylesheets/php/ src/ src/documentation/ src/documentation/content/ src/documentation/content/xdo...

Author: cdupoirieux
Date: Fri Dec  2 02:47:48 2005
New Revision: 351671

URL: http://svn.apache.org/viewcvs?rev=351671&view=rev
Log:
Add of a very first version of an output plugin to integrate php calls.
This is very useful to generate skinned pages from a DataBase for instance. 
(cf. http://cyriaque.dupoirieux.free.fr/livres/livres.php where several requests to my DB creates a virtual library of books I have read or I will soon read.
In this page, php is used to :
- Request the DB to find books,
- Request Amazon Web Services in order to get books picture, title, authors, number of page and so on...)

I still have the two following problems :
- first, it seems the plugin takes lots of resources (memories and CPU) I realised this using the Cocoon Profiler.
- second, the generated pages (extension php) are not recognised as selected in the skinned page (the minitoc is not selected)

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/build.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/conf/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/forrest.properties
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/forrest.properties.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/lib/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/lib/readme.txt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/output.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/resources/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/resources/stylesheets/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/resources/stylesheets/php/
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.php/resources/stylesheets/php/document2php.xsl
(Continue reading)

thorsten | 2 Dec 12:00 2005
Picon

svn commit: r351678 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya: ./ xml/DocumentHelper.java xml/NamespaceHelper.java

Author: thorsten
Date: Fri Dec  2 03:00:34 2005
New Revision: 351678

URL: http://svn.apache.org/viewcvs?rev=351678&view=rev
Log:
Moved lenya classes. Background:

El vie, 02-12-2005 a las 13:21 +1100, David Crossley escribió:
But shouldn't they have o.a.forrest package names?
> 
> Otherwise we get a clash when we try to integrate
> Lenya later (depending how we do that integration).
> 

Added:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/
      - copied from r349923, forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/lenya/
Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/xml/DocumentHelper.java
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/xml/NamespaceHelper.java

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/xml/DocumentHelper.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/xml/DocumentHelper.java?rev=351678&r1=349923&r2=351678&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/xml/DocumentHelper.java (original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/lenya/xml/DocumentHelper.java
Fri Dec  2 03:00:34 2005
(Continue reading)

thorsten | 2 Dec 12:01 2005
Picon

svn commit: r351679 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/lenya/

Author: thorsten
Date: Fri Dec  2 03:01:18 2005
New Revision: 351679

URL: http://svn.apache.org/viewcvs?rev=351679&view=rev
Log:
removed the original location of lenya classes

Removed:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/lenya/


twilliams | 2 Dec 21:04 2005
Picon

svn commit: r351826 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher: ContractBean.java DispatcherHelper.java transformation/DispatcherTransformer.java util/SourceUtil.java

Author: twilliams
Date: Fri Dec  2 12:04:08 2005
New Revision: 351826

URL: http://svn.apache.org/viewcvs?rev=351826&view=rev
Log:
Fix some packaging troubles.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/DispatcherHelper.java
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/util/SourceUtil.java

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java?rev=351826&r1=351825&r2=351826&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java (original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/src/java/org/apache/forrest/dispatcher/ContractBean.java
Fri Dec  2 12:04:08 2005
 <at>  <at>  -29,7 +29,7  <at>  <at> 
 import javax.xml.transform.dom.DOMSource;

 import org.apache.avalon.framework.service.ServiceManager;
-import org.apache.lenya.xml.NamespaceHelper;
+import org.apache.forrest.dispatcher.lenya.xml.NamespaceHelper;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
(Continue reading)

crossley | 3 Dec 06:48 2005
Picon

svn commit: r351897 - /forrest/trunk/site-author/content/xdocs/guidelines.xml

Author: crossley
Date: Fri Dec  2 21:48:06 2005
New Revision: 351897

URL: http://svn.apache.org/viewcvs?rev=351897&view=rev
Log:
Commence a section for "Development procedure".
Links to relevant email discussions. Need to harvest the decisions.

Modified:
    forrest/trunk/site-author/content/xdocs/guidelines.xml

Modified: forrest/trunk/site-author/content/xdocs/guidelines.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/guidelines.xml?rev=351897&r1=351896&r2=351897&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/guidelines.xml (original)
+++ forrest/trunk/site-author/content/xdocs/guidelines.xml Fri Dec  2 21:48:06 2005
 <at>  <at>  -624,6 +624,55  <at>  <at> 

   </section>

+  <section id="develop">
+    <title>Development procedure</title>
+
+<note>
+  This section is still under development. The issues have been discussed
+  on the mailing list. Decisions need to be put into words, so that we do
+  not need to revisit the topic.
+</note>
+
(Continue reading)

crossley | 3 Dec 06:59 2005
Picon

svn commit: r351898 - in /forrest/site: guidelines.html guidelines.pdf

Author: crossley
Date: Fri Dec  2 21:58:56 2005
New Revision: 351898

URL: http://svn.apache.org/viewcvs?rev=351898&view=rev
Log:
Commence new section "Development procedure".

Modified:
    forrest/site/guidelines.html
    forrest/site/guidelines.pdf

Modified: forrest/site/guidelines.html
URL: http://svn.apache.org/viewcvs/forrest/site/guidelines.html?rev=351898&r1=351897&r2=351898&view=diff
==============================================================================
--- forrest/site/guidelines.html (original)
+++ forrest/site/guidelines.html Fri Dec  2 21:58:56 2005
 <at>  <at>  -237,6 +237,9  <at>  <at> 
 <li>
 <a href="#code">Code management</a>
 </li>
+<li>
+<a href="#develop">Development procedure</a>
+</li>
 </ul>
 </div> 

 <at>  <at>  -896,6 +899,60  <at>  <at> 
       This enables prompt patch application and eases the load on the individual
       committer. An interesting side-effect is that it encourages community growth.
(Continue reading)

crossley | 5 Dec 04:00 2005
Picon

svn commit: r353958 - /forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml

Author: crossley
Date: Sun Dec  4 19:00:29 2005
New Revision: 353958

URL: http://svn.apache.org/viewcvs?rev=353958&view=rev
Log:
The default value for build.work-dir was listed as "work",
but it is actually "work/${ant.project.name}"
The description for property "deploy.local.dir" says that relative
paths will be relative to ${bot.home}, but they are actually
relative to ${basedir}.
Suggested by: Richard Calmbach
Issue: FOR-751 item 13 and item 14

Modified:
    forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml

Modified: forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml?rev=353958&r1=353957&r2=353958&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml (original)
+++ forrest/trunk/site-author/content/xdocs/tools/forrestbot.xml Sun Dec  4 19:00:29 2005
 <at>  <at>  -379,7 +379,7  <at>  <at> 

               <td>Directory to temporarily hold working files</td>

-              <td>work</td>
+              <td>work/${ant.project.name}</td>

               <td>No</td>
(Continue reading)

crossley | 5 Dec 04:06 2005
Picon

svn commit: r353960 - /forrest/trunk/site-author/content/xdocs/docs_0_80/forrest-contract.xml

Author: crossley
Date: Sun Dec  4 19:06:38 2005
New Revision: 353960

URL: http://svn.apache.org/viewcvs?rev=353960&view=rev
Log:
Fix incorrect pathname.
Suggested by: Richard Calmbach
Issue: FOR-751 item 11

Modified:
    forrest/trunk/site-author/content/xdocs/docs_0_80/forrest-contract.xml

Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/forrest-contract.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs_0_80/forrest-contract.xml?rev=353960&r1=353959&r2=353960&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/forrest-contract.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/forrest-contract.xml Sun Dec  4 19:06:38 2005
 <at>  <at>  -71,7 +71,7  <at>  <at> 
           <code>site.xml</code> and <code>tabs.xml</code>
         </li>
         <li>Provide the skin configuation file in
-          <code>{projecthome}/skinconf.xml</code>
+          <code>{docroot}/skinconf.xml</code>
         </li>
       </ul> 
     </section> 


Gmane