You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.
Similar to issue #153, for my project the JS is concatenated/minified by h5bp however the HTML pages are actually JSP tag templates. The current replacement regexp however is not parsing the script block when JSP snippets are in the code eg:
<!-- scripts concatenated and minified via build script -->
<script src="<%= application.getContextPath() + "/js/main.js" %>"></script>
<!-- end scripts -->
doesn't get parsed and main.js is not replaced with the correct file name.
I'll be submitting a pull request with a fix where quotes are included in capture groups and non greedy qualifiers used to achieve better matching.
The text was updated successfully, but these errors were encountered:
kierans
added a commit
to kierans/ant-build-script
that referenced
this issue
Mar 15, 2013
Similar to issue #153, for my project the JS is concatenated/minified by h5bp however the HTML pages are actually JSP tag templates. The current replacement regexp however is not parsing the script block when JSP snippets are in the code eg:
<!-- scripts concatenated and minified via build script -->
<script src="<%= application.getContextPath() + "/js/main.js" %>"></script>
<!-- end scripts -->
doesn't get parsed and main.js is not replaced with the correct file name.
I'll be submitting a pull request with a fix where quotes are included in capture groups and non greedy qualifiers used to achieve better matching.
The text was updated successfully, but these errors were encountered: