[ 
https://issues.apache.org/jira/browse/DOXIATOOLS-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17897448#comment-17897448
 ] 

ASF GitHub Bot commented on DOXIATOOLS-90:
------------------------------------------

kwin commented on code in PR #87:
URL: 
https://github.com/apache/maven-doxia-converter/pull/87#discussion_r1837827421


##########
src/main/java/org/apache/maven/doxia/DefaultConverter.java:
##########
@@ -438,6 +518,15 @@ private void convert(
                 "Successfully converted file \"{}\" to \"{}\"",
                 inputFile.getAbsolutePath(),
                 outputFile.getAbsolutePath());
+        try {
+            postProcessFile(inputFile, outputFile);
+        } catch (InterruptedException e) {
+            Thread.currentThread().interrupt();
+            throw new ConverterException("Error post processing files: " + 
e.getMessage(), e);
+        } catch (IOException e) {
+            throw new ConverterException("Error post processing files: " + 
e.getMessage(), e);
+        }
+        return outputFile;

Review Comment:
   
https://github.com/apache/maven-doxia-converter/pull/87#discussion_r1837827121





> Optionally keep Git history on converted files
> ----------------------------------------------
>
>                 Key: DOXIATOOLS-90
>                 URL: https://issues.apache.org/jira/browse/DOXIATOOLS-90
>             Project: Maven Doxia Tools
>          Issue Type: New Feature
>          Components: Doxia Converter
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> Using [git mv|https://git-scm.com/docs/git-mv] allows to keep the file's 
> history (although using the blame feature won't work as the line numbers are 
> off after conversion).
> This is reasonable to use when the input files are managed with Git and the 
> converted ones should still be.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to