- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 87 for unzipTo (0.31 sec)
-
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesWebProjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaCustomizedLayoutIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.sample.PersonSpec') // Check contents of Jar TestFile jarContents = file('jar') projectDir.file("build/libs/customized-layout-1.0.jar").unzipTo(jarContents) jarContents.assertHasDescendants( 'META-INF/MANIFEST.MF', 'org/gradle/sample/Named.class', 'org/gradle/sample/Person.class' )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/zip.kt
size = bytes.size.toLong() } ) zos.write(bytes) zos.closeEntry() } } } fun unzipTo(outputDirectory: File, zipFile: File) { ZipFile(zipFile).use { zip -> for (entry in zip.entries()) { unzipEntryTo(outputDirectory, zip, entry) } } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 31 20:39:17 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesApplicationIntegrationTest.groovy
succeeds('distZip') then: def distFile = dslDir.file('build/distributions/my-app-1.0.2.zip') distFile.assertIsFile() def installDir = dslDir.file('unzip') distFile.usingNativeTools().unzipTo(installDir) checkApplicationImage(installDir.file('my-app-1.0.2'), executableDir) where: dsl << ['groovy', 'kotlin'] executableDir << ['bin', 'customBin']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperLoggingIntegrationTest.groovy
given: "malformed distribution" // Repackage distribution with bin/gradle removed so permissions cannot be set TestFile tempUnzipDir = temporaryFolder.createDir("temp-unzip") distribution.binDistribution.unzipTo(tempUnzipDir) assert tempUnzipDir.file("gradle-${distribution.version.baseVersion.version}", "bin", "gradle").delete() TestFile tempZipDir = temporaryFolder.createDir("temp-zip-foo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesScalaQuickstartIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.sample.PersonSpec') // Check contents of Jar TestFile jarContents = file('jar') projectDir.file("build/libs/quickstart.jar").unzipTo(jarContents) jarContents.assertHasDescendants( 'META-INF/MANIFEST.MF', 'org/gradle/sample/Named.class', 'org/gradle/sample/Person.class' )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesMixedJavaAndScalaIntegrationTest.groovy
result.assertTestClassesExecuted('org.gradle.sample.PersonSpec') // Check contents of Jar TestFile jarContents = file('jar') projectDir.file("build/libs/mixed-java-and-scala-1.0.jar").unzipTo(jarContents) jarContents.assertHasDescendants( 'META-INF/MANIFEST.MF', 'org/gradle/sample/JavaPerson.class', 'org/gradle/sample/Named.class',
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy
buildFile << """ apply plugin: 'ear' dependencies { deploy files('moduleA.jar', 'moduleB.war') } """ when: run 'assemble' file("build/libs/root.ear").unzipTo(file("unzipped")) then: def appXml = new XmlSlurper().parse( file('unzipped/META-INF/application.xml')) def modules = appXml.module modules[0].ejb.text() == 'moduleA.jar'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 17.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy
try { unzipTo(zippedFile, unzipDir) } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e) } } static void unzipTo(File inputZip, File unzipDir) throws IOException { inputZip.withInputStream { stream ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 18.4K bytes - Viewed (0)