Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jartools extract command doesn't extract all files from META-INF #40456

Closed
patbaumgartner opened this issue Apr 20, 2024 · 0 comments
Closed
Assignees
Labels
type: bug A general bug
Milestone

Comments

@patbaumgartner
Copy link

patbaumgartner commented Apr 20, 2024

When running the extraction for AppCDS

java -Djarmode=tools -jar spring-petclinic-app-cds-21-3.3.0-SNAPSHOT.jar extract

I discovered that the META-INF directory was missing the `build-info.properties' file, compared to the fat JAR where it was present.
Running the app resulted in

Caused by: java.io.FileNotFoundException: class path resource [META-INF/build-info.properties] cannot be opened because it does not exist

Removing the build-info goal surpresses the issue.

@patbaumgartner patbaumgartner changed the title Extracting JAR for AppCDS is missing build-info.properties Missing build-info.properties when extracting JAR for AppCDS Apr 20, 2024
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 20, 2024
@mhalbritter mhalbritter self-assigned this Apr 22, 2024
@mhalbritter mhalbritter changed the title Missing build-info.properties when extracting JAR for AppCDS Jartools extract command doesn't extract all files from META-INF Apr 22, 2024
@mhalbritter mhalbritter added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 22, 2024
@mhalbritter mhalbritter added this to the 3.3.x milestone Apr 22, 2024
@mhalbritter mhalbritter modified the milestones: 3.3.x, 3.3.0 Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

3 participants