-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WW-4948 delete temp files on close instead of on JVM exists #250
Conversation
See also: WW-4948
Looks good to me 👍 if no objections it can be merged. |
@apache/struts-committers , I and also the issue reporter are agree. |
No objections, LGTM 👍 |
Can you port this into |
This fix introduced a small problem struts-community-plugins/struts2-jquery#165 |
minimal project for this new issue: Starting up the jetty server ( problem: It throws a in version |
It's because we properly reloads JAR now, but I think this can be improved by initiating |
Hmm... Yasser's change looks good, I have no idea why this could break anything.
I cannot reproduce the issue with my local AppEngine setup. |
Thanks a lot for investigations and samples! I continued with them and finally found the bug which to resolve, we should think about the question "Who came first egg or hen?":
Actually I think Kind Regards :) |
@yasserzamani (sorry if it's a dumb question, i've not been active on the project for quite some time, trying to get back into it) |
@sdutry , you're welcome back thank you very much :) No it's a good question. I rethought and am thinking about these. According to last thoughts, It seems as currently already behavior, it's nice and OK to load Struts internal configuration i.e. So I think the problem is with DefaultFileManager.java#L63. When user sets Kind regards. |
but when |
No. If a break point putted there, it's false firstly then after processing user xml, it will be set to true. For struts-default and user struts xml URLs it's false even if user has set it true. So a revision will not created for them. For struts-default xml this is a good behaviour but isn't for user xml and etc.
|
No description provided.