2017-12-09 12 views
2

Intershop 7.9 프로젝트에서 현재 개발 서버에서 작업 중이며 변경 사항을 ISML 파일로 모니터링하지 않습니다. 즉, ISML 변경 사항을 확인하기 전에 카트리지를 다시 작성해야합니다. 이전 프로젝트에서 ISQL 파일을 저장하는 것만으로 충분했습니다. (ISH 7.5, 7.6, 7.7) 이것은 필요하지 않았습니다.ISML 템플릿의 라이브 리로딩

나는 정말 간단한 것을 놓치고있는 것처럼 느껴진다. 그러나 나는 그것을 알아낼 수 없다. 지금까지 성공하지 못한 채로 다음을 시도했습니다.

  1. 페이지 캐싱이 비활성화되었는지 확인했습니다.
  2. 명령을 실행하여 서버를 다시 배포 : gradlew enableHotCodeReloading : gradlew deployServer
  3. 명령을 실행하여 다시로드 핫 코드를 사용합니다.
  4. GRADLE_USER_HOME에있는 gradle.properties 파일을 확인하면 내가 볼 것으로 예상되는 모든 카트리지가 sourceCartridges로 나열됩니다.
  5. environment.properties 파일을 확인했는데이 파일에는 라이브 코드를 다시로드하기위한 모든 기능을 수행 할 수있는 속성이 없습니다.
  6. Intershop Studio를 다시 설치했습니다.

이 문제를 해결하는 방법에 대한 제안은 크게 감사하겠습니다.

답변

4

내가 알고있는 한, 관련 성질은 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 

난 당신이 서버 재배포에 대한 변경 사항을 느슨하게하지 않으려면 다음 위의 조각을 넣을 수 있다고 생각 나는 우연히이 봤했습니다 appreserver.properties과 같은 디렉토리에있는 development.properties 파일에 저장하십시오.

+0

고마워요! 그것은 예상대로 작동합니다. –

3

checksource 속성이 appserver.properties에 설정되어 있는지 확인하십시오. 귀하의 경우에는 템플릿 설정을 true로 설정해야합니다.