[GRADLE-3138] addToAntBuilder chokes with files that have double dollar in the name Created: 22/Jul/14 Updated: 24/Jan/17 Resolved: 24/Jan/17
Code like files("1$$2.txt").addToAntBuilder(...) does not work correctly. It seems that double dollar confuses addToAntBuilder. Vanilla ant does cope with such files (I tested) so I assume it's a problem with addToAntBuilder() method. I suspect that some GString-like escaping is kicking in because '$' -> '$', '$$' -> '$', '$$$' -> '$$'.
File with such name are pretty for compiled scala classes, e.g. "ActivityBuilder$$anonfun$filterEntities$1$$anonfun$apply$1.class" (real example). The problem can manifest in various ways. In my case, jacoco report generation failed with:
Sample project that reproduces the problem:
|Comment by Kevin Scaldeferri [ 09/Nov/15 ]|
Is there any hope that this bug is being fixed? Or are there any known work-arounds?
|Comment by Benjamin Muschko [ 15/Nov/16 ]|
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub.
We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to.
Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle!
|Comment by Kevin Scaldeferri [ 27/Nov/16 ]|
I am still interested in this issue. It looks like the original report contains enough detail to satisfy the current guidelines.
|Comment by Eric Wendelin [ 24/Jan/17 ]|