[Gbbopen-list] Any way to have GBB Open leave *PACKAGE* alone?

Robert Goldman rpgoldman at sift.info
Mon Mar 19 19:52:51 EDT 2012


On 3/19/12 Mar 19 -5:27 PM, Dan Corkill wrote:
> 
>> If (for some reason!) you want ASDF to be the master, then you can define
>> a trivial GBBopen component-loading module that loads whatever GBBopen
>> modules
>> you want and does not specify a package to be set (thus skipping the
>> entire
>> (when package ...) form).
> 
> Just to clarify, you don't even need to define a trivial module if you
> only want to load a predefined GBBopen module. All 
> you  need to do is to define a REPL command (in an appropriate
> commands.lisp) file that does what you want (in either 
> your personal gbbopen-commands.lisp file, as a "module" command in your
> personal gbbopen-modules directory 
> or as a "module" command in the shared-gbbopen-modules directory. 
> 
> For example, here is a command for loading the GBBopen-core module that
> does not establish
> a package and doesn't require a module definition (beyond the
> :gbbopen-core module already defined in
> GBBopen):
> 
> (define-repl-command :gbbopen-core (&rest options)
>   "Compile and load the GBBopen-core module"
>   (startup-module :gbbopen-core options))
> 

Right.  What we ended up doing is defining a pseudo ASDF system that has
as a PERFORM method, a call to STARTUP-MODULE.  Thanks!  Your pointer
got us on the right track.

Best,
Robert



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Gbbopen-list mailing list