Re: [HEADS UP] contributor => svn reorg / namespaces / eclipse setup

Hi,
Thanks for the work :)
Infos :
- I did not have to remove my old database :)
- now the build.xml file to stick in your eclipse ant view is the one in 
org.nuxeo.ecm.webapp.
- If you change your workspace, *please* set up your formatters again : 
it took me 4 minutes :)

Julien Anguenot a écrit :
> Hi there,
> 
> Please, read carefully. It's important if you are a contributor
> 
> It's been a long night. We just finished the svn reorg announced in the
> evening. We actually did a little bit more as the 5.0 release is coming up.
> 
> ====================
> Here are the news :
> ====================
> 
>   Normalization and finalization of the org.nuxeo.ecm.* namespaces.
>   -------------------------------------------------------------------
> 
>    Including nuxeo runtime, nuxeo core, nuxeo platform and nuxeo ep the
> application. You can see this checking the root of the repository :
> 
>      http://svn.nuxeo.org/trac/nuxeo/browser/
> 
>  New semi-flat layout at the root of the nuxeo's repository for all
> namespaces
>  -----------------------------------------------------------
> 
>    I mean by semi-flat, the following :
> 
>    For instance for nuxeo core
> 
>    nuxep/org.nuxeo.ecm.core
> 
>                            /trunk
>                                    /api => nxcore-api.jar
>                                    /repository => nxcore.jar
>                                    /facade
>                                    /jcr-connector
>                                    /query
>                                    schema
>                            /branches
>                                    anguenot-core-xxx
>                                                      /api
>                                                      /repository
>                                                      ...
>                            /tags
>                                    nuxeo-ep-5.0
>                                                     /api
>                                                     /repository
>                                                     ...
> 
>    Note, each sub-directory is an independent eclipse project as it used
> to be
> 
>   Death to MixedCase
>     -------------------
> 
>     The component names are now lowercase, like in the svn repository.
> It means on the filesystem that names appeared like this :
> 
>    org.nuxeo.ecm.core.api instead of formerly NXCoreAPI
> 
>    We also changed all the Eclipse project name the same way.
> 
>    We also had to change all the ant scripts by hand because of course
> without any dependencies mangement but hardcoded fs paths you can't
> epect this to be esay.... Maven never complained during the whole
> process on the other hand... I hate ant...
> 
>  Full mavenization of eclipse classpath
>  ---------------------------------------
> 
>    - jboss-ide should be optional now.
> 
>    - direct dependencies in between eclipse's project for nuxeo
> components (ant not from a snapashot coming from the maven repository)
> 
> 
>  So now no more psf => bundle + maven
>  --------------------------------------------------
> 
>    Prerequisite :
> 
>       - Eclipse 3.2.X
>       - m2eclipse plugin >= 0.0.10
>       - jbsos ide plugin
>       - subversive plugin
> 
>    => see existing documentation for that (it should be a bit outdated
> right now)
> 
> http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.webapp/trunk/howto-install.txt
> 
>   How to to setupi your eclipse :
> 
>      Get the nuxep-ep bundle (location changed)
> 
>     - svn co https://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk
>     - mvn install <= IMPORTANT !!!
> 
>     - Laucnh eclipse
>     - windows -> preferences -> maven2 -> local repository tp specify +
> offline mode (faster)
> 
>     -> project -> import -> existing project into workspace -> select
> bundle on the file system (DO NOT ASK FOR COPY IN THE WOKRPACE) -> GO
> 
>     -> here you are. you should be fine to contribute now :)
> 
> =================
> RAF for release
> =================
> 
>  - ensure namespaces in Java sources
> 
>      -> remove .ec. in former platform.ec.*
>      -> change org.nuxeo.xmap => org.nuxeo.common.xmap
>      -> change maven artificat ids > no MixedCase and simplify
>      -> notmalize jar names (see nxworkflow for instance). It has ti be
> done really carefully since the deployment-fragment.xml ddo reference
> the jar name directly + some fun with ant.
> 
> 
> The ant installer and the application is working fine. We've been
> testing out.
> 
> Now, I guess you can generate an installer and test out the app.
> 
> gotta go to sleep. Tonite is Boobe nite in Paris so "il faut garder la
> pêche" ;)
> 
> Enjoy your week-end !
> 
> Cheers,
> 
> 	J.
> 
> P.S : Sorry for the spelling mistakes etc... I have really difficulties
> opening my eyes right now ;)
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ECM mailing list
> ECM@...
> http://lists.nuxeo.com/mailman/listinfo/ecm

--

-- 
Anahide Tchertchian, Nuxeo
Mail: at@... - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org

Gmane