Yeah, Nashhorn server is way more interesting for us, especially now, when Eclipse adds a support for Java8.

Regards,
Victor


On 03/19/2014 07:09 PM, Angelo zerr wrote:
Thank's Victor for your suggestion. Ok, I keep Rhino Tern server even if it doesn't work on Eclipse IDE.

I think nashorn implementation should be a better than Rhino, but I think code Tern server with  nahorm should will look like Tern Rhino code.

Regards Angelo


2014-03-19 16:00 GMT+01:00 Victor Rubezhny <vrubezhny@exadel.com>:
Angelo,

As for me personally... I don't like to remove something that works. At least while it works, don't restrict some new cool features to be realized, and can be supported with the reasonable costs...

But you're free to perform any changes on your project if you think that this is really important. So, we'd like to concentrate on new features while not forgetting about the performance and reliability.

Having Rhino working in this context is not a priority for us (as NodeJS covers out needs in all possible installation configurations), but it could be useful to have some alternative for NodeJS server in some cases. So, I'd like not to remove it at the moment and still to improve it "in-background".

Thanks,
Victor.


On 03/19/2014 06:34 PM, Angelo zerr wrote:



2014-03-19 15:23 GMT+01:00 Victor Rubezhny <vrubezhny@exadel.com>:
No, at the moment, we don't need it, because of its poor performance and high demands in memory.
As far as I know, using NodeJS covers all or at least most of our needs.

I just wanted to make my cordovajs.js working with all possible (and working, of course) configurations.

Ok I understand. If I plug Rhino with Eclipse IDE, it should working with your cordovajs.js , but I prefer using my energy to develop other features. Perhaps I must remove Rhino from the Eclipse IDE?

Best Regards,
Victor


On 03/19/2014 05:54 PM, Angelo zerr wrote:
Do you need really Rhino implementation? If yes, when do you need it?


2014-03-19 14:52 GMT+01:00 Victor Rubezhny <vrubezhny@exadel.com>:
Angelo,

thanks for your answers!

Best Regards,
Victor


On 03/19/2014 05:50 PM, Angelo zerr wrote:



2014-03-19 14:40 GMT+01:00 Victor Rubezhny <vrubezhny@exadel.com>:
Could you give a short answer on: should content assist work for requirejs plugin when Rhino is used? (If it should then I have to continue to investigate on how to add my cordovajs plug-in into it).

Today, it will not work with Eclipse IDE because I have not plugged Tern Rhino correctly with Eclipse IDE.


OOM problem... yes, it's a real problem when using Rhino problem. Not sure if we can do something with this at the moment.
It's just great that you have that NodeJS solution!

Thanks in advance,
Victor


On 03/19/2014 05:33 PM, Angelo zerr wrote:
Hi Victor!

In short answer, I have gaven up development with Rhino because its very slowly and I had problem with OutOfMemory when JS files are too big.




2014-03-19 14:00 GMT+01:00 Victor Rubezhny <vrubezhny@exadel.com>:
Hi Angelo!

I'm trying to make it possible to use my cordovajs.js plug-in when Rhino is configured as Tern server, but with no luck.
So, I have a couple of questions to you...

Actually I'm even not able to see any proposals from existing plug-ins (like requirejs.js, that is placed in tern.server.rhino.internal.scripts.tern.plugin package of tern.server.rhino plug-in). Are there any special things that I should do in order to make it working? (In my test project's preferences I have enabled requirejs and my cordovajs in <Project>->Properties->Plugins Project Properties Page.)

I don't see/am unable to open Tern Console when Rhino used as a server. There is no possibility to stop/restart server as well.

Tern console works today only with Node.js, but as you have seen, it's possible to implement it.
 
It looks like there is no ITernConsoleConnector object configured for Rhino server instance. Is this a result of some re-development that was focused in usage of NodeJS in favor of Rhino (I mean your work on "developping a "Tern Builder" which will parse JS files with Tern") or this works as expected?

No it's not the result of the Tern Builder. Before that Rhino doesn't work. My idea about Tern Builder is to parse with incremental builder JS files. I had no time to implement it-(

Is it possible to write such a ITernConsoleConnector for Rhino server? (I didn't dig into that code to much...)

Yes it's possible, but if we wish to support Rhino in Eclipse IDE, there are a lot of work to do, like create a "Runtime Tern" to share tern js files. Today those tern js (defs, plugin, etc) are stored into the tern server node.js project. 
We must create a new project "tern runtime" which will hosts thos tern js files.

I think too it should be very cool to implement tern server with Java8 nashor js engine.

I would like to fix some bugs with angular.js tern plugin and works on AlloyUI which is teh JS framework used by Liferay. See https://github.com/angelozerr/tern.java/wiki/Tern-&-AlloyUI-support to see screenshots and my idea to use it into the Liferay Portal (WebBrowser). I'm working in this issue because Liferay IDE could be interested. More there were people who will be interested, more tern.java can be improved (I hope having some contributions like you do).

So today I have no time to support Rhino, but if you want to support it, I will be very glad to help you. I think you should create several issues to support it. I will help you for that, no problem.

Regards Angelo
 
Thanks in Advance,
Victor