Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ImportFrom (0.14 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. api/go1.6.txt

    pkg go/types, method (*Package) SetName(string)
    pkg go/types, type ImportMode int
    pkg go/types, type ImporterFrom interface { Import, ImportFrom }
    pkg go/types, type ImporterFrom interface, Import(string) (*Package, error)
    pkg go/types, type ImporterFrom interface, ImportFrom(string, string, ImportMode) (*Package, error)
    pkg html/template, func IsTrue(interface{}) (bool, bool)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  6. 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)
  7. 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