<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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).<br>
<br>
OOM problem... yes, it's a real problem when using Rhino problem.
Not sure if we can do something with this at the moment.<br>
It's just great that you have that NodeJS solution!<br>
<br>
Thanks in advance,<br>
Victor<br>
<br>
On 03/19/2014 05:33 PM, Angelo zerr wrote:<br>
</div>
<blockquote
cite="mid:CAKLdLg9FXsN5Lj30iDuvamNskPUNq2r2WgnseoMNBup6p1JUKQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Victor!
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-03-19 14:00 GMT+01:00 Victor
Rubezhny <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi
Angelo!<br>
<br>
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.<br>
So, I have a couple of questions to you...<br>
<br>
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.)<br>
<br>
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.<br>
</blockquote>
<div><br>
</div>
<div>Tern console works today only with Node.js, but as you
have seen, it's possible to implement it.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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?<br>
</blockquote>
<div><br>
</div>
<div>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-(</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Is
it possible to write such a ITernConsoleConnector for
Rhino server? (I didn't dig into that code to much...)<br>
</blockquote>
<div><br>
</div>
<div>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. </div>
<div>We must create a new project "tern runtime" which will
hosts thos tern js files.</div>
<div><br>
</div>
<div>I think too it should be very cool to implement tern
server with Java8 nashor js engine.</div>
<div><br>
</div>
<div>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 <a moz-do-not-send="true"
href="https://github.com/angelozerr/tern.java/wiki/Tern-&-AlloyUI-support">https://github.com/angelozerr/tern.java/wiki/Tern-&-AlloyUI-support</a>
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).</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Regards Angelo</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Thanks
in Advance,<br>
Victor<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>