riddley icon indicating copy to clipboard operation
riddley copied to clipboard

Riddley appears to be incompatible with the mranderson

Open byrongibby opened this issue 5 years ago • 0 comments

Riddley appears to be incompatible with mranderson

It seems that the cause is related to the fact that

both walk.clj and compiler.clj is duplicated which I guess confuses mranderson when it unzips the jar. I am guessing the reason the jar is looks like this is this line in riddley's project file: :java-source-paths ["src/riddley"]

in riddley 0.1.12 (but a similar error is produced in 0.2.0 by mranderson you can view the error here: https://github.com/benedekfazekas/mranderson/issues/44#)

.m2/repository/riddley/riddley/0.1.12/riddley-0.1.12.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
      117  01-05-2016 23:37   META-INF/MANIFEST.MF
     2683  01-05-2016 23:37   META-INF/maven/riddley/riddley/pom.xml
      561  01-05-2016 23:37   META-INF/leiningen/riddley/riddley/project.clj
      561  01-05-2016 23:37   project.clj
     2135  01-05-2016 23:37   META-INF/leiningen/riddley/riddley/README.md
        0  01-05-2016 23:37   META-INF/
        0  01-05-2016 23:37   META-INF/maven/
        0  01-05-2016 23:37   META-INF/maven/riddley/
        0  01-05-2016 23:37   META-INF/maven/riddley/riddley/
      143  01-05-2016 23:37   META-INF/maven/riddley/riddley/pom.properties
        0  01-05-2016 23:37   riddley/
     1040  01-05-2016 23:37   riddley/Util.class
     6148  09-07-2013 11:11   riddley/.DS_Store
     2098  10-30-2013 16:15   riddley/compiler.clj
      495  09-01-2013 22:03   riddley/Util.java
     8564  01-05-2016 15:26   riddley/walk.clj
     2098  10-30-2013 16:15   compiler.clj
      495  09-01-2013 22:03   Util.java
     8564  01-05-2016 15:26   walk.clj
---------                     -------
    35702                     19 files

It could be argued that that the uberjar should not look like this. What is the rationale for this and could it be 'fixed'?

byrongibby avatar Aug 06 '19 09:08 byrongibby