Skip to content
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

Changed how files are loaded in DefaultFactory #23

Closed
wants to merge 2 commits into from

Conversation

jwmajors81
Copy link

The default factory was calling java.util.File.toURL and when that is used it doesn't properly handle some special characters in the file path such as ##. ## is now included in war file names to support Tomcat's Parallel Deployment feature. I identified the issue while working on a project and just wanted to inform you of the issue. There are two commits, involved in this, but really only one change. I didn't like the first commit because I had custom java formatting enabled in my workspace and that caused the code to look like I changed a lot where in reality this is a very simple change.

special characters like ## (which are used in tomcat parallel deployment
paths) don't cause issues
special characters like ## (which are used in tomcat parallel deployment
paths) don't cause issues.  If you are using tomcat parallel deployment
with the previous version of the code you aren't able to load the
sitemesh.xml file.
@eschulma
Copy link

eschulma commented Dec 6, 2015

I need this functionality as well. I guess I'll do it on my own if I must but it would be nice to get this merged in.

@cocogza
Copy link

cocogza commented Dec 8, 2015

We also need this fixed in order to take advantage of Tomcat's parallel deployment functionality.

Could it be merged?

@eschulma
Copy link

eschulma commented Dec 9, 2015

Since there are two pull requests that fix this already in the queue, and there has been no activity since 2013, I'm guessing it won't be done here. However you can download my copy (eschulma) or the two folks who submitted here, and do an ant build with one command. That's what I did and sitemesh is running in production now.

@codeconsole
Copy link
Member

#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants