You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Erik Abele <er...@codefaktor.de> on 2002/09/23 19:34:59 UTC

Re: [PATCH] build.xml

Joshua Slive wrote:
> André Malo wrote:
> 
>> This requires a patch of build.xml
>> - Because of reasons I really don't understand the processor otherwise
>>   runs out of memory (!?).
>> - sitemap.xml can't be validated any longer, because it's included as
>>   Entity
> 
> 
> I'll commit this, but I'm note entirely happy.  It seems like things 
> might be getting a little complex and fragile.  We may need to spend 
> some time simplifying and optimizing.

+1. IMO the last problem Andre discovered was also memory related. Seems 
Ant is eating memory :-) I ran into this some time ago; BTW when 
building the docs I can see three to four java/ant processes growing up 
to 90MB per process! No problem with 1gig ram but on a small desktop 
machine ?!? We should definitely optimize the build-process; perhaps 
serializing the ant task helps?

> 
> One thing we could do -- at least for the index pages -- is to change 
> the xml file to directly include the page-specific stylesheet and have 
> that stylesheet get what it needs from common.xsl with an include. 
> (Right now we have the reverse; every page includes common.xsl which in 
> turn includes the specific stylesheets.)  It seems to be a waste for 
> every page to need to process every stylesheet.
> 

++1, I will look into all this, but my time was very very limited the 
last days and will so for the next week. Hmmm, I don't know exactly when 
I'm getting to this :-( I'm just having enough time to roughly keep up 
with the mails :-(

Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [PATCH] build.xml

Posted by Joshua Slive <jo...@slive.ca>.
Erik Abele wrote:
> Joshua Slive wrote:
>> One thing we could do -- at least for the index pages -- is to change 
>> the xml file to directly include the page-specific stylesheet and have 
>> that stylesheet get what it needs from common.xsl with an include. 
>> (Right now we have the reverse; every page includes common.xsl which 
>> in turn includes the specific stylesheets.)  It seems to be a waste 
>> for every page to need to process every stylesheet.
>>
> ++1, I will look into all this, but my time was very very limited the 
> last days and will so for the next week. Hmmm, I don't know exactly when 
> I'm getting to this :-( I'm just having enough time to roughly keep up 
> with the mails :-(

Unfortunately, on further thought, this seems like a difficult thing to 
do.  I can't think of any way of splitting off pages into different base 
stylesheets without having to duplicate each of these stylesheets across 
the different languages.  Grrr...  It might be worth it anyway.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org