forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: Cocoon crawler and not directly linked ressources (was Re: playing with v2)
Date Wed, 02 Nov 2005 11:15:37 GMT
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
>>>>>>( sometime today or tomorrow :-)
>>>>>I look forward to that :-))
>>>>Just FYI: its online now on my homepage. The design remains the same, of 
>>>>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, Forrest

>>>>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
>>+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. 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.


View raw message