[ 
https://issues.apache.org/jira/browse/DOXIATOOLS-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated DOXIATOOLS-75:
--------------------------------------
    Description: 
When a full directory is given to the CLI argument {{in}} the output files 
don't replace the extension of the input files but just append the one of the 
target format. In addition the subfolder structure is lost.

For example when using

{code}
java -jar doxia-converter-1.3-jar-with-dependencies.jar -in 
maven-site/content/apt -from apt -out maven-site/content/markdown -to markdown
{code}

the following files are created:

{{maven-site/content/markdown/central-index.apt.markdown}} (from source file 
https://github.com/apache/maven-site/blob/master/content/apt/repository/central-index.apt),
 while the expected target file name would rather be 
{{maven-site/content/markdown/repository/central-index.markdown}}

  was:
When a full directory is given to the CLI argument {{in}} the output files 
don't replace the extension of the input files but just append the one of the 
target format. In addition the subfolder structure is lost.

For example when using

{code}
java -jar doxia-converter-1.3-jar-with-dependencies.jar -in 
maven-site/content/apt -from apt -out maven-site/content/markdown -to markdown
{code}

the following files are created:

{{{maven-site/content/markdown/central-index.apt.markdown}}} (from source file 
https://github.com/apache/maven-site/blob/master/content/apt/repository/central-index.apt),
 while the expected target file name would rather be 
{{{maven-site/content/markdown/repository/central-index.markdown}}}


> Replace extensions and keep subdirectories when converting directories
> ----------------------------------------------------------------------
>
>                 Key: DOXIATOOLS-75
>                 URL: https://issues.apache.org/jira/browse/DOXIATOOLS-75
>             Project: Maven Doxia Tools
>          Issue Type: Bug
>          Components: Doxia Converter
>    Affects Versions: doxia-converter-1.3
>            Reporter: Konrad Windszus
>            Priority: Major
>
> When a full directory is given to the CLI argument {{in}} the output files 
> don't replace the extension of the input files but just append the one of the 
> target format. In addition the subfolder structure is lost.
> For example when using
> {code}
> java -jar doxia-converter-1.3-jar-with-dependencies.jar -in 
> maven-site/content/apt -from apt -out maven-site/content/markdown -to markdown
> {code}
> the following files are created:
> {{maven-site/content/markdown/central-index.apt.markdown}} (from source file 
> https://github.com/apache/maven-site/blob/master/content/apt/repository/central-index.apt),
>  while the expected target file name would rather be 
> {{maven-site/content/markdown/repository/central-index.markdown}}



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

Reply via email to