[ https://issues.apache.org/jira/browse/THRIFT-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925121#comment-13925121 ]
Randy Abernethy commented on THRIFT-2355: ----------------------------------------- Hey Henrique, Grunt ran clean on my original dev system. I just setup a scratch Centos 6 box and everything was ok there as well. Also tried Mint 14 and Ubuntu 13 with new clones of 0.9.2 and grunt was good there too (though both of these boxes had other stuff on them). On the fresh Centos install I did - yum groupinstall 'Development Tools' - installed the standard Thrift packages (https://thrift.apache.org/docs/install/centos/) - installed openssl-devel - downloaded and installed autoconf 2.69 rpm from pbone - installed java 1.7 JDK - installed nodejs/npm from epel - git clone https://git-wip-us.apache.org/repos/asf/thrift.git - bootstrap/configure/make/make install - npm install -g inherits - npm install -g grunt-cli Then ran npm install and grunt in lib/js and all tasks were successful. If you can point me in the right direction I'll try to repro the test-nojq.html problem you see. Best, Randy > Add SSL and Web Socket Support to Node and JavaScript > ----------------------------------------------------- > > Key: THRIFT-2355 > URL: https://issues.apache.org/jira/browse/THRIFT-2355 > Project: Thrift > Issue Type: Improvement > Components: JavaScript - Compiler, JavaScript - Library, Node.js - > Library > Affects Versions: 0.9.2 > Environment: all > Reporter: Randy Abernethy > Assignee: Randy Abernethy > Priority: Minor > Fix For: 0.9.2 > > Attachments: 0001-Add-WebSocket-support-to-JS-and-Node.JS.patch > > > This patch adds support for SSL between Node.js and Browser JavaScript as > well as initial WebSocket transport support. > The createStaticHTTPThriftServer() method has been renamed createWebServer(). > The resulting server supports XHR based HTTP:// and HTTPS:// clients as well > as upgrades to WS:// and WSS:// for websocket clients. > The JavaScript thrift.js library now includes websocket support through > TWebSocketTransport. The old XHR transport still goes by the alias Transport > but can now also be accessed through the name TXHRTransport. Browser clients > can use XHR over HTTP and HTTPS (as always) and also WebSocket (WS://) and > secure WebSocket (WSS://). > The JavaScript grunt build runs jQuery and Normal JavaScript synchronous and > asynchronous tests over HTTP and HTTPS. There are now three test drivers in > the thrift/lib/js/test directory: > - test.html the jQuery build test (thrift -gen js:jquery) > - test-nojq.html the normal JavaScript build test (thrift -gen js) > - testws.html the web socket test. > The thrift/test/keys directory supplies the key and cert for the HTTPS test > server. > The root js README was updated and contains a complete client/server example. > A new README was added to the test directory providing an orientation there. > With WebSocket in place it makes sense to consider adding a binary protocol > on the browser side. -- This message was sent by Atlassian JIRA (v6.2#6252)