Hi Bill, It works when I load in order:
load 'data/jdb' load '~addons/net/clientserver/jssc.ijs' load 'data/jdb/jdbclient' jdbclient seems like it is now dependent on jssc, this was not the case in J6.02. Ken -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of bill lam Sent: Monday, March 07, 2011 11:47 AM To: [email protected] Subject: Re: [Jgeneral] Error in JDB client library You may need to install the net/clientserver addon, $ git blame base/client/init.ijs b38f4d01 (blam 2010-06-27 04:04:56 +0000 1) NB. init b38f4d01 (blam 2010-06-27 04:04:56 +0000 2) 24e12d35 (chris 2010-12-12 07:01:17 +0000 3) require '~addons/net/clientserver/jssc.ijs' 24e12d35 (chris 2010-12-12 07:01:17 +0000 4) b38f4d01 (blam 2010-06-27 04:04:56 +0000 5) coclass 'jdbclient' d0e46a64 (blam 2010-06-27 03:57:43 +0000 6) NB. jdbclient d0e46a64 (blam 2010-06-27 03:57:43 +0000 7) d0e46a64 (blam 2010-06-27 03:57:43 +0000 8) coinsert 'jssc' d0e46a64 (blam 2010-06-27 03:57:43 +0000 9) checkrc=: >@{:`(>@{: (13!:8) 3:)@.(0 ~: >@{.) d0e46a64 (blam 2010-06-27 03:57:43 +0000 10) jdb=: checkrc @ calljdb Пнд, 07 Мар 2011, Ken Lettow писал(а): > On 7.01 jhs and gtk. > > When I load the 'data/jdb' and 'data/jdb/jdbclient' I get the following error > when trying to connect to a server. > > a=: (1200;'xxx.xxx.xxx.xxx';30000;1) conew 'jdbclient' > |value error: create__w > | create__w x > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Ian Clark > Sent: Saturday, March 05, 2011 3:04 AM > To: General forum > Subject: Re: [Jgeneral] where is Public_j_ defined? > > > Actually I have not used FIF for a long time. > > Me neither. On the Mac (Snow Leopard) Spotlight + TextEdit is fast and > highly usable. The Finder window reconfigures as you type the query. I > do all my bulk edits in J that way. There's a case for the lone > developer to ignore the built-in IDE of any language (unless already > highly invested in it). Cooperative workgroups like TRAC are a > different matter. > > > On Fri, Mar 4, 2011 at 12:50 AM, bill lam <[email protected]> wrote: > > Actually I have not used FIF for a long time. ;-) I either use ctag or grep > > to locate names. Since I already used git to clone the repository, under > > the base7 directory. > > > > $ git grep Public= > > main/jade/load.ijs:Public=: i. 0 2 > > main/jade/load.ijs:Public=: sort ~. Public,~ short,.long > > > > I meant one can ask in forum where any name is defined and why it is not > > documented in help files. Rather than answer them one by one, it would be > > better to teach them to fish. > > > > Птн, 04 Мар 2011, Ric Tikkanz писал(а): > >> I tried searching ~addons/docs/help for PUBLIC first but matched a > >> whole lot of HTML files with: > >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 ... > >> > >> ... so I narrowed my search to PUBLIC_j_ :-) > >> > >> I'm not sure what the issue you refer to is? > >> > >> On Fri, Mar 4, 2011 at 1:05 PM, bill lam <[email protected]> wrote: > >> > I guess this is not a Public_j_ specific issue, one can use partial > >> > search for > >> > 'Public' with find-in-file should return some hits. (untested) > >> > > >> > Птн, 04 Мар 2011, Ric Tikkanz писал(а): > >> >> There is a description of PUBLIC_j_ and how to add to it in J for C > >> >> Programmers. > >> >> > >> >> http://www.jsoftware.com/help/jforc/odds_and_ends.htm#_Toc191734549 > >> >> > >> >> The spelling (case) does need updating for J7 though. I found this by > >> >> using Find in Files to search ~addons/docs/help for PUBLIC_j_ > >> >> > >> >> As for where and when it is defined... the definitions are available > >> >> in ~system/util/scripts.ijs. The buildpublic verb is defined in > >> >> stdlib.ijs and the scripts.ijs script is loaded after booting > >> >> stdlib.ijs in ~system/util/boot.ijs > >> >> > >> >> The locations of these in the source scripts are: > >> >> http://www.jsoftware.com/trac/base7/browser/trunk/main/config/scripts.ijs > >> >> http://www.jsoftware.com/trac/base7/browser/trunk/main/jade/load.ijs > >> >> > >> >> None of that info is really relevant to new users though. The method > >> >> described by Henry in JforC (add to Public_j_ by using buildpublic in > >> >> your startup.ijs) can be used to extend Public_j_ for your own use. > >> >> However, as Devon has noted, extensive use of your own custom aliases > >> >> may cause headaches with code portability. > >> >> > >> >> On Fri, Mar 4, 2011 at 5:07 AM, Murray Eisenberg > >> >> <[email protected]> wrote: > >> >> > for J701, in what script is Public_j_ defined? > >> >> > > >> >> > I searched but couldn't find its definition. Nor could I find > >> >> > documentation about it. > >> >> > > >> >> > -- > >> >> > Murray Eisenberg [email protected] > >> >> > Mathematics & Statistics Dept. > >> >> > Lederle Graduate Research Tower phone 413 549-1020 (H) > >> >> > University of Massachusetts 413 545-2859 (W) > >> >> > 710 North Pleasant Street fax 413 545-1801 > >> >> > Amherst, MA 01003-9305 > >> >> > ---------------------------------------------------------------------- > >> >> > For information about J forums see http://www.jsoftware.com/forums.htm > >> >> > > >> >> ---------------------------------------------------------------------- > >> >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > >> > -- > >> > regards, > >> > ==================================================== > >> > GPG key 1024D/4434BAB3 2008-08-24 > >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> > ---------------------------------------------------------------------- > >> > For information about J forums see http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
