Tuesday, September 27, 2011

How to install Alfreso Bulk Import tool?

Alfresco Bulk Filesystem Import Tool just had 1.0 release. The following steps describe how to install it.

  1. Download the latest AMP file containing the tool from here
  2. Shutdown your Alfresco instance
  3. Make a backup of the original alfresco.war file. On Tomcat, this is located in ${ALFRESCO_HOME}/tomcat/webapps
  4. Use the Alfresco Module Management Tool to install the AMP file obtained in step 1
    1. Delete the tomcat work and temp directories - run "sudo /opt/alfresco-3.4.1/bin/clean_tomcat.sh"
    2. Remove the ~/tomcat/webapps/alfresco directory (make sure to backup any file you have modified in this directory)
    3. Preview - "/opt/alfresco-3.4.1/java/bin/java -jar /opt/alfresco-3.4.1/bin/alfresco-mmt.jar install /home/alfresco/alfresco-bulk-filesystem-import-1.0.amp /opt/alfresco-3.4.1/tomcat/webapps/alfresco.war -preview"
    4. Install - "/opt/alfresco-3.4.1/java/bin/java -jar /opt/alfresco-3.4.1/bin/alfresco-mmt.jar install /home/alfresco/alfresco-bulk-filesystem-import-1.0.amp /opt/alfresco-3.4.1/tomcat/webapps/alfresco.war"
  5. Restart Alfresco, watching the log carefully for errors
References
  1. http://code.google.com/p/alfresco-bulk-filesystem-import/
  2. http://code.google.com/p/alfresco-bulk-filesystem-import/wiki/Install
  3. http://wiki.alfresco.com/wiki/Module_Management_Tool

Friday, September 23, 2011

Where can I find Alfresco content model definition?

Alfresco content model definition can be found here http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/model/contentModel.xml