<div dir="ltr">Thank's Max for the info about dynjs. Don't hesitate to create some issues in my GitHub about this topic.<div><br></div><div>But to be honnest with you, I have no time for the moment to implement that, but no problem to help any guy who wish to work on this topic.</div>
<div><br></div><div>Regards Angelo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-19 18:27 GMT+01:00 Max Rydahl Andersen <span dir="ltr"><<a href="mailto:manderse@redhat.com" target="_blank">manderse@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
It would be interesting to see if java8 nashorn is usable...also <a href="http://dynjs.org" target="_blank">dynjs.org</a> could be interested to try since it supports java7.<br>
<br>
/max<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
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>
<br>
Best Regards,<br>
Victor<br>
<br>
On 03/19/2014 05:54 PM, Angelo zerr wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Do you need really Rhino implementation? If yes, when do you need it?<br>
<br>
<br></div>
2014-03-19 14:52 GMT+01:00 Victor Rubezhny <<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a> <mailto:<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a>>><u></u>:<div class="">
<br>
<br>
Angelo,<br>
<br>
thanks for your answers!<br>
<br>
Best Regards,<br>
Victor<br>
<br>
<br>
On 03/19/2014 05:50 PM, Angelo zerr wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<br>
<br>
<br>
2014-03-19 14:40 GMT+01:00 Victor Rubezhny <<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a><br></div>
<mailto:<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a>>><u></u>:<div class=""><br>
<br>
Could you give a short answer on: should content assist work<br>
for requirejs plugin when Rhino is used? (If it should then I<br>
have to continue to investigate on how to add my cordovajs<br>
plug-in into it).<br>
<br>
<br>
Today, it will not work with Eclipse IDE because I have not<br>
plugged Tern Rhino correctly with Eclipse IDE.<br>
<br>
<br>
OOM problem... yes, it's a real problem when using Rhino<br>
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>
<br>
On 03/19/2014 05:33 PM, Angelo zerr wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi Victor!<br>
<br>
In short answer, I have gaven up development with Rhino<br>
because its very slowly and I had problem with OutOfMemory<br>
when JS files are too big.<br>
<br>
<br>
<br>
<br>
2014-03-19 14:00 GMT+01:00 Victor Rubezhny<br></div>
<<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a> <mailto:<a href="mailto:vrubezhny@exadel.com" target="_blank">vrubezhny@exadel.com</a>>><u></u>:<div><div class="h5"><br>
<br>
Hi Angelo!<br>
<br>
I'm trying to make it possible to use my cordovajs.js<br>
plug-in when Rhino is configured as Tern server, but<br>
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<br>
existing plug-ins (like requirejs.js, that is placed in<br>
tern.server.rhino.internal.<u></u>scripts.tern.plugin package<br>
of tern.server.rhino plug-in). Are there any special<br>
things that I should do in order to make it working? (In<br>
my test project's preferences I have enabled requirejs<br>
and my cordovajs in <Project>->Properties->Plugins<br>
Project Properties Page.)<br>
<br>
I don't see/am unable to open Tern Console when Rhino<br>
used as a server. There is no possibility to<br>
stop/restart server as well.<br>
<br>
<br>
Tern console works today only with Node.js, but as you have<br>
seen, it's possible to implement it.<br>
<br>
It looks like there is no ITernConsoleConnector object<br>
configured for Rhino server instance. Is this a result<br>
of some re-development that was focused in usage of<br>
NodeJS in favor of Rhino (I mean your work on<br>
"developping a "Tern Builder" which will parse JS files<br>
with Tern") or this works as expected?<br>
<br>
<br>
No it's not the result of the Tern Builder. Before that<br>
Rhino doesn't work. My idea about Tern Builder is to parse<br>
with incremental builder JS files. I had no time to<br>
implement it-(<br>
<br>
Is it possible to write such a ITernConsoleConnector for<br>
Rhino server? (I didn't dig into that code to much...)<br>
<br>
<br>
Yes it's possible, but if we wish to support Rhino in<br>
Eclipse IDE, there are a lot of work to do, like create a<br>
"Runtime Tern" to share tern js files. Today those tern js<br>
(defs, plugin, etc) are stored into the tern server node.js<br>
project.<br>
We must create a new project "tern runtime" which will hosts<br>
thos tern js files.<br>
<br>
I think too it should be very cool to implement tern server<br>
with Java8 nashor js engine.<br>
<br>
I would like to fix some bugs with angular.js tern plugin<br>
and works on AlloyUI which is teh JS framework used by<br>
Liferay. See<br>
<a href="https://github.com/angelozerr/tern.java/wiki/Tern-&-AlloyUI-support" target="_blank">https://github.com/angelozerr/<u></u>tern.java/wiki/Tern-&-AlloyUI-<u></u>support</a><br>
to see screenshots and my idea to use it into the Liferay<br>
Portal (WebBrowser). I'm working in this issue because<br>
Liferay IDE could be interested. More there were people who<br>
will be interested, more tern.java can be improved (I hope<br>
having some contributions like you do).<br>
<br>
So today I have no time to support Rhino, but if you want to<br>
support it, I will be very glad to help you. I think you<br>
should create several issues to support it. I will help you<br>
for that, no problem.<br>
<br>
Regards Angelo<br>
<br>
Thanks in Advance,<br>
Victor<br>
<br>
<br>
</div></div></blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
jbosstools-dev mailing list<br>
<a href="mailto:jbosstools-dev@lists.jboss.org" target="_blank">jbosstools-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jbosstools-dev" target="_blank">https://lists.jboss.org/<u></u>mailman/listinfo/jbosstools-<u></u>dev</a><br>
</blockquote>
<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" target="_blank">http://about.me/maxandersen</a><br>
</blockquote></div><br></div>