I guess it must do. I understand Eric and Björn as saying that JHS
scans the contents of ~addons/labs/labs at startup.

You mean of course ~addons/labs/labs/lablist.txt --and yes, the labs
concerned (cal.ijt and uu.ijt) are listed therein.


On Tue, Nov 29, 2011 at 12:47 AM, bill lam <[email protected]> wrote:
> JGTK only looks at the file lab/lab/labtext.txt, and Chris has already
> added entries for your labs. I suppose JHS uses a different method.
>
> Втр, 29 Ноя 2011, Ian Clark писал(а):
>> Yes, the labs concerned are present in their ~addons/math/ folders.
>>
>> And when I copy them to: ~addons/labs/labs/math/ -they appear in the
>> dropdown on restarting j64-701 and work fine.
>>
>> They are also listed correctly (?) in: ~addons/config/config.ijs
>> (which ensures their appearance in the Labs menu in j602) --but I
>> guess JHS isn't currently using that?
>>
>>
>> On Tue, Nov 29, 2011 at 12:13 AM, Eric Iverson <[email protected]> 
>> wrote:
>> > I think JHS labs gets it list from the contents of ~addons/labs/labs. If
>> > you are seeing some labs and they are working perhaps your labs weren't
>> > included in the jal update of labs. As a start verify the labs your want
>> > are in your addons folder.
>> >
>> > On Mon, Nov 28, 2011 at 6:55 PM, Ian Clark <[email protected]> wrote:
>> >
>> >> No, Björn, the labs are just not there. I know what they look like,
>> >> 'cos I wrote 'em.
>> >>
>> >> 2011/11/28 Björn Helgason <[email protected]>:
>> >> > The list of labs in JHS is a bit tricky to understand.
>> >> > The name you see is not the name of the file but the name of the lab you
>> >> > see in the beginning of the file.
>> >> > Open a lab and you see what is there.
>> >> > It is a great tool to use as a teaching tool and so easy to work with.
>> >> > Just change the contents of a file and you have a new lab.
>> >> >
>> >> >
>> >> > 2011/11/28 Ian Clark <[email protected]>
>> >> >
>> >> >> Even after restarting, there are labs (viz. cal.ijt and uu.ijt) which
>> >> >> I see have been downloaded and apparently installed
>> >> >> (i.e they are listed in ~addons/labs/labs/lablist.txt and
>> >> >> ~addons/config/config.ijs) -yet do not appear in the Labs dropdown.
>> >> >>
>> >> >> Just where does jhs get the contents of the labs dropdown from?
>> >> >>
>> >> >> 2011/11/28 Björn Helgason <[email protected]>:
>> >> >> > When you start JHS it scans for the ijt files and it does not find
>> >> them
>> >> >> > before you do the install of the addons.
>> >> >> >
>> >> >> > So if you create a new ijt file you need to restart the JHS so it 
>> >> >> > will
>> >> >> find
>> >> >> > it.
>> >> >> >
>> >> >> > After that you can change the file and it will read the changes just
>> >> >> > restart the lab and no need to restart JHS
>> >> >> >
>> >> >> > 2011/11/28 Ian Clark <[email protected]>
>> >> >> >
>> >> >> >> There are two downloads for the Mac, and I've just tried the same
>> >> >> >> steps with the other one:
>> >> >> >>
>> >> >> >>   JVERSION
>> >> >> >> Engine: j701/2011-01-10/11:25 build: Feb  6 2011 16:16:29
>> >> >> >> Library: 7.01.043
>> >> >> >> Platform: Darwin 64
>> >> >> >> Installer: j701a_mac64.dmg
>> >> >> >>
>> >> >> >> InstallPath: /Applications/j64-701
>> >> >> >>
>> >> >> >> In this version I'm pleased to confirm that studio > labs... works
>> >> just
>> >> >> >> fine.
>> >> >> >>
>> >> >> >> Björn says:
>> >> >> >>
>> >> >> >> > After installing the labs you restart JHS server and refresh the
>> >> >> browser.
>> >> >> >>
>> >> >> >> I didn't do that for j64-701 -- and it still worked.
>> >> >> >>
>> >> >> >> However, taking the hint, I've gone back to j701 (32-bit) and
>> >> >> >> restarted both the server and the jijx browser page.
>> >> >> >> Now studio > labs... works in j701 also !!
>> >> >> >>
>> >> >> >> I've no way of telling whether it was due to restarting j701, or
>> >> >> >> running j64-701 successfully in-between.
>> >> >> >>
>> >> >> >>
>> >> >> >> On Mon, Nov 28, 2011 at 9:02 PM, Ian Clark <[email protected]>
>> >> >> wrote:
>> >> >> >> > Coming back to j701 jhs after a long break, I have reinstalled it
>> >> >> afresh:
>> >> >> >> >
>> >> >> >> >   JVERSION
>> >> >> >> > Engine: j701/2011-01-10/11:25
>> >> >> >> > Library: 7.01.040
>> >> >> >> > Platform: Darwin 32
>> >> >> >> > Installer: j701a_mac_intel.dmg
>> >> >> >> > InstallPath: /Applications/j701
>> >> >> >> >
>> >> >> >> > I next installed all addons by typing:
>> >> >> >> >   install 'all'
>> >> >> >> > Pacman (accessed via menu: link > jal) confirms that all addons 
>> >> >> >> > are
>> >> >> >> > installed and up to date.
>> >> >> >> >
>> >> >> >> > However, menu: studio > labs --does not work and gives the 
>> >> >> >> > message:
>> >> >> >> > ---
>> >> >> >> > No labs installed.
>> >> >> >> > Do pacman studio/labs install and try again.
>> >> >> >> >
>> >> >> >> > Labs are interactive tutorials and are a good
>> >> >> >> > way to learn J.
>> >> >> >> >
>> >> >> >> > Labs are not always current with the latest system
>> >> >> >> > and may run with minor errors that can be ignored.
>> >> >> >> > ---
>> >> >> >> >
>> >> >> >> > Do labs actually work yet in jhs? Or has something recently 
>> >> >> >> > broken?
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On Sun, Nov 6, 2011 at 12:28 PM, Gary Robinson <[email protected]>
>> >> >> wrote:
>> >> >> >> >> Hi,
>> >> >> >> >>
>> >> >> >> >> I am trying J for the first time this morning. I quickly got hung
>> >> up
>> >> >> >> though, because the installation docs suggest trying Studio|Labs.
>> >> When I
>> >> >> >> try to access it, it says
>> >> >> >> >>
>> >> >> >> >>  No labs installed.
>> >> >> >> >>  Do pacman labs/labs install and try again.
>> >> >> >> >>
>> >> >> >> >> If I type
>> >> >> >> >>
>> >> >> >> >>  pacman labs/labs install
>> >> >> >> >>
>> >> >> >> >> into the J console, nothing seems to happen. And if I 
>> >> >> >> >> subsequently
>> >> >> try
>> >> >> >> Studio|Labs again, I get the same error message as before.
>> >> >> >> >>
>> >> >> >> >> Anyone have any ideas?
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >>
>> >> >> >> >> Gary Robinson
>> >> >> >> >> CTO
>> >> >> >> >> Emergent Discovery, LLC
>> >> >> >> >> personal email: [email protected]
>> >> >> >> >> work email: [email protected]
>> >> >> >> >> Company: http://www.emergentdiscovery.com
>> >> >> >> >> Blog:    http://www.garyrobinson.net
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> ----------------------------------------------------------------------
>> >> >> >> >> For information about J forums see
>> >> >> http://www.jsoftware.com/forums.htm
>> >> >> >> >>
>> >> >> >> >
>> >> >> >>
>> >> ----------------------------------------------------------------------
>> >> >> >> For information about J forums see
>> >> http://www.jsoftware.com/forums.htm
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Björn Helgason, Verkfræðingur
>> >> >> > Fornustekkum II
>> >> >> > 781 Hornafirði,
>> >> >> > t-póst: [email protected]
>> >> >> > gsm: +3546985532
>> >> >> > twitter: @flugfiskur
>> >> >> > http://groups.google.com/group/J-Programming
>> >> >> >
>> >> >> >
>> >> >> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari
>> >> einfaldleikans
>> >> >> >
>> >> >> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
>> >> >> >          /|_      .-----------------------------------.
>> >> >> >         ,'  .\  /  | Með léttri lund verður        |
>> >> >> >     ,--'    _,'   | Dagurinn í dag                     |
>> >> >> >    /       /       | Enn betri en gærdagurinn  |
>> >> >> >   (   -.  |        `-----------------------------------'
>> >> >> >   |     ) |         (\_ _/)
>> >> >> >  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>> >> >> >   `. )----'        (")_(") ☃☠
>> >> >> > ----------------------------------------------------------------------
>> >> >> > For information about J forums see
>> >> http://www.jsoftware.com/forums.htm
>> >> >> ----------------------------------------------------------------------
>> >> >> For information about J forums see http://www.jsoftware.com/forums.htm
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Björn Helgason, Verkfræðingur
>> >> > Fornustekkum II
>> >> > 781 Hornafirði,
>> >> > t-póst: [email protected]
>> >> > gsm: +3546985532
>> >> > twitter: @flugfiskur
>> >> > http://groups.google.com/group/J-Programming
>> >> >
>> >> >
>> >> > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari 
>> >> > einfaldleikans
>> >> >
>> >> > góður kennari getur stigið á tær án þess að glansinn fari af skónum
>> >> >          /|_      .-----------------------------------.
>> >> >         ,'  .\  /  | Með léttri lund verður        |
>> >> >     ,--'    _,'   | Dagurinn í dag                     |
>> >> >    /       /       | Enn betri en gærdagurinn  |
>> >> >   (   -.  |        `-----------------------------------'
>> >> >   |     ) |         (\_ _/)
>> >> >  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>> >> >   `. )----'        (")_(") ☃☠
>> >> > ----------------------------------------------------------------------
>> >> > 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
>> ----------------------------------------------------------------------
>> 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

Reply via email to