[
https://issues.apache.org/jira/browse/WICKET-3957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082454#comment-13082454
]
Todd Heaps commented on WICKET-3957:
------------------------------------
Per my original comment with this issue, we are dynamically referring to style
sheets and JavaScript files via IHeaderContributor.renderHead(). We modified
the quick start HomePage class, overriding the renderHead() method as in:
@Override
public void renderHead(IHeaderResponse response)
{
response.renderCSSReference(new CssResourceReference(HomePage.class,
"style.css"));
}
I had not uploaded the quick starts yet because I first wanted to test with
JBoss 6 and possibly 7. I'll upload them anyway, and add more for JBoss 6/7. As
I said, however, if I change out just Wicket 1.5 (and changing from use of
CssResourceReference to CompressedResourceReference for 1.4) , leaving
everything else the same (Eclipse included), the problem no longer occurs.
> PackageResource file locking problem
> ------------------------------------
>
> Key: WICKET-3957
> URL: https://issues.apache.org/jira/browse/WICKET-3957
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5-RC5.1
> Environment: Windows 7, JBoss 5.1.0.GA, Eclipse Helios/Indigo
> Reporter: Todd Heaps
>
> After moving from 1.4.x to 1.5-RC5.1, updates to resources loaded via
> IHeaderContributor.renderHead() cause file and/or directory locking problems
> on individual files and/or at the base package directory level. The resulting
> locking problems disallow changes to resources without stopping the server,
> followed by a project refresh, rebuild, and server restart. This obviously
> slows down development time quite severely.
> Comparable quick starts generated from 1.4.17 and 1.5-SNAPSHOT demonstrate
> the problem in 1.5 but no problem in 1.4.17. Similar testing in Linux reveals
> no problems, nor does there appear to be a problem when using the generated
> quick starts with Jetty. This seems to be a JBoss and Windows with Wicket 1.5
> specific problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira