View Source

{anchor:dependencies}

h1. SCAr to RAAr Dependencies

Check [here|SCAr:SCAr to RAAr Dependencies] for SCAr to RAAr dependencies

h1. Javadoc


h3. Current release

[SCAr JavaDoc 1.0.3|http://docs.rivetlogic.com/projects/scar/latest/javadocs/]

h3. [Prior Releases|SCAr:Prior Releases]

\\

h1. Installation

h3. Downloading and Installing SCAr

# Download the current SCAr version [here|SCAr:Downloads|SCAr Downloads] (both WAR and AMPs bundles)
# Install the Alfresco DM version that corresponds to the version of SCAr you downloaded (check the 'SCAr to RAAr Dependencies' section above)
# Unpack the AMPs bundle and install both AMPs into Alfresco (see [Alfresco wiki|http://wiki.alfresco.com/wiki/Module_Management_Tool] for instructions)
# Install JBoss AS 4.2.2.GA to serve as the container for SCAr
# Unpack the SCAr war bundle and copy the war file into JBOSS_HOME/server/default/deploy (JBOSS_HOME is your JBoss AS root folder)
# 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)
# See 'Configuration' below to connect SCAr to Alfresco
# Start JBoss by running JBOSS_HOME/bin/run.sh
# Access [http://localhost:8080/scar]

h3. Building and Running SCAr

# Install JBoss to a local folder (we'll call it JBOSS_HOME in this document).
# 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.
# Add the following line to the properties file:
&nbsp;&nbsp;&nbsp; target_folder=JBOSS_HOME/server/default/deploy
and replace JBOSS_HOME appropriately (look at step 1).
# In the SCAr project root run deploy.sh
# Start JBoss by running JBOSS_HOME/bin/run.sh
# Access [http://localhost:8080/scar]

h3. For Non-Maven Build Environments

Just download and use the JARs (see [Dependencies|#dependencies|Dependencies] below).

h3. Alfresco AMP Installation

Download the AMPs [here|SCAr:Downloads|downloads] and inject them into Alfresco following the instructions [here|http://wiki.alfresco.com/wiki/Module_Management_Tool].

h1. 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):
{panel}
<repository-config>
&nbsp;&nbsp;&nbsp;&nbsp;<repository-url>http://localhost:8080/alfresco</repository-url>
&nbsp;&nbsp;&nbsp;&nbsp;<repository-public-url>http://localhost:8080/alfresco</repository-public-url>
&nbsp;&nbsp;&nbsp;&nbsp;<repository-root-location>/app:company_home</repository-root-location>
&nbsp;&nbsp;&nbsp;&nbsp;<std-folders-location>/app:company_home/app:dictionary/app:space_templates</std-folders-location>
</repository-config>
{panel}
*Note:* The value for <repository-public-url> is used by the upload and download servlets since they are done directly against the Alfresco repository.

h1. Known Issues

Check [here|Known Issues] for known issues.

h1. 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