• Andy Wilkinson's avatar
    Honor unpack for war files · f761916b
    Andy Wilkinson authored
    Previously repackaging of an archive was performed in three steps:
    
    1. Write the manifest
    2. Write entries from the source archive into the destination
    3. Write any libraries into the destination if they’re not already there
    
    This worked fine for jar files, but not for war files. In the war file
    case the libraries are already in the source archive’s WEB-INF/lib
    directory so they’re copied into the destination in step 2. This means
    that step 3 largely becomes a no-op and, crucially, the UNPACK comment
    is not applied to any libraries that require it.
    
    This commit reorders steps 2 and 3 so that the libraries are copied into
    the destination first (allowing the UNPACK comment to be written, if
    required) and then any entries in the source are written into the
    destination if they’re not already there.
    
    Fixes gh-2588
    f761916b
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...