- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for targetFiles (0.15 sec)
-
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/SimpleTemplateOperationSpec.groovy
} def "writes file from template with binding support"() { setup: def targetFile = new File(temporaryFolder, "test.out") def templateURL = getClass().getResource("SimpleTemplateOperationSpec-binding.template") def templateOperation = new SimpleTemplateOperation(templateURL, targetFile, [someBindedValue: new TemplateValue("someTemplateValue")]) when: templateOperation.generate()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:47:19 UTC 2023 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemLeafSnapshotTest.groovy
def targetFile = temporaryFolder.file("target.txt") def sourceSnapshot = createInitialRootNode(sourceFile.absolutePath, DIRECT) when: def targetSnapshot = sourceSnapshot.relocate(targetFile.absolutePath, stringInterner) then: targetSnapshot.present targetSnapshot.get().absolutePath == targetFile.absolutePath
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 13:19:32 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/TemplateFactoryTest.groovy
when: factory.fromSourceTemplate("someTemplate/SomeClazz.somelang.template", sourceSet) then: 1 * targetDir.file(target) >> targetFile 1 * targetFile.asFile >> targetAsFile 1 * templateOperationFactory.newTemplateOperation() >> templateOperationBuilder
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 20:26:42 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/resources/ApiTextResourceAdapter.java
return file; } File targetFile = tempFileProvider.createTemporaryFile("uriTextResource", ".txt", "resource"); try { Files.asCharSource(file, sourceCharset).copyTo(Files.asCharSink(targetFile, targetCharsetObj)); return targetFile; } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 02 16:14:10 UTC 2021 - 5K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
lock.writeLock().unlock(); } }); } private void storeInsideLock(HashCode key, File sourceFile) { File targetFile = getCacheEntryFile(key); try { Files.move(sourceFile.toPath(), targetFile.toPath(), StandardCopyOption.ATOMIC_MOVE); } catch (FileAlreadyExistsException ignore) { // We already have the file in the build cache
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/FileCopyActionTest.groovy
) } private FileCopyDetailsInternal file(final RelativePath relativePath, final File targetFile) { final FileCopyDetailsInternal details = Mock(FileCopyDetailsInternal) _ * details.relativePath >> relativePath 1 * details.copyTo(targetFile) 0 * details._ return details }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 06 01:29:26 UTC 2020 - 1.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
} finally { server.stop(); } } public void test_execute_file_maxCount() throws Exception { final File targetFile = ResourceUtil.getResourceAsFile("test"); String path = targetFile.getAbsolutePath(); if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } final String url = "file:" + path;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 18K bytes - Viewed (0) -
build-logic/packaging/src/main/kotlin/gradlebuild.shaded-jar.gradle.kts
} } tasks.register<Copy>("install${project.name.kebabToPascal()}ShadedJar") { from(shadedJarTask.map { it.jarFile }) into(provider { targetFile().parentFile }) rename { targetFile().name } } } fun addShadedJarVariant(shadedJarTask: TaskProvider<ShadedJar>) { val implementation by configurations val shadedImplementation by configurations.creating {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 8K bytes - Viewed (0)