Created
October 31, 2010 19:44
-
-
Save Munksgaard/657042 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
philip@philip-VirtualBox:~/tmp$ cake new test | |
[new] Creating a new project based on ~/.cake/templates/default | |
[new] Copying 4 files to /home/philip/tmp/test | |
[new] Copied 4 empty directories to 1 empty directory under /home/philip/tmp/test | |
[new] Renaming directories with +project+ in their name | |
[new] Replacing +project+ with 'test' in all files. | |
philip@philip-VirtualBox:~/tmp$ cd test | |
philip@philip-VirtualBox:~/tmp/test$ vim project.clj | |
philip@philip-VirtualBox:~/tmp/test$ cat project.clj | |
(defproject test "0.0.1-SNAPSHOT" | |
:description "TODO: add summary of your project" | |
:dependencies [[clojure "1.3.0-alpha2-SNAPSHOT"]] | |
:dev-dependencies [[swank-clojure "1.3.0-SNAPSHOT"]]) | |
philip@philip-VirtualBox:~/tmp/test$ cake deps | |
[pom] creating pom.xml | |
[deps] Fetching dependencies... | |
[deps] Copying 1 file to /home/philip/tmp/test/build/lib | |
[deps] Copying 1 file to /home/philip/tmp/test/build/lib/dev | |
[deps] Deleting directory /home/philip/tmp/test/lib | |
[deps] Attempting to rename dir: /home/philip/tmp/test/build/lib to /home/philip/tmp/test/lib | |
[clean] Deleting /home/philip/tmp/test/.cake/run/pom | |
[deps] Restarting project jvm | |
philip@philip-VirtualBox:~/tmp/test$ cake | |
Var *project-root* not marked :dynamic true, setting to :dynamic. You should fix this before next release! | |
Var *context* not marked :dynamic true, setting to :dynamic. You should fix this before next release! | |
Var *config* not marked :dynamic true, setting to :dynamic. You should fix this before next release! | |
Var *trace-level* not marked :dynamic true, setting to :dynamic. You should fix this before next release! | |
------------------------------------------- | |
cake autotest ;; Automatically run tests whenever your project code changes. | |
cake bin ;; Create a standalone console executable for your project. | |
cake clean ;; Remove cake build artifacts. | |
cake compile ;; Compile all clojure and java source files. Use 'cake compile force' to recompile. | |
cake deploy ;; Deploy project to a group of servers. | |
cake deps ;; Fetch dependencies and dev-dependencies. Use 'cake deps force' to refetch. | |
cake eval ;; Eval the given forms in the project JVM. | |
cake file ;; Invoke a file task. | |
cake filter ;; Thread each line in stdin through the given forms, printing the results. | |
cake help ;; Print tasks with documentation. Use 'cake help TASK' for more details. | |
cake install ;; Install jar to local repository. | |
cake jar ;; Build a jar file containing project source and class files. | |
cake killall ;; Kill all running cake jvm processes for all projects. | |
cake pom ;; Generate pom.xml from project.clj. | |
cake release ;; Release project jar to clojars. | |
cake repl ;; Start an interactive shell with history and tab completion. | |
cake run ;; Execute a script in the project jvm. | |
cake swank ;; Report status of swank server and start it if not running. | |
cake tag ;; Create a git tag for the current version. | |
cake test ;; Run project tests. | |
cake uberjar ;; Create a standalone jar containing all project dependencies. | |
cake uberwar ;; Create a web archive containing all project dependencies. | |
cake upgrade ;; Upgrade cake to the most current version. | |
cake version ;; Display project version. Use 'bump [--major --minor --patch --snapshot]' to increment. | |
cake war ;; Create a web archive containing project source and class files. | |
-- system tasks --------------------------- | |
cake kill ;; Kill running cake jvm processes. Use -9 to force. | |
cake ps ;; List running cake jvm processes for all projects. | |
cake reload ;; Reload any .clj files that have changed or restart. | |
cake restart ;; Restart cake jvm processes. | |
cake start ;; Start cake jvm processes. | |
cake stop ;; Stop cake jvm processes. | |
philip@philip-VirtualBox:~/tmp/test$ Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalAccessError: *connections* does not exist | |
at clojure.lang.Compiler.eval(Compiler.java:6179) | |
at clojure.lang.Compiler.load(Compiler.java:6601) | |
at clojure.lang.RT.loadResourceScript(RT.java:340) | |
at clojure.lang.RT.loadResourceScript(RT.java:331) | |
at clojure.lang.RT.load(RT.java:409) | |
at clojure.lang.RT.load(RT.java:381) | |
at clojure.core$load$fn__4403.invoke(core.clj:5339) | |
at clojure.core$load.doInvoke(core.clj:5338) | |
at clojure.lang.RestFn.invoke(RestFn.java:409) | |
at clojure.core$load_one.invoke(core.clj:5163) | |
at clojure.core$load_lib.doInvoke(core.clj:5200) | |
at clojure.lang.RestFn.applyTo(RestFn.java:143) | |
at clojure.core$apply.invoke(core.clj:599) | |
at clojure.core$load_libs.doInvoke(core.clj:5234) | |
at clojure.lang.RestFn.applyTo(RestFn.java:138) | |
at clojure.core$apply.invoke(core.clj:599) | |
at clojure.core$require.doInvoke(core.clj:5303) | |
at clojure.lang.RestFn.invoke(RestFn.java:458) | |
at bake.core$eval695$loading__4302__auto____696.invoke(core.clj:1) | |
at bake.core$eval695.invoke(core.clj:1) | |
at clojure.lang.Compiler.eval(Compiler.java:6168) | |
at clojure.lang.Compiler.eval(Compiler.java:6159) | |
at clojure.lang.Compiler.load(Compiler.java:6601) | |
at clojure.lang.RT.loadResourceScript(RT.java:340) | |
at clojure.lang.RT.loadResourceScript(RT.java:331) | |
at clojure.lang.RT.load(RT.java:409) | |
at clojure.lang.RT.load(RT.java:381) | |
at clojure.core$load$fn__4403.invoke(core.clj:5339) | |
at clojure.core$load.doInvoke(core.clj:5338) | |
at clojure.lang.RestFn.invoke(RestFn.java:409) | |
at clojure.core$load_one.invoke(core.clj:5163) | |
at clojure.core$load_lib.doInvoke(core.clj:5200) | |
at clojure.lang.RestFn.applyTo(RestFn.java:143) | |
at clojure.core$apply.invoke(core.clj:599) | |
at clojure.core$load_libs.doInvoke(core.clj:5234) | |
at clojure.lang.RestFn.applyTo(RestFn.java:138) | |
at clojure.core$apply.invoke(core.clj:599) | |
at clojure.core$require.doInvoke(core.clj:5303) | |
at clojure.lang.RestFn.invoke(RestFn.java:409) | |
at user$eval691.invoke(NO_SOURCE_FILE:1) | |
at clojure.lang.Compiler.eval(Compiler.java:6168) | |
at clojure.lang.Compiler.eval(Compiler.java:6135) | |
at clojure.core$eval.invoke(core.clj:2689) | |
at clojure.main$eval_opt.invoke(main.clj:230) | |
at clojure.main$initialize.invoke(main.clj:249) | |
at clojure.main$null_opt.invoke(main.clj:282) | |
at clojure.main$main.doInvoke(main.clj:360) | |
at clojure.lang.RestFn.invoke(RestFn.java:422) | |
at clojure.lang.Var.invoke(Var.java:405) | |
at clojure.lang.AFn.applyToHelper(AFn.java:165) | |
at clojure.lang.Var.applyTo(Var.java:518) | |
at clojure.main.main(main.java:37) | |
Caused by: java.lang.IllegalAccessError: *connections* does not exist | |
at clojure.core$refer.doInvoke(core.clj:3662) | |
at clojure.lang.RestFn.applyTo(RestFn.java:140) | |
at clojure.core$apply.invoke(core.clj:599) | |
at clojure.core$load_lib.doInvoke(core.clj:5215) | |
at clojure.lang.RestFn.applyTo(RestFn.java:143) | |
at clojure.core$apply.invoke(core.clj:599) | |
at clojure.core$load_libs.doInvoke(core.clj:5234) | |
at clojure.lang.RestFn.applyTo(RestFn.java:138) | |
at clojure.core$apply.invoke(core.clj:601) | |
at clojure.core$use.doInvoke(core.clj:5314) | |
at clojure.lang.RestFn.invoke(RestFn.java:422) | |
at bake.swank$eval828$loading__4302__auto____829.invoke(swank.clj:10) | |
at bake.swank$eval828.invoke(swank.clj:10) | |
at clojure.lang.Compiler.eval(Compiler.java:6168) | |
... 51 more | |
^C | |
philip@philip-VirtualBox:~/tmp/test$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment