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

Önder Sezgin commented on CAMEL-13546:
--------------------------------------

Botttom line this is the code causing failure on windows. but passing in Unix 
based boxes because < or > is not invalid and sourcePath yields to be null and 
execution does not fail.

 
{code:java}
List<String> myList = new ArrayList<String>();
myList.add("C:\\gitrepo\\camel\\components\\camel-properties\\src\\main\\java");
myList.add("C:\\gitrepo\\camel\\components\\camel-properties\\target\\generated-sources\\annotations");
String fileName = 
"java/util/List<org/apache/camel/component/properties/PropertiesLocation>.java";
Path sourcePath = myList.stream().map(Paths::get).map(p -> 
p.resolve(fileName)).filter(Files::isRegularFile).findFirst().orElse(null);{code}

> camel-package-maven-plugin - spring auto configuration generation fails for 
> properties component on windows as type contains in valid char  which is '<' 
> and '>'
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-13546
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13546
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-package-maven-plugin
>         Environment: Windows
>            Reporter: Önder Sezgin
>            Priority: Minor
>
> this is reproducible on windows.
> [http://camel.465427.n5.nabble.com/Re-Error-building-3-0-0-SNAPSHOT-td5830913.html]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to