Examples of Version


Examples of com.instantiations.pde.build.util.Version

    return reader;
  }

  private void assertSharedSubProduct(SubProductZipReader reader, String targetVersion) {
    assertEquals("com.instantiations.eclipse.shared", reader.getId());
    Version fullVersion = new Version(reader.getFullVersion());
    if (fullVersion.compareTo(new Version(5, 5, 0)) < 0)
      fail("Expected version >= 5.5.0, but found " + fullVersion.toStringBase());
    if (fullVersion.getQualifier().compareTo("200901010000") < 0)
      fail("Expected version build number > 200901010000, but found " + fullVersion.getQualifier());
    assertEquals(1, reader.getIncludedFeatures().size());
    if (!reader.getIncludedFeatures().contains("com.instantiations.eclipse.shared"))
      fail("Expected included features to contain com.instantiations.eclipse.shared");
    assertEquals(targetVersion.equals("2.1") ? 6 : 7, reader.getIncludedPlugins().size());
    if (!reader.getIncludedPlugins().contains("com.instantiations.common.help"))
View Full Code Here

Examples of com.intellij.openapi.util.Version

    File result = new File(bundle, "/Contents/SharedSupport/iOS-Libraries/libReveal.dylib");
    return result.exists() ? result : null;
  }

  public static boolean isCompatible() {
    Version version = getRevealVersion();
    return version != null && version.isOrGreaterThan(2299);
  }
View Full Code Here

Examples of com.itextpdf.text.Version

    public void setRgbTransparencyBlending(final boolean rgbTransparencyBlending) {
        this.rgbTransparencyBlending = rgbTransparencyBlending;
    }

    protected static void writeKeyInfo(OutputStream os) throws IOException {
      Version version = Version.getInstance();
      String k = version.getKey();
      if (k == null) {
            k = "iText";
      }
        os.write(getISOBytes(String.format("%%%s-%s\n", k, version.getRelease())));
     
    }
View Full Code Here

Examples of com.kokakiwi.mclauncher.utils.Version

                        api.getUpdater().setDoUpdate(true);
                    }
                    else
                    {
                        final String current = readVersionFile(api, file);
                        final Version v1 = Version.parseString(current);
                        final Version v2 = Version.parseString(lastVersion);
                       
                        if (v2.compareTo(v1) > 0)
                        {
                            update = true;
                            boolean force = (Boolean) version.get("force");
                            if (!force)
                            {
View Full Code Here

Examples of com.kpelykh.docker.client.model.Version

   * #########################
   */

  @Test
  public void testDockerVersion() throws DockerException {
    Version version = dockerClient.version();
    LOG.info(version.toString());

    assertTrue(version.getGoVersion().length() > 0);
    assertTrue(version.getVersion().length() > 0);

    assertEquals(StringUtils.split(version.getVersion(), ".").length, 3);

  }
View Full Code Here

Examples of com.nineteendrops.tracdrops.client.api.ticket.version.Version

        if(parameter == null){
            throw new TracException(MessageUtils.getMessage("core.parameter.not.found", "Version", this.getClass().getName()));
        }

        Version version = (Version)parameter;

        // check for mandatory fields
        String name = version.getName();
        if(name == null || name.trim().equals("")){
            throw new TracException(MessageUtils.getMessage("core.parameter.not.found", "Version.name", this.getClass().getName()));
        }

        Date time = version.getTime();
        if(time == null){
            throw new TracException(MessageUtils.getMessage("core.parameter.not.found", "Version.time", this.getClass().getName()));
        }

        String description = version.getDescription();
        if(description == null){
            description = "";
        }

View Full Code Here

Examples of com.nirima.docker.client.model.Version

                @QueryParameter URL serverUrl
                ) throws IOException, ServletException, DockerException {

            DockerClient dc = DockerClient.builder().withUrl(serverUrl.toString()).build();

            Version version = dc.system().version();

            if( version.getVersionComponents()[0] < 1 )
                return FormValidation.error("Docker host is " + version.getVersion() + " which is not supported.");

            return FormValidation.ok("Version = " + version.getVersion());
        }
View Full Code Here

Examples of com.pogofish.jadt.Version

                header.append(ASTPrinter.printComments("", commentProcessor.leftAlign(imp.comments)));
                header.append("import " + imp.name + ";\n");
            }
            header.append("\n");
        }
        final String version = new Version().getVersion();
        header.append("/*\nThis file was generated based on " + doc.srcInfo + " using jADT version " + version + " http://jamesiry.github.com/jADT/ . Please do not modify directly.\n\n");
        header.append("The source was parsed as: \n\n");
       
        for (DataType dataType : doc.dataTypes) {
            final Sink sink = factory.createSink(doc.pkg.name.isEmpty() ? dataType.name : doc.pkg.name + "." + dataType.name);
View Full Code Here

Examples of com.puppetlabs.geppetto.semver.Version

    }

    void addIfAllMatch(Set<VersionRange> allRequirements, Map<Version, Metadata> relMap,
        Collection<Dependency> addedDependenciesCollector) {
      nextRelease: for(Metadata r : releases) {
        Version v = r.getVersion();
        for(VersionRange vr : allRequirements)
          if(!vr.isIncluded(v))
            continue nextRelease;

        if(addedDependenciesCollector != null) {
View Full Code Here

Examples of com.s3auth.hosts.Version

     * @return The resource
     * @throws IOException If some IO exception
     */
    private static Resource resource(final Host host, final HttpRequest request)
        throws IOException {
        final Version version;
        if (request.parameters().containsKey(HttpThread.ALL_VERSIONS)) {
            version = Version.LIST;
        } else if (request.parameters().containsKey(HttpThread.VER)) {
            version = new Version.Simple(
                request.parameters().get(HttpThread.VER)
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.