You can of course start up many JHS with different ports.
One thing to think about is using VM to have multiply machines each running
one JHS.
I do not know which is easier to set up and/or maintain.
2012/1/3 Raul Miller
> That said, I would eventually want to be running multiple jhs
> instanc
try create a script foo.ijs containing
2!:1 'sleep 5;firefox http://localhost:65001/jijx &'
load '~addons/ide/jhs/core.ijs'
init_jhs_''
then start jhs by
jconsole foo.ijs
Втр, 03 Янв 2012, Raul Miller писал(а):
> If URL_jhs_ were a url, then perhaps:
>
> ... -js " init_jhs_'' [ 9!:29##9!:27'
Putting this on the second line is a good simplification, at least for now.
I would further simplify it:
start http://127.0.0.1:65001/jijx
Using start rather than the path to a specific browser means that it
uses the default browser. That's a good change, in my opinion.
That said, I would even
It is relatively easy to let a bat file or similar run a line like this
once the JHS server is running
C:\Users\bjorn\AppData\Local\Google\Chrome\Application\chrome.exe
http://127.0.0.1:65001/jijx
You can put it before the call to start the JHS and if the browser is
faster than JHS to start just
Actually, it turns out that sometimes jijx window fails after a restart of jhs.
Just now, I got the following popup from hitting return in jijx window:
ajax request failed
response code 409
application did not produce result
try browsing to url again
additional info in jijx
An issue mi
If URL_jhs_ were a url, then perhaps:
... -js " init_jhs_'' [ 9!:29##9!:27'browse_j_ URL_jhs_' "
But I tried (and this was all on one line when I pasted it in):
... -js " init_jhs_'' [ 9!:29##9!:27 'browse_j_
''http://127.0.0.1:65001/jijx''' "
and it did not work
--
Raul
On Thu, Dec 29,
On a second look.
... -js " browse_j_ URL_jhs_ [] init_jhs_'' "
init_jhs_'' contains an infinite loop to poll socket so that the browse_j_
never get executed. What if interchange the sequence? There is a race
condition depending on whether the browser will time out before jhs can
accept socke
Ok, yes, you are correct -- my jijx window is not the one that becomes
stale. However, others do become stale (e.g. jal).
That said, I do not use a single machine, and the concept of "just
start the browser once" is not going to work for me. If I am using
five machines that becomes "just start t
Raul, you have mentioned using the Chrome browser. On my Windows 7 PC,
I can go through the startup steps after each JAL update and just leave
JHS running until the next update requires a restart. What I mean is:
Click on jhs701 icon which starts jconsole, which advises to enter a URL
in a we
These files did not exist on my system.
I removed my line from core.ijs
I then created a j64-701-user/config/jhs.ijs file, and a
j64-701-user/config/startup.ijs and a j64-701-user/startup.ijs file
with the lines below, but none of them worked.
However, after executing the following from cygwin c
... but you are not me.
Anyways, here is my point of view:
First, I am never going to use JHS from another machine, because JHS
does not deal with network security issues. So I am only going to let
it listen on localhost.
Second, if I am starting jhs, any old jijx browser session is stale
and w
I guess you can try put the line
browse_j_ 'http://127.0.0.1:65001/jijx'
inside your config/jhs.ijs. Or add this line to your startup.ijs file.
browse_j_^:IFJHS 'http://127.0.0.1:65001/jijx'
untested.
Срд, 28 Дек 2011, Raul Miller писал(а):
> I find myself not using jhs very often, mostly
As far as I am concerned I do not see this as one event.
You start the JHS server and it is not related to the event of opening a
gui or using services from the server.
The server is just there after you start it and is waiting for requests.
It may be on the same machine but it can also be on anot
I find myself not using jhs very often, mostly because of its
multi-step startup.
But that's relatively easy to fix, temporarily at least. I can edit
j64-701/addons/ide/jhs/core.ijs and add a line at the bottom:
browse_j_ 'http://127.0.0.1:65001/jijx'
Except... this is not a very good approach.
14 matches
Mail list logo