On reviewing what you need, you can omit that, along with the -js that invokes it.
Or, if you prefer, you could do something like this: NB. start bridge server load jpath '~user/bridge/bridgejhs.ijs' load jpath '~addons/ide/jhs/core.ijs' startcommand=:verb define echo 'starting jhs for bridge server...' init_jhs_ '' ) Thanks, -- Raul On Sat, Sep 10, 2016 at 8:48 PM, Brian Schott <[email protected]> wrote: > But, what is "startcommand 0"? > > Below are my files and the error when I execute the batch file > "bridgebatch. > > server:bridge brian$ pwd > /Users/brian/j64-805-user/bridge > server:bridge brian$ cat startserver.ijs > load jpath '~user/bridge/bridgejhs.ijs' > load jpath '~addons/ide/jhs/core.ijs' > init_jhs_ '' > > server:bridge brian$ ls -l * > -rw-r--r-- 1 brian staff 8961 Apr 1 13:16 bridge.ijs > -rw-r--r-- 1 brian staff 10000 Jun 30 12:08 bridgejhs.ijs > -rw-r--r-- 1 brian staff 92 Sep 10 20:38 startserver.ijs > server:bridge brian$ > > > > server:~ brian$ pwd > /Users/brian > server:~ brian$ ls -l bridgebatch > -rwxr-xr-x 1 brian staff 208 Sep 10 20:46 bridgebatch > server:~ brian$ cat bridgebatch > #!/bin/sh > #/Applications/j64-805/bin/jconsole "~user/bridge/startserver.ijs" -js > "startcommand 0" > /Applications/j64-805/bin/jconsole "~user/bridge/startserver.ijs" -js "" > sleep 3 > http://127.0.0.1:65001/jijx > > server:~ brian$ bridgebatch > -bash: bridgebatch: command not found > server:~ brian$ > > On Sat, Sep 10, 2016 at 7:31 PM, Raul Miller <[email protected]> > wrote: > > > I would do this: > > > > NB. start bridge server > > > > load jpath '~user/bridge/bridgejhs.ijs' > > load jpath '~addons/ide/jhs/core.ijs' > > init_jhs_ '' > > > > I do not think it matters what order you do the loads in. (If it does > > matter, that is either a bug or an issue which should be carefully > > documented - both the purpose of being order sensitive (the goal) and > what > > happens if you use a different order (the details).) > > > > Thanks, > > > > -- > > Raul > > > > > > On Sat, Sep 10, 2016 at 4:35 PM, Brian Schott <[email protected]> > > wrote: > > > > > Raul, et al, > > > > > > I am confused about where my "load '~user/bridge/bridgejhs.ijs'" goes > > > (which is step d) in my list). I suspect it is either in > startserver.ijs > > > between > > > > > > "load jpath '~addons/ide/jhs/core.ijs'" > > > and > > > "init_jhs_ ''" > > > > > > or it is the replacement for "startcommand 0" in my batch file which I > > > named "bridgebatch". But whichever it is not, I don't know what would > > > replace the other of them. > > > > > > By the way, my file '~user/bridge/bridgejhs.ijs' begins as follows. > > > > > > coclass'bridge' > > > coinsert'jhs' > > > > > > PATH=: jpath'~user/bridge/' > > > require PATH,'bridge.ijs' > > > > > > Could you please clarify? > > > > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
