Skip to content

Conversation

ramalama
Copy link
Contributor

@ramalama ramalama commented Sep 2, 2025

Documentation states
"Actually, XsltTask extends CopyTask, so you can use all the elements allowed there. "
Till now definition of xslttask in the grammar was an imperfect copy of copytask. For example the verbose attribute was missing from xslttask.
In order not only to fix but also prevent simmilar mistakes in future, I refactored copytask and extracted the definition into a separate define. This copy-definition is now used by copy and xslttask so xslttask can extend the definition without duplicated code and missing updates/errors.

…optional

selectors are allowed in fileset: Added
…ion that is reused in xslt task. => No xslt task is also in grammar extended from copy task
…plementation forced the to be present as pair
Old implementation forced both to be present
…ion that is reused in xslt task. => No xslt task is also in grammar extended from copy task
Copy link

codecov bot commented Sep 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.01%. Comparing base (8022501) to head (f63bef7).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1946   +/-   ##
=========================================
  Coverage     53.01%   53.01%           
  Complexity     9806     9806           
=========================================
  Files           495      495           
  Lines         24662    24662           
=========================================
  Hits          13075    13075           
  Misses        11587    11587           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Successfully merging this pull request may close these issues.

1 participant