Skip to content

Instantly share code, notes, and snippets.

@adamstegman
Created March 23, 2013 06:12
Show Gist options
  • Save adamstegman/5226664 to your computer and use it in GitHub Desktop.
Save adamstegman/5226664 to your computer and use it in GitHub Desktop.
dieter dependencies are not pulled in so I pulled them in myself. `lein dieter-precompile` reports that the task does not exist, `lein with-profile dev dieter-precompile` reports the same.
(defproject melnitz "1.0.0-SNAPSHOT"
:description "Sorts the mail (from an Exchange server) and presents it in a dashboard so you can act on it instead of trying to figure out threads on your own."
:url "http://github.com/adamstegman/melnitz"
:dependencies [[com.edgecase/dieter "0.4.0"]
[commons-httpclient/commons-httpclient "3.1"]
[commons-logging/commons-logging-api "1.1"]
[microsoft.exchange/webservices "1.2"]
[org.clojure/clojure "1.4.0"]
[org.samba.jcifs/jcifs "1.3.3"]
[cheshire "5.0.2"]
[clj-yaml "0.4.0"]
[compojure "1.1.5"]
[fleet "0.10.1"]
; dieter dependencies
[ring/ring-core "1.1.8"]
[clj-time "0.4.4"]
[com.google.javascript/closure-compiler "r1592"]
[clj-v8 "0.1.4"]
[clj-v8-native "0.1.4"]
[org.mozilla/rhino "1.7R4"]
[org.clojure/clojure "1.4.0"]]
:repositories {"project" "file:repo"}
:plugins [[lein-ring "0.8.2"]]
:ring {:handler melnitz.handler/app}
:profiles
{:dev {:dependencies [[ring-mock "0.1.3"]
[lein-dieter-precompile "0.2.0"]]}})
@adamstegman
Copy link
Author

Note: I uploaded dieter to my local repository so I could use master instead of the released version, 0.3.0. The transitive dependencies worked fine when pulling from clojars.org, but not when reading the jar locally.

@michaelklishin
Copy link

Do I understand it correctly that the issue is with Dieter from master not pulling down its dependencies because it is installed into the local repo (presumably with lein install)?

If so, I'd recommend pushing your own jar to clojars (say, as adamstegman/dieter) or using Leiningen checkouts until you can get EdgeCase developers to cut a new release (0.4.0-beta1).

Another option is to use Leiningen checkouts feature. Both checkouts and artifact publishing are described in the Leiningen tutorial. You will need a clojars.org account, everything else is pretty straightforward (not harder than publishing a gem).

If you go with publishing your own Dieter artifact, please make sure to use your own group name!

@adamstegman
Copy link
Author

Aha, lein install worked! I wasn't aware of that command. I was using mvn deploy:deploy-file. This worked and was much easier. Thank you! Now if I can get dieter to return me the correct asset paths, I'll be in business.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment