cbeust / kobalt

A Kotlin-based build system for the JVM.
Apache License 2.0
428 stars 60 forks source link

Assembling JAR file creates multiple manifest files #505

Open knight-robert opened 5 years ago

knight-robert commented 5 years ago

screenshot

I am getting java.lang.ExceptionInitializerError when I try to run from the console--works fine in IDE.

Took a look at the contents of the JAR file and found multiple manifest files (META-INF). I am not sure if that is how it is supposed to be, but I always assumed there can only be one manifest file per JAR file.

I think this is an issue, but if not, I can close this.

knight-robert commented 5 years ago

Just noticed the folder kobaltBuild/ also has a META-INF/ directory.

cbeust commented 5 years ago

How can I reproduce this, do you have project I can clone?

knight-robert commented 5 years ago

Sorry for delay. I'm used to subversion. Link below.

https://github.com/whiteknight-/First