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

Michael Osipov updated MDEP-470:
--------------------------------
    Labels: close-pending  (was: )

> Property fileSeparator overrides definition on property pathSeparator
> ---------------------------------------------------------------------
>
>                 Key: MDEP-470
>                 URL: https://issues.apache.org/jira/browse/MDEP-470
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: build-classpath
>    Affects Versions: 2.8, 2.9
>         Environment: Windows
>            Reporter: Isabella Silva
>              Labels: close-pending
>
> I am trying to generate a classpath to use as a multi-line java property 
> value like this:
> libs/lib1.jar,\
> libs/lib2.jar,\ 
> libs/lib3.jar,\     
> libs/lib4.jar   
> With this configuration on my pom:
> <configuration>               
>    <outputProperty>my.classpath</outputProperty>
>    <prefix>${libs.dir}</prefix>
>    <pathSeparator>,\${line.separator}</pathSeparator>
>    <fileSeparator>/</fileSeparator>
> </configuration>
> It works fine on Unix environments (where the native file separator matches 
> that of my configuration). On Windows, though, I get this (wrong) result:
> libs/lib1.jar,/
> libs/lib2.jar,/ 
> libs/lib3.jar,/     
> libs/lib4.jar 
> Notice that I've configured the path separator to use the '\' character, not 
> the system native file separator. It seems the file separator is somehow 
> overriding the pathSeparator configuration.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to