Examples of Version


Examples of com.tuenti.supernanny.util.Version

        throw new ResolutionException(e);
      }
    }
    List<Artifact> artifacts = new ArrayList<Artifact>();
    // return artifact with wildcard version so it matches everything
    artifacts.add(new Artifact(req.getName(), new Version("*"), this, reqs));
    return artifacts;
  }
View Full Code Here

Examples of com.urswolfer.gerrit.client.rest.Version

        URL url = VersionTest.class.getResource("../../../../../../META-INF/plugin.xml");

        final Method parseVersionFromFile = Version.class.getDeclaredMethod("parseVersionFromFile", URL.class);
        parseVersionFromFile.setAccessible(true);

        String result = (String) parseVersionFromFile.invoke(new Version(), url);
        Assert.assertTrue(result.contains("."));
    }
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.Version

        final String inputData = "the old input";
        final String outputData = "the new output";

        FrameworkFactory factory = FrameworkFactory.getDefaultInstance();

        Version version1 = factory.createVersion("version 1");
        Version version2 = factory.createVersion("version 2");

        SimpleCLINotificationReporter notificationReporter =
                new SimpleCLINotificationReporter();

        ResourceMigratorBuilder builder =
View Full Code Here

Examples of cz.mp.util.app.Version

     */
    public static void logConfigInfo() {
       
        initLogger();   // (! nutné před zalogováním)
        logger.info(" version: " +
                new Version(Application.class.getPackage()).toString());
        logger.config(" log levels : " + DetailFormatter.getLegend());
        logger.config(" log filename = " + LoggerManager.getLogFileName());
        logger.config(" debug mode = " + isDebug());
        logger.config(" default file encoding = " + DEFAULT_CHARSET);
       
View Full Code Here

Examples of de.codolith.Cinema.Version

    if(cinema.getConfig().getBoolean("Plugin.ShowApiKeyInInfo") && cinema.getConfig().contains("Plugin.ApiKey")){
      sender.sendMessage("ApiKey: "+cinema.getConfig().getString("Plugin.ApiKey"));
    }
    sender.sendMessage("Cinema Version: "+Cinema.version);
    if(cinema.getConfig().getBoolean("Plugin.CheckForNewVersion")){
      Version newest = cinema.getNewestVersion();
      if(newest.isNewerThan(Cinema.version)){
        sender.sendMessage("NEW VERSION AVAILABLE FOR CINEMA PLUGIN! You have \""+ Cinema.version + "\" and the newest version is \"" + newest+"\"");
        sender.sendMessage("Get Cinema here: http://dev.bukkit.org/server-mods/cinema/files/");
      }
    }
    return true;
View Full Code Here

Examples of de.idos.updates.Version

    }

    public Version lookUpLatestVersion() {
        report.lookingUpLatestAvailableVersion();
        try {
            Version latestVersion = strategy.findLatestUpdate().getVersion();
            report.latestAvailableVersionIs(latestVersion);
            return latestVersion;
        } catch (Exception e) {
            report.versionLookupFailed(e);
            return VersionFinder.BASE_VERSION;
View Full Code Here

Examples of de.innovationgate.wga.common.beans.csconfig.v1.Version

    }

    @Override
    public boolean isFeatureSupported(String featureID) {
        if (featureID.equals(FEATURE_SCHEMADEFINITION)) {           
            Version version = VersionCompliance.toWGAVersion(getVersionCompliance());
            return (version != null && version.isAtLeast(5, 2)) || (getSchemaDefinitionFile() != null && getSchemaDefinitionFile().exists());
        }
        return super.isFeatureSupported(featureID);
    }
View Full Code Here

Examples of de.innovationgate.wgaservices.types.Version

        if (TomcatUtils.getInstance().isRunning(_runtime)) {
            monitor.beginTask("connecting to local WGA server", IProgressMonitor.UNKNOWN);
            WGARemoteServer local = _runtime.createRemoteServer();
            local.connectToServer();
           
            Version localWGAVersion = null;
                    try {
                        monitor.beginTask("retrieving local WGA server version", IProgressMonitor.UNKNOWN);
                        localWGAVersion = local.getServices().getWGAVersion(local.getSession());
                    }
                    catch (Exception e) {
                        // this might happen if server version is < 5.3
                    }
                    try {
                        monitor.beginTask("retrieving remote WGA server version", IProgressMonitor.UNKNOWN);
                        _remoteWGAVersion = _server.getServices().getWGAVersion(_server.getSession());
                    }
                    catch (Exception e) {
                        // this might happen if server version is < 5.3
                    }
                   
                   
                    // check local and remote WGA version - plugin sync is available for WGA >= 5.3
                    if (localWGAVersion != null && localWGAVersion.isAtLeast(5, 3) && _remoteWGAVersion != null && _remoteWGAVersion.isAtLeast(5, 3)) {                               
                monitor.beginTask("retrieving local plugin infos", IProgressMonitor.UNKNOWN);
                               
                List<PluginInfo> infos = local.getServices().getPluginInformation(local.getSession());
                for (PluginInfo info : infos) {
                    // we will sync only active & valid plugins ... dev plugins & platform plugins are excluded
View Full Code Here

Examples of de.matrixweb.smaller.common.Version

  }

  private void executeProcesses(final Context context,
      final ResourceResolver resolver, final HttpServletRequest request)
      throws IOException {
    final Version version = Version.getVersion(request
        .getHeader(Version.HEADER));
    this.pipeline.execute(version, context.vfs, resolver, context.manifest,
        context.targetDir);
  }
View Full Code Here

Examples of de.netallied.xsd2cppsax.saxfwl.model.Version

     *            Config xml element.
     */
    protected GlobalConfig parseConfig(ConfigType configType) {
        List<Version> versionList = new ArrayList<Version>();
        for (VersionType verType : configType.getVersionList()) {
            versionList.add(new Version(verType.getBaseClass(), verType.getInclude(), verType.getStringValue()));
        }
        String header = configType.getHeader();
        String namespace = configType.getNamespace();
        String outpathBaseInc = Util.replaceEnvVar(configType.getOutpathBaseInc());
        String outpathBaseSrc = Util.replaceEnvVar(configType.getOutpathBaseSrc());
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.