Examples of Bundle


Examples of org.rhq.core.domain.bundle.Bundle

        assert btNames.contains(bt2.getName());
    }

    @Test(enabled = TESTS_ENABLED)
    public void testCreateBundle() throws Exception {
        Bundle b1 = createBundle("one");
        assertNotNull(b1);
    }
View Full Code Here

Examples of org.springframework.roo.addon.roobot.client.model.Bundle

            final String optionContext, final MethodTarget target) {
        final Map<String, Bundle> bundles = addonManagerOperations
                .getAddOnCache(false);
        for (final Entry<String, Bundle> entry : bundles.entrySet()) {
            final String bsn = entry.getKey();
            final Bundle bundle = entry.getValue();
            if (bundle.getVersions().size() > 1) {
                for (final BundleVersion bundleVersion : bundle.getVersions()) {
                    completions.add(new Completion(bsn + ";"
                            + bundleVersion.getVersion()));
                }
            }
            completions.add(new Completion(bsn));
View Full Code Here

Examples of org.wso2.maven.p2.generate.feature.Bundle

            return processedP2LauncherFiles;
        processedP2LauncherFiles = new ArrayList();
        Iterator iter = equinoxLauncher.getLauncherFiles().iterator();
        while (iter.hasNext()) {
            Object obj = iter.next();
            Bundle b;
            if (obj instanceof FeatureArtifact) {
                b = (Bundle) obj;
            } else if (obj instanceof String) {
                b = Bundle.getBundle(obj.toString());
            } else
                b = (Bundle) obj;
            try {
                b.resolveVersion(project);
            } catch (MojoExecutionException e) {
                b.setVersion(P2Constants.getDefaultVersion(b.getGroupId(), b.getArtifactId()));
                if (b.getVersion() == null)
                    throw e;
            }
            b.setArtifact(MavenUtils.getResolvedArtifact(b, artifactFactory, remoteRepositories, localRepository, resolver));
            processedP2LauncherFiles.add(b);
        }
        return processedP2LauncherFiles;
    }
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.