Search in sources :

Example 6 with Overrides

use of org.eclipse.ceylon.cmr.api.Overrides in project ceylon by eclipse.

the class AbstractCeylonArtifactResult method resolve.

protected ModuleInfo resolve() {
    if (!resolved) {
        Overrides overrides = ((CmrRepository) repository()).getRoot().getService(Overrides.class);
        this.infos = Configuration.getResolvers(manager).resolve(this, overrides);
        resolved = true;
    }
    return infos;
}
Also used : Overrides(org.eclipse.ceylon.cmr.api.Overrides)

Aggregations

Overrides (org.eclipse.ceylon.cmr.api.Overrides)6 IOException (java.io.IOException)2 ArrayList (java.util.ArrayList)2 HashMap (java.util.HashMap)2 ArtifactOverrides (org.eclipse.ceylon.cmr.api.ArtifactOverrides)2 Module (org.eclipse.ceylon.model.typechecker.model.Module)2 ModuleImport (org.eclipse.ceylon.model.typechecker.model.ModuleImport)2 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 HashSet (java.util.HashSet)1 ArtifactContext (org.eclipse.ceylon.cmr.api.ArtifactContext)1 CmrRepository (org.eclipse.ceylon.cmr.api.CmrRepository)1 DependencyOverride (org.eclipse.ceylon.cmr.api.DependencyOverride)1 MavenArtifactContext (org.eclipse.ceylon.cmr.api.MavenArtifactContext)1 ModuleDependencyInfo (org.eclipse.ceylon.cmr.api.ModuleDependencyInfo)1 ModuleInfo (org.eclipse.ceylon.cmr.api.ModuleInfo)1 OverridesRuntimeResolver (org.eclipse.ceylon.cmr.api.OverridesRuntimeResolver)1 RepositoryManager (org.eclipse.ceylon.cmr.api.RepositoryManager)1 ModuleNotFoundException (org.eclipse.ceylon.cmr.ceylon.loader.ModuleNotFoundException)1 AbstractArtifactResult (org.eclipse.ceylon.cmr.impl.AbstractArtifactResult)1 LazyArtifactResult (org.eclipse.ceylon.cmr.impl.LazyArtifactResult)1