I think you need to build project per projet (server, mailbox,...) to have the whole web site. The explanation in james/project/trunk/HOWTO.txt sounds to me like it will only build the module of the project (I think these are from 2.x, so not completely applicable to 3.0 trunk). Always curious to know the result of your tests, so we can update the doc if needed.

The Mailets structure is remained untouched regarding web site: each module have site.xml and when you checkout, I think there is a special "aggregator" on svn side which helps, and gives you the needed mailet modules.

By the way, I understand your pain finding your way (I experienced also some difficulties). I came to the conclusion that this is a work in progress, taking into account the existing and coming requirements of the Apache Software Foundation regarding Content Management Systems, site deploy,...

Tks,
- Eric

On 24/02/2011 11:33, Felix Knecht wrote:
I'm sorry, I didn't expressed very well. What I meant is how to build the whole james.apache.org site, not just a project site. But I think I found it in the james/project/trunk/HOWTO.txt.

The problem is that when you have a multi-module project mvn site:stage doesn't seem to set/calculate links for submodules correct using maven2.

I appreciate the way it is solved in the Mailets project using a placeholders in the <distributionManagement> section. This way you can do a 'local' site-deploy and see if the links are working the way they should. Maybe other James projects can take over this pattern

Is this done on purpose not using the functionality of multi-modules when generating sites? Also the Mailets project doesn't makes use of this feature but hardcoding the links in the site.xml to the submodules.

Anyway, I'm getting closer to understand how it works.

Thanks
Felix

On 02/24/2011 11:19 AM, Eric Charles wrote:
Can you try with "mvn site" ?
Tks,
- Eric

On 24/02/2011 08:11, Felix Knecht wrote:
Hi all

Some more questions. Which is the right way to build a project or a
test site? Can somebody point me to the documentation about this? I
haven't found it :(.
E.g. to deploy documentation of imap it should do when
- svn co https://svn.apache.org/repos/asf/james/imap/trunk imap
- cd imap
- mvn site-deploy

But what is then https://svn.apache.org/repos/asf/james/site/trunk/ for?

Thanks
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to