Hi gustav,

You can manage the way the url is generated for this file inside the file :

WEB-INF/etc/spring/applicationcontext-basejahiaconfig.xml :

<bean id="groovyScriptEngine" class="groovy.util.GroovyScriptEngine">
       <constructor-arg>
           <list>
<value>file:///${jahiaWebAppRoot}/WEB-INF/var/scripts/groovy/</value>
               <value>file:///${jahiaWebAppRoot}/jsp/jahia/</value>
           </list>
       </constructor-arg>
   </bean>

Regards,
Cédric Mailleux

Gustav a écrit :
Hi ...
We have a problem with autoexport ...

I downloaded the jahia  5.0 sources from svn
http://svn.jahia.org/svn/jahia/branches/JAHIA-5-0-SP-BRANCH/
I compiled and installed jahia succesfully ...

Later we create a site and fill it with pages ....
In another PC we installed the same compiled jahia, create a site, and add
all tamplates from original site ...

Finally we try to export and we get the following errors:

2281734 [org.jahia.services.events.GroovyEventListener] ERROR - Error while
dispatching to Groovy script : EventListener.groovy
groovy.util.ScriptException: Could not parse script:
events/EventListener.groovy

....

Caused by: java.io.FileNotFoundException:
C:\tomcat-jahia-fix\bin\file:\C:\tomcat-jahia-fix\webapps\jahia\jsp\events\EventListener.groovy
(El nombre de archivo, directorio o etiqueta del volumen no es valido)

..

I see that jahia isn't generating Ok the file URL ...
can anybody help me with that ... we really need auto-export feature working
...
thanks in advance ...



Reply via email to