1. unzip scripts.zipbuild the ime/Trunk/webscript-lib project. This is the java class backing our alfresco webscript
2. put all the scripts in ime/Trunk/webscript and the ime/Trunk/webscript-lib/target/ThaliaWebscript.jar in a zip file
3. scp the zip to the alfresco server (cms-proto-th2 in dev, isda-thalia12 in test)
4. unzip the zip file on alfresco server
52. move thaliagroup-context.xml to alfresco's /tomcat/shared/classes/alfresco/extension directory on the server. This is the webscript Spring config file
63. move ThaliaWebscript.jar to alfresco's tomcat\webapps\alfresco\WEB-INF\lib on the server. This is the java class backing the webscripts.
74. move group* to alfresco's tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts on the server. Those are the actual webscripts.
85. rename tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/xml.status.ftl to xml.status.ftl.bak
69. move xml.status.ftl in the zip to tomcat tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts webscripts. This is the webscript error result template.
107. modify /tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties and add
log4j.logger.edu.mit.thalia.webscript=info8. stop info
This will log our java class messages to alfresco.log
11. stop and restart alfresco
8. type 12. To verify the setup is complete, type in http://servername/alfresco/service/groups/[domainname] and it should list all the groups in the domain
...
1. put the script thaliasync.pl in the zip archive somewhere on the alfresco server and make it executable
2. install the perl log4perl module by doing:perl -MCPAN -e "install Log::Log4perl"
3. run the script once to make sure that it runs and check the log file /home/thaliasync.log
4. schedule it in the crontab0 crontab
0 * * * * /home/thalia/scripts/thaliasync.pl
It will run every hour