Versions Compared

Key

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

...

Once you have extracted the Roller source code into a directory on your system, then open up a command prompt and cd to that 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

Set the environment variable JAVA_HOME to point to your JDK and then build Roller by using either the UNIX or Windows version of the build script. This script sets up the right classpath and calls Roller's Ant build script build.xml. The build shell script invokes the Ant that is in the tools subdirectory that comes with the Roller Subversion tree (or from extracting the tools file you downloaded). If you like to drive Ant from your IDE, you should set up to use the same Ant jar and classpath that is used by the shell script.

For example, to build Roller Weblogger:

On UNIX:

No Format

   % cd roller_trunk/apps/weblogger
   % chmod +x build.sh
   % build.sh all

On Windows:

No Format

   C> cd roller_trunk\\apps\\weblogger
   C> build all

This will build Roller and will stage the Roller web application into the apps/weblogger/build/roller subdirectory.

...