Documentation

SCAr to RAAr Dependencies

Check here for SCAr to RAAr dependencies

Javadoc

Current release

SCAr JavaDoc 1.0.3

Prior Releases


Installation

Downloading and Installing SCAr

  1. Download the current SCAr version here (both WAR and AMPs bundles)
  2. Install the Alfresco DM version that corresponds to the version of SCAr you downloaded (check the 'SCAr to RAAr Dependencies' section above)
  3. Unpack the AMPs bundle and install both AMPs into Alfresco (see Alfresco wiki for instructions)
  4. Install JBoss AS 4.2.2.GA to serve as the container for SCAr
  5. Unpack the SCAr war bundle and copy the war file into JBOSS_HOME/server/default/deploy (JBOSS_HOME is your JBoss AS root folder)
  6. If you're running both JBoss and Alfresco containers on the same machine, make sure they are not listening on the same port (both have the port 8080 as a default, so you'll need to change one of them)
  7. See 'Configuration' below to connect SCAr to Alfresco
  8. Start JBoss by running JBOSS_HOME/bin/run.sh
  9. Access http://localhost:8080/scar

Building and Running SCAr

  1. Install JBoss to a local folder (we'll call it JBOSS_HOME in this document).
  2. Create a file called deploy.<user>.properties in the SCAr source root folder, where <user> stands for the OS user name you are currently logged in as.
  3. Add the following line to the properties file:
        target_folder=JBOSS_HOME/server/default/deploy
    and replace JBOSS_HOME appropriately (look at step 1).
  4. In the SCAr project root run deploy.sh
  5. Start JBoss by running JBOSS_HOME/bin/run.sh
  6. Access http://localhost:8080/scar

For Non-Maven Build Environments

Just download and use the JARs (see Dependencies below).

Alfresco AMP Installation

Download the AMPs here and inject them into Alfresco following the instructions here.

Configuration

Create a file called "app-config.xml" on your app server's shared classpath (JBOSS_HOME/server/default/conf/) and add the following to it (replace the values to match your environment):

<repository-config>
    <repository-url>http://localhost:8080/alfresco</repository-url>
    <repository-public-url>http://localhost:8080/alfresco</repository-public-url>
    <repository-root-location>/app:company_home</repository-root-location>
    <std-folders-location>/app:company_home/app:dictionary/app:space_templates</std-folders-location>
</repository-config>

Note: The value for <repository-public-url> is used by the upload and download servlets since they are done directly against the Alfresco repository.

Known Issues

Check here for known issues.

Dependencies

The latest version of SCAr is dependent on the following jars:

  • acegi-security-0.8.3.jar
  • activation-1.0.2.jar
  • alfresco-core-2.2.1.jar
  • alfresco-repository-2.2.1.jar
  • antlr-runtime-3.0.jar
  • avalon-framework-4.1.3.jar
  • base64-1.0.0.jar
  • castor-1.2.jar
  • cma-api-1.9.0.jar
  • cma-impl-1.9.0.jar
  • commons-beanutils-1.7.0.jar
  • commons-codec-1.2.jar
  • commons-collections-3.2.jar
  • commons-digester-1.8.jar
  • commons-fileupload-1.2.1.jar
  • commons-httpclient-3.1.jar
  • commons-lang-2.4.jar
  • commons-logging-1.1.jar
  • commons-logging-api-1.0.4.jar
  • commons-pool-1.3.jar
  • dom4j-1.6.1-jboss.jar
  • drools-compiler-4.0.6.jar
  • drools-core-4.0.6.jar
  • el-api-1.0.jar
  • el-ri-1.0.jar
  • janino-2.5.10.jar
  • javassist-3.3.GA.jar
  • jboss-cache-1.4.1.GA.jar
  • jboss-el-2.0.0.GA.jar
  • jboss-el-2.0.1.GA.jar
  • jboss-seam-2.0.2.GA.jar
  • jboss-seam-debug-2.0.2.GA.jar
  • jboss-seam-ioc-2.0.2.GA.jar
  • jboss-seam-ui-2.0.2.GA.jar
  • jbpm-jpdl-3.2.2.jar
  • jsf-api-1.2_04-p02.jar
  • jsf-facelets-1.1.14.jar
  • jsf-impl-1.2_04-p02.jar
  • laguna-3.2.1.GA.jar
  • log4j-1.2.14.jar
  • logkit-1.0.1.jar
  • lucene-core-2.1.0.jar
  • mvel-1.2.24-java1.4.jar
  • richfaces-api-3.2.2.GA.jar
  • richfaces-impl-3.2.2.GA.jar
  • richfaces-ui-3.2.2.GA.jar
  • servlet-api-2.5.jar
  • spring-2.5.1.jar
  • spring-core-2.5.3.jar
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.