jarFile() — spring-boot Function Reference
Architecture documentation for the jarFile() function in AbstractBootArchiveTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 75b14524_6474_4bf9_dd04_f0e5f1303105["jarFile()"] f5718e6b_dec5_8d19_7b31_49fc741c4f60["classpathJarsArePackagedBeneathLibPathAndAreStored()"] f5718e6b_dec5_8d19_7b31_49fc741c4f60 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 d64e02f0_f526_33ec_c614_785c3f2e414f["classpathCanBeSetUsingAFileCollection()"] d64e02f0_f526_33ec_c614_785c3f2e414f -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 9770503a_b727_ab3e_a50c_22a132922cf4["classpathCanBeSetUsingAnObject()"] 9770503a_b727_ab3e_a50c_22a132922cf4 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 2cd86f53_a1c9_87bb_842d_3e5f4f935b07["unpackCommentIsAddedToEntryIdentifiedByAPattern()"] 2cd86f53_a1c9_87bb_842d_3e5f4f935b07 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 0b8a94ed_d576_95b9_d785_e6b4eb66220b["unpackCommentIsAddedToEntryIdentifiedByASpec()"] 0b8a94ed_d576_95b9_d785_e6b4eb66220b -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 23a6ac8e_0402_0859_e583_d28b52ba753d["loaderIsWrittenFirstThenApplicationClassesThenLibraries()"] 23a6ac8e_0402_0859_e583_d28b52ba753d -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 9965e018_12f2_62c4_b30a_13fa94b98091["addContent()"] 9965e018_12f2_62c4_b30a_13fa94b98091 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105 d6707113_61d0_541a_226a_16c5623dd55c["newFile()"] 75b14524_6474_4bf9_dd04_f0e5f1303105 -->|calls| d6707113_61d0_541a_226a_16c5623dd55c style 75b14524_6474_4bf9_dd04_f0e5f1303105 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java lines 595–603
protected File jarFile(String name) throws IOException {
File file = newFile(name);
try (JarOutputStream jar = new JarOutputStream(new FileOutputStream(file))) {
jar.putNextEntry(new ZipEntry("META-INF/MANIFEST.MF"));
new Manifest().write(jar);
jar.closeEntry();
}
return file;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does jarFile() do?
jarFile() is a function in the spring-boot codebase.
What does jarFile() call?
jarFile() calls 1 function(s): newFile.
What calls jarFile()?
jarFile() is called by 7 function(s): addContent, classpathCanBeSetUsingAFileCollection, classpathCanBeSetUsingAnObject, classpathJarsArePackagedBeneathLibPathAndAreStored, loaderIsWrittenFirstThenApplicationClassesThenLibraries, unpackCommentIsAddedToEntryIdentifiedByAPattern, unpackCommentIsAddedToEntryIdentifiedByASpec.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free