Could you explain more about the problem? It's not clear what exactly you mean. Are you referring to diffferent dev hosts or prod hosts? How does it become a nuisance exactly?
--
You received this message because you are subscribed to the Google Groups "web4j-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/web4j-users/-/pdJD8iWIrVQJ.
To post to this group, send email to web4j...@googlegroups.com.
To unsubscribe from this group, send email to web4j-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/web4j-users?hl=en.
I consider it bad practice to enforce OS-specific differences in web.xml. Doing so means that the distribution of your
application (the war file) becomes OS-dependent. You can no longer just drop it in you web servers 'webapps' folder and
expect it to be deployed correctly. That in turn means that your download page must either have different war's for
different systems or some instructions on how to manipulate the war deployment after the fact.
My patch doesn't cause any harm and it solves all of the above.
Sidenote: The otherwise well documented sample web.xml files doesn't mention the absolute path requirement. Digging
deeper, I found it in the LoggingConfig class. I suggest you remove it.
This change is distasteful, since it's hacking on (as far as I know) undocumented behavior for the File class. Hence, I'm not enthusiastic about it.