Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ImportFrom (0.1 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                    for (String exportedPackage : exportedPackages) {
                        extRealm.importFrom(realm, exportedPackage);
                    }
                    if (exportedPackages.isEmpty()) {
                        // sisu uses realm imports to establish component visibility
                        extRealm.importFrom(realm, realm.getId());
                    }
                }
    
                return extRealm;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) {
                realm.importFrom(parentRealm, "");
            } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
                coreExports.getExportedPackages().forEach((p, cl) -> realm.importFrom(cl, p));
                providedArtifacts = coreExports.getExportedArtifacts();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. src/cmd/api/api_test.go

    		t.Skip("skipping with -check set")
    	}
    	testenv.MustHaveGoBuild(t)
    
    	warmupCache()
    
    	for _, context := range contexts {
    		w := NewWalker(context, "testdata/src/issue29837")
    		_, err := w.ImportFrom("p", "", 0)
    		if _, nogo := err.(*build.NoGoError); !nogo {
    			t.Errorf("expected *build.NoGoError, got %T", err)
    		}
    	}
    }
    
    func TestIssue41358(t *testing.T) {
    	if *flagCheck {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    // Import implements types.Importer.
    func (w *Walker) Import(name string) (*types.Package, error) {
    	return w.ImportFrom(name, "", 0)
    }
    
    // ImportFrom implements types.ImporterFrom.
    func (w *Walker) ImportFrom(fromPath, fromDir string, mode types.ImportMode) (*types.Package, error) {
    	pkg, err := w.importFrom(fromPath, fromDir, mode)
    	if err != nil {
    		return nil, err
    	}
    	return pkg.Package, nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

                    ClassLoader importedRealm = entry.getValue();
                    String imp = entry.getKey();
    
                    logger.debug("  Imported: {} < {}", imp, getId(importedRealm));
    
                    classRealm.importFrom(importedRealm, imp);
                }
            }
    
            if (parentImports != null && !parentImports.isEmpty()) {
                logger.debug("Importing parent packages into class realm {}", classRealm.getId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    for (String exportedPackage : exportedPackages) {
                        extRealm.importFrom(realm, exportedPackage);
                    }
                    if (exportedPackages.isEmpty()) {
                        // sisu uses realm imports to establish component visibility
                        extRealm.importFrom(realm, realm.getId());
                    }
                }
    
                return extRealm;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top