Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 292 for Workspace (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/internal/workcmd/sync.go

    specified in the workspace (with use directives).
    
    The syncing is done by sequentially upgrading each of the dependency
    modules specified in a workspace module to the version in the build list
    if the dependency module's version is not already the same as the build
    list's version. Note that Minimal Version Selection guarantees that the
    build list's version of each module is always the same or higher than
    that in each workspace module.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 4.6K 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/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java

                    public Object getOutput(File workspace) {
                        return loadAlreadyProducedOutput(workspace);
                    }
                };
            }
    
            @Override
            public Object loadAlreadyProducedOutput(File workspace) {
                File srcDir = new File(workspace, OUT_SOURCES);
                File dstDir = new File(workspace, OUT_CLASSES);
                return new GeneratedAccessors(srcDir, dstDir);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 26.4K 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