[
https://issues.apache.org/jira/browse/DOXIA-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779329#comment-17779329
]
Roman Ivanov commented on DOXIA-707:
------------------------------------
[~michael-o], do you think that implementation of PrintWriter
As is done at https://github.com/checkstyle/checkstyle/pull/13947 is good
approach?
It looks weird that method
public void write(String line, int offset, int length) {
needs to be override with replacement of what is done by some other content
generator.
Method exists to fix problems of other logic.
> Ability to define lineneding for generated content
> --------------------------------------------------
>
> Key: DOXIA-707
> URL: https://issues.apache.org/jira/browse/DOXIA-707
> Project: Maven Doxia
> Issue Type: Improvement
> Reporter: Roman Ivanov
> Priority: Major
>
> in Checkstyle project we use doxia classes to generate xml files in xdoc
> format
> https://github.com/checkstyle/checkstyle/issues/13770
> We have a rule that all files in our git repo are Linux line-ending.
> Lunux/unix users are ok, but windows users have inconvenience that after
> build execution xdoc files are marked as changes in git, due to change in
> lineending.
> Right now we do hack with override of some doxia classes to enforce
> lineending that we need.
> It would be awesome if we can defined lineending in some config or system
> variable or ....
--
This message was sent by Atlassian Jira
(v8.20.10#820010)