Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6612

HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Scripting Sightly Engine 1.0.18
    • Scripting
    • None

    Description

      HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository because the current implementation of the JavaUseProvider does not take into account the timestamps of the .java and .class files (and relies on ResourceChangeListener to track updates to the Java classes in the repo).

      I have attached a patch with a test that reproduces the issue.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            radu Radu Cotescu
            vladb Vlad Bailescu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment