zcaudate-me / lein-repack

moved -> 'lucid.distribute'
65 stars 5 forks source link

Unable to split project for unkown reason #16

Open joodie opened 8 years ago

joodie commented 8 years ago

Hi, I'm having trouble getting lein repack to work on a project of mine.

See the "repack" branch at https://github.com/rill-event-sourcing/rill/tree/repack

In that branch, lein repack manifest will generate the following. Note the single nil branch containing all files. lein repack split will then fail with a NullPointerException.

I've no idea what's going wrong.

 {:root
  {:name "rill",
   :group "rill",
   :version "0.2.0-RC4",
   :dependencies
   [[org.clojure/clojure "1.7.0"]
    [org.clojure/core.async "0.1.338.0-5c5012-alpha"]
    [org.clojure/tools.logging "0.2.6"]
    [prismatic/schema "0.2.2"]
    [slingshot/slingshot "0.10.3"]
    [environ/environ "0.5.0"]
    [identifiers/identifiers "1.1.0"]
    [org.clojure/java.jdbc "0.3.4"]
    [postgresql/postgresql "9.1-901.jdbc4"]
    [com.taoensso/nippy "2.6.3"]
    [rill/rill. "0.2.0-RC4"]],
   :files []},
  :branches
  {nil
   {:coordinate [rill/rill. "0.2.0-RC4"],
    :files
    ["src/rill/aggregate.clj"
     "src/rill/uuid.clj"
     "src/rill/repository.clj"
     "src/rill/event_store.clj"
     "src/rill/event_store/memory.clj"
     "src/rill/handler.clj"
     "src/rill/timestamp.clj"
     "src/rill/event_stream.clj"
     "src/rill/event_channel.clj"
     "src/rill/cli.clj"
     "src/rill/temp_store.clj"
     "src/rill/event_store/psql.clj"
     "src/rill/web.clj"
     "src/rill/message.clj"],
    :dependencies
    [[org.clojure/clojure "1.7.0"]
     [com.taoensso/nippy "2.6.3"]
     [prismatic/schema "0.2.2"]
     [org.clojure/tools.logging "0.2.6"]
     [slingshot/slingshot "0.10.3"]
     [org.clojure/core.async "0.1.338.0-5c5012-alpha"]
     [org.clojure/java.jdbc "0.3.4"]
     [identifiers/identifiers "1.1.0"]],
    :version "0.2.0-RC4",
    :name "rill/rill.",
    :group "rill"}}}
zcaudate commented 8 years ago

Hey Joost,

that is strange… =/ try putting in :type :clojure in the repack map.

On 17 Dec 2015, at 4:00 PM, Joost Diepenmaat notifications@github.com wrote:

Hi, I'm having trouble getting lein repack to work on a project of mine.

See the "repack" branch at https://github.com/rill-event-sourcing/rill/tree/repack https://github.com/rill-event-sourcing/rill/tree/repack In that branch, lein repack manifest will generate the following. Note the single nil branch containing all files. lein repack split will then fail with a NullPointerException.

I've no idea what's going wrong.

{:root {:name "rill", :group "rill", :version "0.2.0-RC4", :dependencies [[org.clojure/clojure "1.7.0"] [org.clojure/core.async "0.1.338.0-5c5012-alpha"] [org.clojure/tools.logging "0.2.6"] [prismatic/schema "0.2.2"] [slingshot/slingshot "0.10.3"] [environ/environ "0.5.0"] [identifiers/identifiers "1.1.0"] [org.clojure/java.jdbc "0.3.4"] [postgresql/postgresql "9.1-901.jdbc4"] [com.taoensso/nippy "2.6.3"] [rill/rill. "0.2.0-RC4"]], :files []}, :branches {nil {:coordinate [rill/rill. "0.2.0-RC4"], :files ["src/rill/aggregate.clj" "src/rill/uuid.clj" "src/rill/repository.clj" "src/rill/event_store.clj" "src/rill/event_store/memory.clj" "src/rill/handler.clj" "src/rill/timestamp.clj" "src/rill/event_stream.clj" "src/rill/event_channel.clj" "src/rill/cli.clj" "src/rill/temp_store.clj" "src/rill/event_store/psql.clj" "src/rill/web.clj" "src/rill/message.clj"], :dependencies [[org.clojure/clojure "1.7.0"] [com.taoensso/nippy "2.6.3"] [prismatic/schema "0.2.2"] [org.clojure/tools.logging "0.2.6"] [slingshot/slingshot "0.10.3"] [org.clojure/core.async "0.1.338.0-5c5012-alpha"] [org.clojure/java.jdbc "0.3.4"] [identifiers/identifiers "1.1.0"]], :version "0.2.0-RC4", :name "rill/rill.", :group "rill"}}} — Reply to this email directly or view it on GitHub https://github.com/zcaudate/lein-repack/issues/16.

joodie commented 8 years ago

That works! :+1:

zcaudate commented 8 years ago

cool. I’ll update the readme =)

On 17 Dec 2015, at 4:11 PM, Joost Diepenmaat notifications@github.com wrote:

That works!

— Reply to this email directly or view it on GitHub https://github.com/zcaudate/lein-repack/issues/16#issuecomment-165416550.