实时重新加载ISML模板

Bas*_*oot 2 isml intershop

在Intershop 7.9项目中,我目前正在开发服务器上似乎没有监视ISML文件的变化.这意味着在查看任何ISML更改之前,必须进行盒式磁带重建.在以前的项目中我曾经做过(ISH 7.5,7.6,7.7),这是绝对必要的,只需保存ISML文件即可.

感觉我错过了一些非常简单的东西,但我似乎无法弄明白.到目前为止,我已经尝试了以下但没有成功:

  1. 确保禁用页面缓存.
  2. 通过运行以下命令重新部署服务器: gradlew deployServer
  3. 通过运行以下命令启用热代码重新加载:gradlew enableHotCodeReloading.
  4. 检查了gradle.properties位于的文件GRADLE_USER_HOME,我希望看到的所有墨盒都列为sourceCartridges.
  5. 检查environment.properties文件,据我所知,这个文件不包含任何可以为实时代码重新加载的属性.
  6. 重新安装了Intershop Studio.

任何有关如何解决这个问题的建议将不胜感激.

Lac*_*lev 6

据我记得,有一些相关的属性appserver.properties.我偶然用Google搜索了这些:

# perform a lookup and compile the ISML template, when it exists 
# and is newer than the cached version
intershop.template.CheckSource=false

# the time interval in seconds, after which a full lookup should be performed,
# if CheckSource is "true". 0 means every time
intershop.template.CheckSourceInterval=0

# should the last cached template location been checked for a newer version of the
# template, if CheckSource is "true"?
intershop.template.CheckSourceModified=false
Run Code Online (Sandbox Code Playgroud)

现在尝试使用以下值:

intershop.template.CheckSource=true
intershop.template.CheckSourceInterval=0
intershop.template.CheckSourceModified=true
Run Code Online (Sandbox Code Playgroud)

我认为,如果您不想在服务器重新部署时丢失更改,那么您可以将上面的代码段放入名为development.properties位于同一目录中的文件中appreserver.properties.