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

ASF GitHub Bot commented on CAMEL-8065:
---------------------------------------

GitHub user paul-mcculloch opened a pull request:

    https://github.com/apache/camel/pull/337

    Fix CAMEL-8065

    Fix building on Windows (with backslash file seperator) by following the 
advice in 
https://docs.oracle.com/javase/7/docs/api/java/lang/String.html#replaceAll(java.lang.String,%20java.lang.String)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paul-mcculloch/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/337.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #337
    
----
commit d0917f2399c20464f6140582fdea49dfa827833f
Author: Paul McCulloch <[email protected]>
Date:   2014-11-20T13:43:52Z

    Fix CAMEL-8065

----


> Camel won't build on windows (camel-box and camel-api-component-maven-plugin)
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-8065
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8065
>             Project: Camel
>          Issue Type: Bug
>          Components: build system
>    Affects Versions: 2.15.0
>         Environment: Windows 7 x64; JDK 1.7.0_60; Maven 3.1.0
>            Reporter: Paul McCulloch
>
> Building camel fails on windows with the error: 
> Failed to execute goal 
> org.apache.camel:camel-api-component-maven-plugin:2.15-SNAPSHOT:fromApis 
> (generate-test-component-classes) on project camel-box: Error generating 
> source for com.box.boxjavalibv2.resourcemanagers.IBoxCollaborationsManager: 
> String index out of range: 1
> This is due to the plugin not escaping the windows file separator before 
> using it in a regex. 
> Patch/pull request to follow



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to