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

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

    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

        1. SLING-6612-test.patch
          4 kB
          Vlad Bailescu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: