-
Notifications
You must be signed in to change notification settings - Fork 90
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
Ported support for nosuffix from master to 1.6.x. #39
Conversation
Sam, Any chance this support for no suffix could be applied to the 1.6.x branch? Thanks, |
Hi @timothystone, Sorry taking so long to reply back to you. Cheers |
@timothystone, I had to do some changes to have it working on the demo folder. |
So I can report that this patch is working in the build of two consumer facing applications for an international credit issuer. :) Did you find something after your comment that prompted the merge anyway? If you corrected it, awesome. |
I will find an excuse this weekend to VPN and pull 1.6.x locally for a build and test. |
Maybe you had additional changes on your side. On the pull request, the .tmp files were being cleaned in two different places.
if (nosuffix) {
if (!mergedFile.delete()) {
mergedFile.deleteOnExit();
}
}
Removing the method Thanks for the help! |
No question that finding is my tackling the code with a flash light and not the flood light of the original dev. :) I was testing against our Maven projects (using Stripes BTW). Our project structure might have been forgiving of my calls, but it might also explain why I had to isolate the plugin execution to a profile so as not to hose the users working copy. The minify goal is only called on our build box and not in local development. I will definitely take a look this weekend. Monday at the latest. |
Probably the same issue I had :) |
Hi @timothystone, have you had the time to try and test the latest changes on the v1.6.X branch? |
I will log on and test tonight. |
HOLD. I need to test it again. Something odd happened and it looked good, but the WAR does not have the compressed files and the target reverted to uncompressed. |
So something is happening and the target directory is refreshing with the uncompressed CSS and JS files. Looking at the debug build. |
I'll have to review in the AM. |
Probably the same issue as in #50. |
Ported the
nosuffix
support from 1.7 to 1.6. Hope it's useful (I see a debugging statement or two I left in while I was figuring out how the code worked). Works as intended in a local Stripes project.