AnsweredAssumed Answered

Extender evaluator.lib.js

Question asked by cybermakoki on Dec 20, 2011
Latest reply on Feb 1, 2013 by eljuaner
Hola!

Estoy haciendo unos cambios en las acciones de Alfresco Share y he tenido que modificar el fichero evaluator.lib.js que está en:


$ALF_HOME$/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary

he intentado extenderlo en:

$ALF_HOME$/tomcat/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary

pero nada, no hay manera, no pilla los cambios… he visto que hay ficheros que hacen referencia a este fichero mediante classpath

<import resource="classpath:/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/evaluator.lib.js">

he probado a cambiarlo pero casca!!

11:02:41,778  DEBUG [repo.jscript.RhinoScriptProcessor] Resolving and compiling script path: file:/opt/alfresco34/tomcat/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js
11:02:41,779  DEBUG [repo.jscript.RhinoScriptProcessor] Found script resource import: classpath:/alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/evaluator.lib.js
11:02:41,782  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11200001 Wrapped Exception (with status template): 11200021 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': null
org.springframework.extensions.webscripts.WebScriptException: 11200001 Wrapped Exception (with status template): 11200021 Failed to execute script 'classpath*:alfresco/extension/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': null


alguna idea??

Gracias :)

Outcomes