This is the mail archive of the kawa@sources.redhat.com 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]

Kawa and JBuilder


Has anybody had problems running kawa within Jbuilder? I seem to be finding if I run repl in jbuilder and I type something like
(primitive-constructor <java.io.File> (<java.lang.String>))
it just prints nothing. If I run it from a DOS prompt, no problem. If I try and display the above or assign it to a variable wierd stuff happens....

#|kawa:13|# (primitive-constructor <java.io.File> (<java.lang.String>))
#|kawa:14|# (display (primitive-constructor <java.io.File> (<java.lang.String>)))
gnu.mapping.WrongArguments: call to 'gnu.kawa.functions.DisplayFormat' has too few arguments (0; min=1, max=2)
at gnu.mapping.Procedure1or2.apply0(Procedure1or2.java:26)
at gnu.mapping.Procedure.apply(Procedure.java:108)
at gnu.mapping.CallContext.runUntilDone(CallContext.java:239)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:189)
at kawa.Shell.run(Shell.java:231)
at kawa.Shell.run(Shell.java:180)
at kawa.Shell.run(Shell.java:167)
at kawa.Shell.run(Shell.java:154)
at kawa.repl.main(repl.java:600)
#|kawa:15|# (define xxxx (primitive-constructor <java.io.File> (<java.lang.String>)))
#|kawa:16|# <stdin>:15:2: invalid syntax for define



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