Hi all,

I'm about to implement the JCR-227 proposal of moving Jackrabbit core to a
subdirectory of the current trunk directory. See JCR-227 for the rationale and
discussion about this change.

I will (finally) commit the change on Thursday at about 12:00 GMT. Subversion
should handle the move rather well, but you might want to be prepared if you
have many uncommitted changes or a heavily customized build environment. The
easiest way to adapt is to just get a fresh svn checkout after the change has
been committed.

The exact changes I will be making are:

    svn checkout https://svn.apache.org/repos/asf/incubator/jackrabbit/trunk
    cd trunk
    svn mkdir jackrabbit
    for DIR in `ls | grep -v jackrabbit | grep -v contrib`; do
        svn move $DIR jackrabbit
    done
    # edit the README.txt and other documents accordingly
    svn commit -m 'JCR-227: Move the main project module to a subdirectory'

I'd also like to use the opportunity to migrate to the Maven 2 standard
directory structure. This should simplify an eventual Maven 2 transition and
reduce the number of directory restructurings required. So, if nobody objects,
I will make the following changes right after the above commit:

    cd jackrabbit
    svn mkdir src/main
    svn move src/java src/main/java
    svn move src/conf src/main/config
    svn move src/grammar src/main/javacc
    svn mkdir src/test/java
    svn move src/test/org src/test/java/org
    svn move xdocs src/site
    # update the documentation and Maven 1 configuration accordingly
    svn commit -m 'Migrate to the Maven 2 standard directory layout'

BR,

Jukka Zitting

Reply via email to