Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get the Roller source code

Read the instructions on Roller Source Code Access to find out how to get the source packages for a release or to get the latest source code directly from the source repositoryYou can do this by downloading a source release from http://roller.apache.org/downloads/downloads.html or by getting source code from Subversion.

Example: get very latest Roller source into a directory called roller_trunk

No Format

   % svn checkout https://svn.apache.org/repos/asf/roller/tags/roller_4.0.1 roller

Under the roller_trunk directory, here's how the code is layed out:

No Format

   apps/weblogger   - Roller Weblogger source code
   apps/planet      - Roller Planet source code
   components/core  - Roller "Core" or shared code
   tools            - Dependencies

...

If you don't have Ant then you can use the UNIX build.sh or Windows build.bat build script. It uses the version of Ant that is bundled with the Roller source. For example, to build Roller Weblogger:

On UNIX:

No Format

   % cd roller_trunk/apps/weblogger
   % ant dist

On Windows:

No Format

   C> cd roller_trunk\\apps\\weblogger
   C> ant dist

...

Currently, unit tests run using mock contexts and use HSQLDB for the test database. They do not require actual container deployment, and can be run as soon as you have completed a full build. To run the tests, use the Ant target "tests". Using the build script this is invoked by running

No Format

   % ant tests

or

No Format

   C> ant tests

This will leave HTML test reports in files in directories under build/reports.

...