Michael Moser created NIFI-3615:
-----------------------------------

             Summary: 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
    Affects Versions: 1.1.1
         Environment: Windows 10, Windows Server 2008
            Reporter: Michael Moser


[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)

Reply via email to