You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2006/07/18 22:49:36 UTC

RE: James website update

Stefano Bagnara wrote:

> Noel J. Bergman wrote:
> > What is the difference in size between the anakia generated site
> and the maven 2 generated site?  Only for JAMES, not counting jSPF.

> Do you want to know the site of the generated html page or the site used 
> by the whole site once generated?

I want to know how much bigger the Maven generated site is than the anakia generated site.  Historically, Maven generated sites have been huge pigs.  That doesn't appear to be the case here, but I do want to quantify the impact, since the generated site, including javadoc, is stored in Subversion.

I asked for JAMES sans jSPF because we didn't have an anakia version of the jSPF site.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: James website update

Posted by Stefano Bagnara <ap...@bago.org>.
Noel J. Bergman wrote:
> I want to know how much bigger the Maven generated site is than the anakia generated site.  Historically, Maven generated sites have been huge pigs.  That doesn't appear to be the case here, but I do want to quantify the impact, since the generated site, including javadoc, is stored in Subversion.
> 
> I asked for JAMES sans jSPF because we didn't have an anakia version of the jSPF site.

Maven uses doxia to generate html from xdocs. It is not so different 
from what anakia does. In fact, the generated html are almost the same 
size (+/- 10%).

The different in size for the total website is mainly due to javadocs 
and xrefs, and to any additional page/report we decide to include.

Furthermore my latest skin include a total of 10KB of css and 100KB of 
images, but this can be optimized to be 5KB removing unused css 
declaration and removing unused images the size of the image folder 
should not be more than 15KB (+ 6-7 kb for each project logo)

Currently I have to put a copy of css and images folders inside each 
subproject folder, maybe there is a workaround for this (or most 
probably a good way to handle common look between multiple project sites)

If I will find the time I'll try to create a maven2 skin package for 
"james-skin", but this is not so important for the final result.

Currently my goal is to revamp all of the james sites (even mime4j, 
jSieve, and maybe create a stub for Postage) and create instruction and 
a proposal to replace the current site.

My first test of the above setup, excluding all project reports and 
including main james site, server, jspf, mime4j, jsieve (a single page 
for this) is 2.2MB (where 110KB * 5 sites => 550KB are css/images).

I did much more than I expected to do on the website issue (was not in 
my goals) so I would like at least to solve this issue before my 
holidays (7-25 august), otherwise I'll forgot what I was doing, and 
september I'm always more busy.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org