在Intershop 7.9项目中,我目前正在处理的开发服务器似乎没有监视ISML文件的变化。这意味着在看到任何ISML更改之前,必须进行墨盒重建。在我以前做过的项目(IS7.5、7.6、7.7)中,这是不必要的,仅仅保存ISML文件就足够了。
感觉好像我错过了一些很简单的东西,但我似乎想不出来。到目前为止,我已经尝试了以下几点,但都没有成功:
gradlew deployServergradlew enableHotCodeReloading来启用热代码重新加载。GRADLE_USER_HOME中的GRADLE_USER_HOME文件,我希望看到的所有墨盒都被列为sourceCartridges。environment.properties文件,据我所见,该文件中没有任何属性可以用于实时代码重新加载。任何关于如何解决这一问题的建议都将不胜感激。
发布于 2017-12-10 06:04:16
据我所知,appserver.properties中有一些相关的属性。我偶然在谷歌上搜索过:
# 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现在尝试使用以下值:
intershop.template.CheckSource=true
intershop.template.CheckSourceInterval=0
intershop.template.CheckSourceModified=true我认为,如果您不想放松对服务器重新部署的更改,那么可以将上面的代码片段放入一个名为development.properties的文件中,该文件位于与appreserver.properties相同的目录中。
发布于 2017-12-10 06:09:30
确保在checksource中设置了必要的appserver.properties属性。在您的示例中,模板的设置需要设置为true。
https://stackoverflow.com/questions/47731645
复制相似问题