Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 426 for setPath (0.28 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultCommandLineToolInvocation.java

            return oplogger;
        }
    
        @Override
        public File getWorkDirectory() {
            return workDirectory;
        }
    
        @Override
        public List<File> getPath() {
            return context.getPath();
        }
    
        @Override
        public Map<String, String> getEnvironment() {
            return context.getEnvironment();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractSpockTaskTest.groovy

            Task task = createTask(project, TEST_TASK_NAME)
    
            then:
            Project.PATH_SEPARATOR + TEST_TASK_NAME ==  task.getPath()
    
            when:
            task = createTask(childProject, TEST_TASK_NAME)
    
            then:
            Project.PATH_SEPARATOR + "child" + Project.PATH_SEPARATOR + TEST_TASK_NAME ==  task.getPath()
    
            when:
            task = createTask(childchildProject, TEST_TASK_NAME)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 23 14:27:55 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/FileValueSnapshot.java

    import javax.annotation.Nullable;
    import java.io.File;
    
    public class FileValueSnapshot extends AbstractScalarValueSnapshot<String> implements Isolatable<File> {
        public FileValueSnapshot(File value) {
            super(value.getPath());
        }
    
        public FileValueSnapshot(String value) {
            super(value);
        }
    
        @Override
        public ValueSnapshot asSnapshot() {
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/project/DeferredProjectConfiguration.java

            this.project = project;
        }
    
        public void add(Runnable configuration) {
            if (fired) {
                String message = "Cannot add deferred configuration for project " + project.getPath();
                if (firedSentinel == null) {
                    throw new IllegalStateException(message);
                } else {
                    throw new IllegalStateException(message, firedSentinel);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/projection/ManagedModelProjection.java

            final DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), getType(), ruleDescriptor, writable, true);
            return new ModelView<M>() {
                private final Map<String, Object> propertyViews = new HashMap<String, Object>();
    
                @Override
                public ModelPath getPath() {
                    return modelNode.getPath();
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/RuleBinder.java

                            modelBinding.referrer,
                            node.getPath(),
                            predicate.getState().previous(),
                            node.getState()
                        ));
                    }
                    maybeFire();
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return getPathForLocalArtifact(artifact);
        }
    
        public String getPathForLocalMetadata(Metadata metadata) {
            return getPath(metadata, "local");
        }
    
        public String getPathForRemoteMetadata(Metadata metadata, RemoteRepository repository, String context) {
            return getPath(metadata, getRepositoryKey(repository, context));
        }
    
        String getRepositoryKey(RemoteRepository repository, String context) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultBuildResult.java

        public List<String> taskPaths(TaskOutcome outcome) {
            return Collections.unmodifiableList(CollectionUtils.collect(tasks(outcome), BuildTask::getPath));
        }
    
        @Nullable
        @Override
        public BuildTask task(String taskPath) {
            for (BuildTask task : tasks) {
                if (task.getPath().equals(taskPath)) {
                    return task;
                }
            }
    
            return null;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top