I'm forwarding this to the [email protected] just in case.

But if you're interested in developing with Nuxeo, you should subscribe to [email protected], as developer-oriented messages go there.

Florent

Begin forwarded message:
From: Florent Guillaume <[email protected]>
Date: 17 April 2009 16:07:13 CEDT
To: Nuxeo-Dev List <[email protected]>
Subject: [Nuxeo-dev] Code reorganization in mercurial

Hi all,

We have now completed the reorganization of the mercurial repositories for Nuxeo 5.2.

What changed:
- new repositories:
  - nuxeo-dm
  - nuxeo-services
  - nuxeo-features
  - nuxeo-jsf
- nuxeo-platform is gone (split into nuxeo-services and nuxeo- features), - some nuxeo-webengine packages have moved to nuxeo-jsf and nuxeo- features
- some nuxeo-theme packages have moved to nuxeo-jsf and nuxeo-features
- nuxeo-dm now contains all the "webapp"-related packages
- part of nuxeo-webapp-core has been moved to nuxeo-jsf/nuxeo- platform-webapp-base

The new nuxeo-features is a move of the old nuxeo-platform repository, so all the history for it is still there. Note that we have kept a nuxeo-platform in hg, but it's there only for 5.1. If you attempt to push a 5.2 changeset you will get an error.

Very few maven artifacts have been renamed, they all keep their groupId and artifactId except for these artifactIds: - nuxeo-webengine-wiki -> nuxeo-platform-wiki-webengine (now in features, groupId org.nuxeo.ecm.platform)
- nuxeo-webengine-wiki-jsf -> nuxeo-platform-wiki-jsf (idem)
I think that's all.

The stable addons will be moved one by one into nuxeo-features in the coming days.

With this reorganization, there is a much stricter dependency among the following repositories. You can now build in order, without having built the next ones:

A. framework/services:

1. nuxeo-common

2. nuxeo-runtime

3. nuxeo-core

4. nuxeo-services

B. UI toolkits:

5. nuxeo-theme

6. nuxeo-webengine

7. nuxeo-jsf

C. modules/addons/features/whatever:

8. nuxeo-features

D. full applications:

9. nuxeo-dm

10. nuxeo-shell (could probably move elsewhere)

E. standard packaging:

11. nuxeo-distribution


I would advise you to create Working Sets along those groups and in this order in Eclipse if you want a clean view. You should be able to close all the modules from a given number in the list above and have all the ones with smaller numbers continuing to be green in Eclipse.

I'll update the Nuxeo wiki explaining how to do a checkout in a few minutes. http://doc.nuxeo.org/xwiki/bin/view/FAQ/DownloadingNuxeoSources


A related changed was slipped in at the same time, while we were editing all these POMs: All <packaging>ejb</packaging> has been removed. So all <type>ejb</type> when referring to Nuxeo packages has been removed as well. So in all your POMs, for addons or third-party projects, you should remove any <type>ejb</type> when referring to Nuxeo projects.

I'll send updates if we've forgotten something.

Florent


On 16 Apr 2009, at 11:23, Tiry wrote:
Hi,

As Florent already announced we are going to do a code reorganization in hg.
Here are some informations about it.

Objectives :
============
- fix circular dependecies issues
- extract UI toolkits to make them easily usable
- make code layout more in phase with hight level NXP presentation

Constraints :
=============
As we are in RC Phase, the code reorg will occur as much as possible without any impacting renaming.
This means :
- no java package renaming
- no (or few) maven artifact renaming
- no NXRuntime components/services renaming

Target Layout :
===============

nuxeo-runtime :
---------------
unchanged

nuxeo-core :
------------
Probably unchanged.

nuxeo-services :
----------------
This maven group is a subset of what is currently in nuxeo-platform.
We will put here all the services and components that can be dependecies of the UI toolkits and provide infrastructure for the upper layers.
This typically includes :
- Directories
- UserManager
- Action Service
- MimeTypes service
- WebCommon
- Placeful service
- ...

Basically the services found here are more infrastructure services than ecm services.

nuxeo-themes :
--------------
This group will contains the current Nuxeo-Themes infrastructure.
Specific integration with ui-toolkits (jsf and webengine) will be moved to the toolkit groups.

nuxeo-jsf :
-----------
This group will contains the JSF toolkit for Nuxeo.
This group includes ui-web and probably a part of webapp-core.
NXThemes / JSF integration will be part of this group.

nuxeo-webegine :
----------------
This group will contains the WebEngine infrastructure.
Web applications using WebEngine (sites, wiki ...) will be moved to features.
NXThemes/WebEngine integration will be part of this group.

nuxeo-gwt :
-----------
Will probably remain unchanged.

nuxeo-features :
----------------
This maven group will be a merge of nuxeo-platform and addons.
This group will hold all the ecm features organized with parent poms like this is the case in Addons.
Target layout is :
nuxeo-features
nuxeo-someSuperFeature
   nuxeo-someSuperFeature-api
   nuxeo-someSuperFeature-facade
   nuxeo-someSuperFeature-core
   nuxeo-someSuperFeature-jsf
   nuxeo-someSuperFeature-webengine
nuxeo-someOtherSuperFeature
   nuxeo-someOtherSuperFeature-api
   nuxeo-someOtherSuperFeature-facade
   nuxeo-someOtherSuperFeature-core
   nuxeo-someOtherSuperFeature-jsf
   nuxeo-someOtherSuperFeature-webengine

nuxeo-incubator :
-----------------
This repo will hold the nuxeo-features that are in incubator stage.
Some of the packages currently in Addons will go here.

nuxeo-dm :
-------------------
This group will contains the UI code and config that is specific to Nuxeo-DocumentManagagement distribution.
As a first step, this will be a subpart of current webapp-core.

When ? :
========
We will start the work today and hope to have setup the new layout before the end of the day.
Please try to commit all your work before noon.

Reorg will be done a a separated copy of hg repositories.

We will send a mail when reorg is over.

Next steps :
============
Next steps include :
- writing a small documentation about source and package layout
- redesign web access to the sources and the pre-build features (addons)
_______________________________________________
Nuxeo-dev mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/nuxeo-dev

--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to