You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Thorsten Scherler <th...@apache.org> on 2006/08/09 01:29:21 UTC

Re: [jira] Commented: (FOR-799) remove all references from the core to the dispatcher

El mar, 08-08-2006 a las 06:15 -0700, Cyriaque Dupoirieux (JIRA)
escribió:
>     [ http://issues.apache.org/jira/browse/FOR-799?page=comments#action_12426562 ] 
>             
> Cyriaque Dupoirieux commented on FOR-799:
> -----------------------------------------
> 
> What about the $FORREST_HOME/main/webapp/resources/stylesheets/variable.helper.xsl file ?
> It is referenced in the locationmap-transforms.xml (main/webapp) and is not used but by the dispatcher.
> 
> Shouldn't we move it to $FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper
> And reference it in locationmap of the dispatcher.
> 
> (If Ok, I'll do it)

I have done this. 

Thanks Cyriaque for the feedback.

salu2
> 
> > remove all references from the core to the dispatcher
> > -----------------------------------------------------
> >
> >                 Key: FOR-799
> >                 URL: http://issues.apache.org/jira/browse/FOR-799
> >             Project: Forrest
> >          Issue Type: Sub-task
> >          Components: Core operations, Dispatcher (aka views)
> >            Reporter: Thorsten Scherler
> >
> > They should be no direct references in the core for the dispatcher.
> > This should be done with the new plugin system forrest.properties.xml.
> 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [jira] Commented: (FOR-799) remove all references from the core to the dispatcher

Posted by Thorsten Scherler <th...@wyona.com>.
El mié, 09-08-2006 a las 01:29 +0200, Thorsten Scherler escribió:
> El mar, 08-08-2006 a las 06:15 -0700, Cyriaque Dupoirieux (JIRA)
> escribió:
> >     [ http://issues.apache.org/jira/browse/FOR-799?page=comments#action_12426562 ] 
> >             
> > Cyriaque Dupoirieux commented on FOR-799:
> > -----------------------------------------
> > 
> > What about the $FORREST_HOME/main/webapp/resources/stylesheets/variable.helper.xsl file ?
> > It is referenced in the locationmap-transforms.xml (main/webapp) and is not used but by the dispatcher.
> > 
> > Shouldn't we move it to $FORREST_HOME/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper
> > And reference it in locationmap of the dispatcher.
> > 
> > (If Ok, I'll do it)
> 
> I have done this. 
> 
> Thanks Cyriaque for the feedback.

One thing more, till now we have foo.xml as generated file. We have to
change this to cocoon://module.project.properties. Then we need to copy
the returned properties into the properties again (changing the above
mentioned stylesheet). 

This way all (not yet possible see the forrestConf discussion)
properties are available in the contract. :)

The only thing is that dispatcher then has yet another dependency (yad)
to the  org.apache.forrest.plugin.output.inputModule.

It is time to look into plugin dependencies. The following link may be
interesting because it shows how lenya is handeling module (comparable
to plugins) dependencies.

http://svn.apache.org/viewvc/lenya/trunk/src/targets/modules-build.xml?view=markup

salu2

> 
> salu2
> > 
> > > remove all references from the core to the dispatcher
> > > -----------------------------------------------------
> > >
> > >                 Key: FOR-799
> > >                 URL: http://issues.apache.org/jira/browse/FOR-799
> > >             Project: Forrest
> > >          Issue Type: Sub-task
> > >          Components: Core operations, Dispatcher (aka views)
> > >            Reporter: Thorsten Scherler
> > >
> > > They should be no direct references in the core for the dispatcher.
> > > This should be done with the new plugin system forrest.properties.xml.
> > 
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org