Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for findProjectDir (0.82 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestProjectLocator.groovy

     */
    
    package org.gradle.performance.fixture
    
    import groovy.transform.CompileStatic
    import org.gradle.test.fixtures.dsl.GradleDsl
    
    @CompileStatic
    class TestProjectLocator {
    
        static File findProjectDir(String name) {
            def dir = new File("build/$name").absoluteFile
            if (!dir.directory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/WithExternalRepository.groovy

    import org.gradle.performance.fixture.TestProjectLocator
    
    @CompileStatic
    trait WithExternalRepository {
        Server server
        int serverPort
    
        File getRepoDir() {
            new File(TestProjectLocator.findProjectDir(runner.testProject), 'repository')
        }
    
        abstract CrossVersionPerformanceTestRunner getRunner()
    
        WebAppContext createContext() {
            def context = new WebAppContext()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/TestProjects.groovy

     */
    
    package org.gradle.performance.fixture
    
    class TestProjects {
        static void validateTestProject(String testProject) {
            File gradlePropertiesFile = new File(TestProjectLocator.findProjectDir(testProject), "gradle.properties")
            if (!gradlePropertiesFile.exists()) {
                throw new IllegalArgumentException("Every test project needs to provide a gradle.properties file with memory and parallelism settings")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractBuildExperimentRunner.java

        private static void copyTemplateTo(BuildExperimentSpec experiment, File workingDir) {
            try {
                File templateDir = TestProjectLocator.findProjectDir(experiment.getProjectName());
                FileUtils.cleanDirectory(workingDir);
                FileUtils.copyDirectory(templateDir, workingDir);
            } catch (IOException ex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top