You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/17 12:18:41 UTC

[jira] [Commented] (NIFI-3615) build fails (master branch) on Windows due to illegal character

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

ASF GitHub Bot commented on NIFI-3615:
--------------------------------------

GitHub user mcgilman opened a pull request:

    https://github.com/apache/nifi/pull/1599

    NIFI-3615: Removing hidden control characters

    NIFI-3615:
    - Removing hidden control characters.

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

    $ git pull https://github.com/mcgilman/nifi NIFI-3615

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

    https://github.com/apache/nifi/pull/1599.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 #1599
    
----
commit 17308e0c34f8422c92d0c04ac6ed510651e2d5d6
Author: Matt Gilman <ma...@gmail.com>
Date:   2017-03-17T12:15:28Z

    NIFI-3615:
    - Removing hidden control characters.

----


> build fails (master branch) on Windows due to illegal character
> ---------------------------------------------------------------
>
>                 Key: NIFI-3615
>                 URL: https://issues.apache.org/jira/browse/NIFI-3615
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>         Environment: Windows 10, Windows Server 2008
>            Reporter: Michael Moser
>            Assignee: Matt Gilman
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Building nifi-web-ui 1.2.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> ...
> [INFO] --- yuicompressor-maven-plugin:1.5.1:compress (minify) @ nifi-web-ui ---
> ...
> [ERROR] D:\dev\workspace\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\src\main\webapp\js\nf\canvas\nf-canvas-utils.js [118:26]: illegal character
> [ERROR] ...D:\dev\workspace\nifi\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-web\nifi-web-ui\src\main\webapp\js\nf\canvas\nf-canvas-utils.js:line 118:column 26:illegal character
>                             });


> There are Unicode line separator U+2028 characters at the end of that line.  There are several more in other Java script files.
> nf-canvas-utils.js
> 	line 118
> nf-connection.js
> 	lines 1934, 1942, 1949, 1955, 1965, 1969
> nf-process-group.js
> 	lines 1259, 1262, 1265, 1268, 1271, 1275
> I'm not sure how to get the yuicompressor-maven-plugin to accept these characters because its default encoding is already UTF-8.



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