This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: the right way to compile and load modules


On May 14, 2014, at 1:29 AM, Per Bothner <per@bothner.com> wrote:

> On 05/13/2014 08:59 PM, mikel evins wrote:
>> 
>> On May 13, 2014, at 10:52 PM, Per Bothner <per@bothner.com> wrote:
>>> Still need to look into what is going on, but I suggest replacing the
>>> (require "fact.scm")
>>> by:
>>> (require fact)
>> 
>> Here's why I'm not doing that:
>> 
>> $ ant factest
>> Buildfile: /Users/mikel/Workshop/fabric/build.xml
>> 
>> fact:
>>      [kawa] (compiling fact.scm to fact)
>> 
>> factest:
>>      [kawa] (compiling factest.scm to factest)
>>      [kawa] factest.scm:3:1: invalid specifier for 'require'
>> 
>> BUILD FAILED
> 
> This means it couldn't find the class 'test'.  You means to tweak the
> classpath (when compiling facttest) so it finds fact.class.

Well, it works for batch-compiling, but you were right: it screws the repl load.

Back to the drawing board.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]