Package aQute.bnd.service.repository

Examples of aQute.bnd.service.repository.SearchableRepository.addResource()


    private void processResource(ResourceDescriptor resource, MultiStatus status, IProgressMonitor monitor) {
        SearchableRepository repo = depsPage.getRepository();
        try {
            if (!resource.included)
                repo.addResource(resource);
        } catch (Exception e) {
            status.add(new Status(IStatus.ERROR, Plugin.PLUGIN_ID, 0, "Error adding resource to local JPM4J index: " + resource.bsn + " [" + resource.version + "]", e));
        }
    }
View Full Code Here


    @SuppressWarnings("unused")
    private void processResource(ResourceDescriptor resource, MultiStatus status, IProgressMonitor monitor) {
        SearchableRepository repo = depsPage.getRepository();
        try {
            if (!resource.included)
                repo.addResource(resource);
        } catch (Exception e) {
            status.add(new Status(IStatus.ERROR, Plugin.PLUGIN_ID, 0, "Error adding resource to local JPM4J index: " + resource.bsn + " [" + resource.version + "]", e));
        }
    }
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.