When there are two files which get the same path in the JAR they are both added, this doesn't cause problems in practice it seems, but its wrong and could potentially cause problems in the future, best deduplicate things before they are added to the JAR.
One problem is that you can't to jar uf job.jar something.rb.
When there are two files which get the same path in the JAR they are both added, this doesn't cause problems in practice it seems, but its wrong and could potentially cause problems in the future, best deduplicate things before they are added to the JAR.
One problem is that you can't to
jar uf job.jar something.rb
.