Closed Dagur closed 10 years ago
If you update boot it should work for you. The new boot uses a different file format (look at the build.boot
files in the demo directories). That should be the only breaking change we expect to make to boot, and the new boot has better error messages that tell you how to fix these sorts of problems.
Once you've done that you can update any boot.edn files you already have:
$ cd my-project
$ boot :fixup > build.boot # reads boot.edn and creates a build.boot from it
Please feel free to reopen this ticket if the solution doesn't work for you :)
Thanks, those instructions worked if I only do "boot watch hoplon" but if I try to run the castra-chat demo (boot watch hoplon server) I get this:
compiling:(/home/dagur/downloads/hoplon-demos/castra-chat/.boot/tmp/4974/_COLON_tailrecursion.boot_SLASH_bootscript/dir.tmp/tailrecursion/boot/user.clj:33:50) ↳ Caused by: Unable to resolve symbol: server in this context
Oops, sorry I forgot to update the README. Try
$ boot chat-demo
I'll update the README tonight.
Hi, I am trying to run the demos but only tictactoe works. The problem seems to be that none of the others have a boot.edn file. Here's the error
Exception in thread "main" java.lang.AssertionError: Assert failed: boot.edn (Configuration must be a map) (map? p1403#) at tailrecursion.boot.loader$read_config$asrt_m405.invoke(loader.clj:43) at tailrecursion.boot.loader$read_config.invoke(loader.clj:44) at tailrecursion.boot.loader$_main.doInvoke(loader.clj:100) at clojure.lang.RestFn.applyTo(RestFn.java:137) at tailrecursion.boot.loader.main(Unknown Source)