MattCheely / requirejs-maven-plugin

Maven plugin for RequireJS optimization
GNU Lesser General Public License v2.1
66 stars 21 forks source link

Would you consider adding support for jav8 #14

Closed alfonsobonso closed 11 years ago

alfonsobonso commented 11 years ago

Ref: http://code.google.com/p/jav8/

Rhino is not getting any faster. While we could install node on our development boxes, changing the maven config to use jav8 instead would be less painful.

leftieFriele commented 11 years ago

+1 Java8 would be a great option as it would be easier as it doesn't mean all developers need to have node installed when they're java developers.

MattCheely commented 11 years ago

I'd love to run the optimizer with something faster than Rhino, and Java8 looks promising. Good find. I will try to make some time soon to start working on it. Of course, pull requests are also always welcome. :)

MattCheely commented 11 years ago

Node support has been added, and will likely be released soon. That should resolve any speed issues, so I am going to close this issue. For details on testing nodejs see Issue #13

alfonsobonso commented 11 years ago

That sounds fine. I had a play with this, but there wasn't an easy way to incorporate jav8 without just as much, if not more, hassle as installing and running it with node. Perhaps Nashorn will bridge the gap at some point, but I'm not holding my breath...