<div dir="ltr">Thank's Victor for your suggestion. Ok, I keep Rhino Tern server even if it doesn't work on Eclipse IDE.<div><br></div><div>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.</div>
<div><br></div><div>Regards Angelo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-19 16:00 GMT+01:00 Victor Rubezhny <span dir="ltr"><<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Angelo,<br>
<br>
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... <br>
<br>
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. <br>
<br>
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".<br>
<br>
Thanks,<br>
Victor.<div><div class="h5"><br>
<br>
On 03/19/2014 06:34 PM, Angelo zerr wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-03-19 15:23 GMT+01:00 Victor
Rubezhny <span dir="ltr"><<a 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">
<div bgcolor="#FFFFFF" text="#000000">
<div>No, at the moment, we don't need it, because of its
poor performance and high demands in memory. <br>
As far as I know, using NodeJS covers all or at least
most of our needs. <br>
<br>
I just wanted to make my cordovajs.js working with all
possible (and working, of course) configurations.<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>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?</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">
<div bgcolor="#FFFFFF" text="#000000">
<div> <br>
Best Regards,<br>
Victor
<div>
<div><br>
<br>
On 03/19/2014 05:54 PM, Angelo zerr wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Do you need really Rhino
implementation? If yes, when do you need it?</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-03-19 14:52
GMT+01:00 Victor Rubezhny <span dir="ltr"><<a 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">
<div bgcolor="#FFFFFF" text="#000000">
<div>Angelo,<br>
<br>
thanks for your answers!<br>
<br>
Best Regards,<br>
Victor
<div>
<div><br>
<br>
On 03/19/2014 05:50 PM, Angelo zerr
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-03-19
14:40 GMT+01:00 Victor
Rubezhny <span dir="ltr"><<a 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">
<div bgcolor="#FFFFFF" text="#000000">
<div>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>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Today, it will not work
with Eclipse IDE because I
have not plugged Tern Rhino
correctly with Eclipse IDE.</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">
<div bgcolor="#FFFFFF" text="#000000">
<div> <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
<div>
<div><br>
<br>
On 03/19/2014 05:33
PM, Angelo zerr
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote 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 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 href="https://github.com/angelozerr/tern.java/wiki/Tern-&-AlloyUI-support" target="_blank">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>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>