Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
das build-file für das wcms-modul bzw. die datei mycore.properties.wcms.template und die anleitung dazu im user-guide sollten nochmals überprüft, funktioniert so nicht, wenn man das tomcat-webapps-verzeichnis wirklich neu aufsetzt und die alten module-verzeichnisse löscht... zum beispiel soll das MCR.WCMS.navigationFile ja laut templatefile in $AppsServerDocumentRoot/webapps/modules/module-wcms/uif/web/common/navigation.xml liegen... aber wann wird es dahin kopiert?
folgender workaraound kopiert alle module-spezifischen dateien direkt nach $AppsServerDocumentRoot (dann fehlt sicher nichts...) man füge
das build-file für das wcms-modul bzw. die datei
mycore.properties.wcms.template und die anleitung dazu
im user-guide sollten nochmals überprüft, funktioniert
so nicht, wenn man das tomcat-webapps-verzeichnis
wirklich neu aufsetzt und die alten
module-verzeichnisse löscht...
zum beispiel soll das
MCR.WCMS.navigationFile
ja laut templatefile in
$AppsServerDocumentRoot/webapps/modules/module-wcms/uif/web/common/navigation.xml
liegen...
aber wann wird es dahin kopiert?
folgender workaraound kopiert alle module-spezifischen
dateien direkt nach $AppsServerDocumentRoot (dann fehlt
sicher nichts...)
man füge
MCR.WCMS.AppsServerDocumentRoot=/export/www/tomcat/
in
wcms.mycore.properties
ein
und im wcms-buildfile ersetze man
<!-- create WCMS working directories ant set
permissions -->
<loadproperties
srcFile="${basedir}/modules/module-wcms/aif/config/mycore.properties.wcms">
<filterchain>
<linecontains>
<contains value="MCR.WCMS."/>
</linecontains>
</filterchain>
</loadproperties>
<chmod file="${MCR.WCMS.navigationFile}" perm="644"/>
MIT
<!-- create WCMS working directories ant set
permissions -->
<loadproperties
srcFile="${basedir}/modules/module-wcms/aif/config/mycore.properties.wcms">
<filterchain>
<linecontains>
<contains value="MCR.WCMS."/>
</linecontains>
</filterchain>
</loadproperties>
<!-- workaraound -->
<copy
todir="${MCR.WCMS.AppsServerDocumentRoot}webapps/content">
<fileset
dir="${env.MYCORESAMPLE_HOME}/webapps/content" />
</copy>
<copy
todir="${MCR.WCMS.AppsServerDocumentRoot}webapps/modules">
<fileset
dir="${env.MYCORESAMPLE_HOME}/webapps/modules" />
</copy>
<!-- ende workaround -->
<chmod file="${MCR.WCMS.navigationFile}" perm="644"/>