[
https://issues.apache.org/jira/browse/WICKET-126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Quenot updated WICKET-126:
----------------------------------------
Attachment: 20070114-wicket-1.x-ReloadingWicketFilter
> Reload Java Classes for Improved Developer Experience
> -----------------------------------------------------
>
> Key: WICKET-126
> URL: https://issues.apache.org/jira/browse/WICKET-126
> Project: Wicket
> Issue Type: New Feature
> Components: wicket
> Reporter: Jean-Baptiste Quenot
> Assigned To: Eelco Hillenius
> Attachments: 20061129-wicket-1.x-ReloadingClassLoader,
> 20061130-wicket-1.x-ReloadingClassLoader,
> 20061130-wicket-1.x-ReloadingClassLoader,
> 20061201-wicket-1.x-ReloadingClassLoader,
> 20061203-wicket-1.x-ReloadingClassLoader-includes,
> 20061203-wicket-1.x-ReloadingClassLoader-includes,
> 20061205-wicket-1.x-ReloadingClassLoader,
> 20070114-wicket-1.x-ReloadingWicketFilter, WICKET-126-1.x.patch,
> WICKET-126-trunk.patch
>
>
> Currently in Wicket it is possible to reload the templates in DEVELOPMENT
> mode, but it is not possible to reload Java classes. That makes it very
> painful for the developer, as a server restart is required every time. One
> can still use hot code replace within the debugger, but that is not reliable
> and does not work every time, especially when the method signatures change.
> The attached *experimental* patch addresses that issue by providing a custom
> classloader and an adaptation of WicketFilter to allow reloading the Wicket
> application upon a class file change. As soon as a Java class is updated
> in the classes directories, the corresponding application is reloaded by
> WicketFilter. Also, bookmarkable pages are properly reloaded.
> On the TODO list:
> * allow to switch off class reloading
> * allow to specify the location of directories containing class files
> * porting to WicketServlet
> * more testing
> I wanted to share this code ASAP for you to test. It is based on branch 1.x.
> Note that part of the code comes from Apache Cocoon, released under the
> Apache license.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira