Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 299 for workspace$ (0.14 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/WorkspaceResult.java

        private final File workspace;
    
        public WorkspaceResult(CachingResult parent, @Nullable File workspace) {
            super(parent);
            this.workspace = workspace;
        }
    
        @Override
        public <T> Try<T> getOutputAs(Class<T> type) {
            return getExecution()
                .map(execution -> execution.getOutput(workspace))
                .map(type::cast);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 18:58:57 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStoreTest.groovy

            when:
            store.storeWorkspaceMetadata(workspace, metadata)
    
            then:
            workspace.file("metadata.bin").assertIsFile()
    
            when:
            def loadedMetadata = store.loadWorkspaceMetadata(workspace)
    
            then:
            loadedMetadata == metadata
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/workspace/impl/NonLockingMutableWorkspaceProvider.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.execution.workspace.impl;
    
    import org.gradle.internal.execution.history.ExecutionHistoryStore;
    import org.gradle.internal.execution.workspace.MutableWorkspaceProvider;
    
    import java.io.File;
    
    public class NonLockingMutableWorkspaceProvider implements MutableWorkspaceProvider {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformExecutionResult.java

     * There are two kinds of outputs for a transform:
     * - Produced outputs in the workspace. Those are relative paths depending on the workspace root, independent of the input artifact.
     * - Selected parts of the input artifact. These are relative paths of locations selected in the input artifact, independent of the workspace directory.
     *
     * The workspace can be relocated for immutable transform executions, and the input artifact can change.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/scripts/BuildScriptCompilationAndInstrumentation.java

        }
    
        @Override
        public WorkOutput execute(ExecutionRequest executionRequest) {
            File workspace = executionRequest.getWorkspace();
            File compileOutput = compile(workspace);
            instrument(compileOutput, instrumentedOutput(workspace));
            return new UnitOfWork.WorkOutput() {
                @Override
                public WorkResult getDidWork() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/scopeids/PersistentScopeIdLoaderTest.groovy

            and:
            id == newId
        }
    
        def "generates workspace ID in expected location"() {
            given:
            def newId = UniqueId.generate()
    
            when:
            def id = loader.workspace.id
    
            then:
            1 * buildTreeScopedCacheBuilderFactory.baseDirForCrossVersionCache("workspace-id.txt") >> storeFile
    
            and:
            1 * storeFactory.create(storeFile, _) >> store
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 18:14:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultImmutableWorkspaceMetadataStore.java

            } catch (IOException e) {
                throw new UncheckedIOException("Could not read workspace metadata from " + metadataFile, e);
            }
        }
    
        @Override
        public void storeWorkspaceMetadata(File workspace, ImmutableWorkspaceMetadata metadata) {
            File metadataFile = new File(workspace, METADATA_FILE);
            //noinspection IOStreamConstructor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 14:27:26 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/work_reject_modfile.txt

    # Test that -modfile=path/to/go.mod is rejected in workspace mode.
    
    ! go list -m -modfile=./a/go.alt.mod
    stderr 'go: -modfile cannot be used in workspace mode'
    
    env GOFLAGS=-modfile=./a/go.alt.mod
    ! go list -m
    stderr 'go: -modfile cannot be used in workspace mode'
    
    -- go.work --
    go 1.20
    
    use (
        ./a
    )
    
    -- a/go.mod --
    module example.com/foo
    
    go 1.20
    
    -- a/go.alt.mod --
    module example.com/foo
    
    go 1.20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 17:42:47 UTC 2023
    - 495 bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy

    import org.gradle.internal.execution.workspace.ImmutableWorkspaceProvider
    
    import java.time.Duration
    import java.util.concurrent.CountDownLatch
    import java.util.function.BiFunction
    
    class AssignImmutableWorkspaceStepConcurrencyTest extends StepSpecBase<IdentityContext> {
        def workspacesRoot = temporaryFolder.file("workspaces").createDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:25 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_vendor_modules_txt_conditional.txt

    # mode if the modules.txt specifies ## workspace (and only in
    # standard vendor if it doesn't).
    
    # vendor directory produced for workspace, workspace mode
    # runs in mod=vendor
    go work vendor
    cmp vendor/modules.txt want_workspace_modules_txt
    go list -f {{.Dir}} example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    
    # vendor directory produced for workspace, module mode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top