forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <>
Subject Re: Cocoon crawler and not directly linked ressources (was Re: playing with v2)
Date Wed, 02 Nov 2005 11:25:27 GMT
El mié, 02-11-2005 a las 11:15 +0000, Ross Gardler escribió:
> Thorsten Scherler wrote:
> > El mié, 02-11-2005 a las 10:20 +0000, Ross Gardler escribió:
> > 
> >>Thorsten Scherler wrote:
> >>
> >>>El mié, 02-11-2005 a las 01:11 -0800, Diwaker Gupta escribió:
> >>>
> >>>
> >>>>On Tuesday 01 November 2005 6:04 am, Ross Gardler wrote:
> >>>>
> >>>>
> >>>>>>I started playing around with v2 today. After a little tweaking,
I had my
> >>>>>>own skin working in v2. There will be a live deployment on my
home page
> >>>>>>( sometime today or tomorrow :-)
> >>>>>
> >>>>>I look forward to that :-))
> >>>>
> >>>>Just FYI: its online now on my homepage. The design remains the same,
> >>>>course. A few things:
> >>>>
> >>>>o My main CSS stylesheet does an @import on another CSS stylesheet, that

> >>>>rightfully lives under themes/themename/css/ -- however, on a build,
> >>>>does not copy this CSS file. It only copies the files that are explicitly

> >>>>references in *.fv (atleast this is the behavior I'm seeing). IMHO the

> >>>>default behavior is the Forrest copies over everything under the css/

> >>>>directory of the user.
> >>>
> >>>
> >>>That was an ant target that needs tweaking for the new themes.
> >>>Everything referenced directly will be crawled that is why it got
> >>>created.
> >>
> >>+1, the same is true of script resources in plugins, I guess it will be 
> >>true for contracts too, see
> >>
> > 
> > 
> > The problem may be solved for jscripts and existing css by modifying the
> > ant target, but it is not for dynamic generated css and jscripts. IMO we
> > need to have a closer look on the cocoon crawler to "teach" him to crawl
> > dynamic included resources as well. See the round-corner thread where
> > the problem cannot be solved by "just" copying stuff.
> The Jscripts issue does not occur in a dynamic environment as Cocoon 
> knows how to find the scripts and serves them when requested. 

That is what I said in the other thread.

> It is 
> suffficient just to use an Ant copy for those as we currently do for 
> static resources. I suspect that is the case for CSS as well.

No, look at the round-corner issue. With multiple color profiles which
are generated dynamically (determined by the *.fv) it is not that simple
as copying the css because there is no static css. In forrest run that
is no problem because it got resolved on demand but in static that is a
different story.


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

View raw message