Examples of addRepository()


Examples of cascading.lingual.catalog.SchemaCatalog.addRepository()

  protected List<String> performAdd( PlatformBroker platformBroker )
    {
    SchemaCatalog catalog = platformBroker.getSchemeCatalog();

    Repo repo = getRepoFromArgs();
    catalog.addRepository( repo );

    return asList( repo.getRepoName() );
    }

  @Override
View Full Code Here

Examples of com.gitblit.models.ProjectModel.addRepository()

    }
    if (StringUtils.isEmpty(name)) {
      // get root repositories
      for (String repository : repositoryManager.getRepositoryList()) {
        if (repository.indexOf('/') == -1) {
          project.addRepository(repository);
        }
      }
    } else {
      // get repositories in subfolder
      String folder = name.toLowerCase() + "/";
View Full Code Here

Examples of com.sun.enterprise.module.ModulesRegistry.addRepository()

        // code in habitat needs to see HK2 classes, but we don't want them to see other classes and libraries
        // that Maven loads into this maven plugin
        r.setParentClassLoader(new MaskingClassLoader(this.getClass().getClassLoader(),"org.jvnet.hk2","com.sun.enterprise"));
        MavenProjectRepository.prepareProject(project);
        MavenProjectRepository lib = new MavenProjectRepository(project,artifactResolver,localRepository,artifactFactory);
        r.addRepository(lib);
        lib.initialize();
        return r;
    }

    public static String toModuleName(String groupId,String artifactId) {
View Full Code Here

Examples of org.apache.archiva.admin.model.beans.RepositoryGroup.addRepository()

                createManagedRepository( INTERNAL_REPO, new File( "target/test-classes/" + INTERNAL_REPO ).getPath(),
                                         "default" ), false, null );
        }
        RepositoryGroup repoGroupConfig = new RepositoryGroup();
        repoGroupConfig.setId( LOCAL_REPO_GROUP );
        repoGroupConfig.addRepository( RELEASES_REPO );
        repoGroupConfig.addRepository( INTERNAL_REPO );

        defaultRepositoryGroupAdmin.setArchivaConfiguration( archivaConfiguration );
        if ( defaultManagedRepositoryAdmin.getManagedRepository( LOCAL_REPO_GROUP ) == null )
        {
View Full Code Here

Examples of org.apache.archiva.configuration.RepositoryGroupConfiguration.addRepository()

        config.addManagedRepository( managedRepo2 );

        RepositoryGroupConfiguration repoGroup = new RepositoryGroupConfiguration();
        repoGroup.setId( REPO_GROUP_ID );
        repoGroup.addRepository( REPO1_ID );

        config.addRepositoryGroup( repoGroup );

        return config;
    }
View Full Code Here

Examples of org.apache.catalina.loader.StandardClassLoader.addRepository()

                if (!filenames[i].endsWith(".jar"))
                    continue;
                File file = new File(directory, filenames[i]);
                try {
                    URL url = new URL("file", null, file.getCanonicalPath());
                    newLoader.addRepository(url.toString());
                } catch (IOException e) {
                    throw new IllegalArgumentException(e.toString());
                }
            }
        }
View Full Code Here

Examples of org.apache.catalina.loader.WebappLoader.addRepository()

            if ( classLoaderEntries != null )
            {
                for ( String classLoaderEntry : classLoaderEntries )
                {
                    loader.addRepository( classLoaderEntry );
                }
            }
            if ( additionalClasspathDirs != null && !additionalClasspathDirs.isEmpty() )
            {
                for ( String additionalClasspathDir : additionalClasspathDirs )
View Full Code Here

Examples of org.apache.catalina.loader.WebappLoader.addRepository()

                        File file = new File( additionalClasspathDir );
                        if ( file.exists() )
                        {
                            String fileUri = file.toURI().toString();
                            getLog().debug( "add file:" + fileUri + " as a additionalClasspathDir" );
                            loader.addRepository( fileUri );
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of org.apache.catalina.loader.WebappLoader.addRepository()

            if ( classLoaderEntries != null )
            {
                for ( String classLoaderEntry : classLoaderEntries )
                {
                    loader.addRepository( classLoaderEntry );
                }
            }

            if ( additionalClasspathDirs != null && !additionalClasspathDirs.isEmpty() )
            {
View Full Code Here

Examples of org.apache.catalina.loader.WebappLoader.addRepository()

                        File file = new File( additionalClasspathDir );
                        if ( file.exists() )
                        {
                            String fileUri = file.toURI().toString();
                            getLog().debug( "add file:" + fileUri + " as a additionalClasspathDir" );
                            loader.addRepository( fileUri );
                        }
                    }
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.