Skip to content

Avoid problem from AntBuilder trying to resolve the tomcatJars configuration during pickMssql#100

Merged
labkey-susanh merged 4 commits into
developfrom
fb_pickDbForTC
Nov 5, 2020
Merged

Avoid problem from AntBuilder trying to resolve the tomcatJars configuration during pickMssql#100
labkey-susanh merged 4 commits into
developfrom
fb_pickDbForTC

Conversation

@labkey-susanh
Copy link
Copy Markdown
Contributor

Rationale

We resolve the tomcatJars files outside of the ant copy because this seems to avoid an error we saw on TeamCity when running the pickMssql task on Windows when updating to Gradle 6.7. The error in the build log was:

     org.apache.tools.ant.BuildException: copy doesn't support the nested "exec" element.

The theory is that when the files in the configuration have not been resolved, they get resolved inside the node being added to the ant task below and that is not supported.

Related Pull Requests

Changes

  • Resolve the tomcatJars configuration before adding files to the ant task that copies them

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.

2 participants