You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2017/05/09 12:04:04 UTC
[jira] [Closed] (SLING-6612) HTL/Sightly sometimes fails to
recompile an updated Java POJO located in the repository
[ https://issues.apache.org/jira/browse/SLING-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu closed SLING-6612.
-------------------------------
> HTL/Sightly sometimes fails to recompile an updated Java POJO located in the repository
> ---------------------------------------------------------------------------------------
>
> Key: SLING-6612
> URL: https://issues.apache.org/jira/browse/SLING-6612
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Sightly Engine 1.0.18
> Reporter: Vlad Bailescu
> Assignee: Radu Cotescu
> Priority: Critical
> Fix For: Scripting HTL Engine 1.0.34
>
> Attachments: SLING-6612-test.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)