Updated: added sub module instructions for Git.
I've talked in the past about providing support for truly modular applications, and I'm pleased to announce that you can now access the early prototype code of SpringSource Slices.
Building and Installing
You can access the source code from our Git repository:
git clone git://git.springsource.org/slices/slices.git
git submodule init
git submodule update
To build a packaged version of Slices simply run ant clean jar package from the build-slices directory:
cd slices/build-slices
ant clean jar package
This will result in a zip file in target/artifacts that contains the Slices subsystem which can then be installed on top of dm Server 2.0
Installing Slices is simply a matter of adding the new subsystem to dm Server and then updating dmServer's profile to start the new subsystem. Slices should work with any recent dm Server 2.0 snapshot build. Here I'm using 2.0.0.CI-R326-B274 which I've already downloaded and unzipped on my desktop:
unzip target/artifacts/springsource-slices-BUILD-20090622083953.zip -d ~/Desktop/springsource-dm-server-2.0.0.CI-R326-B274
Next, dm Server's kernel.properties configuration must be updated to include the new slices subsystem. Open your dm Server installation's config/kernel.properties file, and edit the Profile Configuration section to list the slices subsystem and to give the profile a suitable name (I've called it slices):
#######################
# Profile Configuration
#######################
profile.name=slices…