Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 209 for Workspace (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt

    ! go list example.com/a example.com/b
    cmpenv stderr extra_replacement_error.txt
    
    -- modules.txt.want --
    ## workspace
    # example.com/p v1.0.0 => ./p
    ## explicit; go 1.21
    # example.com/q v1.0.0 => ./q
    ## explicit; go 1.21
    -- modules.txt.required_but_not_explicit --
    ## workspace
    # example.com/p v1.0.0 => ./p
    ## go 1.21
    # example.com/q v1.0.0 => ./q
    ## explicit; go 1.21
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/CompositeProjectSubstitutionCrossVersionSpec.groovy

            when:
            withConnection { connection ->
                connection.action().projectsLoaded(new ParameterizedLoadCompositeEclipseModels(workspace, RunClosedProjectBuildDependencies), projectsLoadedHandler)
                    .buildFinished(new ParameterizedLoadCompositeEclipseModels(workspace, EclipseProject), buildFinishedHandler)
                    .build()
                    .setStandardOutput(out)
                    .forTasks()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStepConcurrencyTest.groovy

        def temporaryWorkspace1 = workspacesRoot.file("temporary-workspace-1")
        def temporaryWorkspace2 = workspacesRoot.file("temporary-workspace-2")
        def immutableWorkspaceProvider = new StubImmutableWorkspaceProvider(temporaryWorkspace1, temporaryWorkspace2)
        def work = Stub(ImmutableUnitOfWork) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:46:25 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/workspace/ImmutableWorkspaceProvider.java

     */
    
    package org.gradle.internal.execution.workspace;
    
    import java.io.File;
    
    public interface ImmutableWorkspaceProvider {
        ImmutableWorkspace getWorkspace(String path);
    
        interface ImmutableWorkspace {
            /**
             * Looks up the immutable workspace.
             */
            File getImmutableLocation();
    
            /**
             * Provides a temporary workspace and executes the given action in it.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/workspace/MutableWorkspaceProvider.java

     * limitations under the License.
     */
    
    package org.gradle.internal.execution.workspace;
    
    import org.gradle.internal.execution.history.ExecutionHistoryStore;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    public interface MutableWorkspaceProvider {
        /**
         * Provides a persistent workspace and execution history store for executing the given action in.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top