Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 133 for createFile2 (0.17 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        protected int maxDuplicatedPath = 100;
    
        protected String charsetName = Constants.UTF_8;
    
        /**
         * A directory to store downloaded files.
         */
        protected File baseDir;
    
        protected File createFile(final String path) {
            final String[] paths = path.split("/");
            File targetFile = baseDir;
            for (int i = 0; i < paths.length - 1; i++) {
                File file = new File(targetFile, paths[i]);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DownloadableGradleDistribution.groovy

                    System.out.println("unzipping ${distributionZip} to ${gradleHomeDir}")
                    distributionZip.usingNativeTools().unzipTo(versionDir)
    
                    markerFile.createFile()
                }
            }
    
            distributionZip.assertIsFile()
            gradleHomeDir.assertIsDir()
        }
    
        abstract protected URL getDownloadURL();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

        }
    
        def "ignores jars which have the same prefix as an external module"() {
            given:
            distDir.createFile("dep-launcher-1.2.jar")
            distDir.createFile("dep-launcher-1.2-beta-3.jar")
            def registry = new DefaultModuleRegistry(classLoaderFor([]), ClassPath.EMPTY, new GradleInstallation(distDir))
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildRegistryTest.groovy

            given:
            def rootDir = tmpDir.createDir("root")
            rootDir.file("buildSrc/build.gradle").createFile()
    
            def rootBuild = rootBuild(rootDir)
            registry.attachRootBuild(rootBuild)
    
            def parentDir = rootDir.file("parent").createDir()
            parentDir.file("buildSrc/build.gradle").createFile()
    
            def parentDefinition = build(parentDir, "parent")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 14:36:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/nio/PosixJdk7FilePermissionHandlerTest.groovy

        @Rule TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass())
    
        def "test chmod on non windows platforms with JDK7"() {
            setup:
            def file = temporaryFolder.createFile("testFile")
            def handler = new PosixJdk7FilePermissionHandler()
            when:
            handler.chmod(file, mode);
            then:
            mode == handler.getUnixMode(file);
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. cmd/storage-rest-common.go

    	storageRESTPrefix        = minioReservedBucketPath + "/storage"
    )
    
    const (
    	storageRESTMethodHealth = "/health"
    
    	storageRESTMethodAppendFile     = "/appendfile"
    	storageRESTMethodCreateFile     = "/createfile"
    	storageRESTMethodWriteAll       = "/writeall"
    	storageRESTMethodReadVersion    = "/readversion"
    	storageRESTMethodReadXL         = "/readxl"
    	storageRESTMethodReadAll        = "/readall"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

        }
    
        @Requires(UnitTestPreconditions.FilePermissions)
        def "stat a file in an unreadable directory"() {
            def unreadableDir = tmpDir.createDir("unreadableDir")
            def fileInDir = unreadableDir.createFile("inDir")
            unreadableDir.makeUnreadable()
    
            expect:
            def stat = accessor.stat(fileInDir)
            stat.type == FileType.RegularFile
            assertSameLastModified(stat, fileInDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle').createFile()
            producer.file('build.gradle') << """
                plugins {
                    id('java-gradle-plugin')
                    id('maven-publish')
                }
    
                group = "com.example"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestWorkspaceBuilder.groovy

            dir(name).create(cl)
        }
    
        TestFile file(String name) {
            baseDir.file(name).createFile()
        }
    
        TestFile link(String name, String target) {
            baseDir.file(name).createLink(target)
        }
    
        def setMode(int mode) {
            baseDir.mode = mode
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

                task buildInBuild(type:GradleBuild) {
                    dir = 'other'
                    startParameter.projectProperties['foo'] = true // not a String
                }
            """
            file('other/settings.gradle').createFile()
            file('other/build.gradle') << 'assert foo==true'
    
            when:
            run 'buildInBuild'
    
            then:
            noExceptionThrown()
        }
    
        def "can set build path"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top