Package org.pentaho.reporting.designer.core

Examples of org.pentaho.reporting.designer.core.ReportDesignerInfo


    if (initMarkerFile.exists() == false)
    {
      return false;
    }

    final ReportDesignerInfo reportDesignerInfo = ReportDesignerInfo.getInstance();
    final String currentVersion = reportDesignerInfo.getVersion();
    if (StringUtils.isEmpty(currentVersion) || currentVersion.startsWith("TRUNK-SNAPSHOT")) // NON-NLS
    {
      return true;
    }
    final Integer[] currentVersionArray = ObjectUtilities.parseVersions(currentVersion);
View Full Code Here


  private static void writeVersionTag(final File configDirectory) throws IOException
  {
    final File initMarkerFile = new File(configDirectory, ".init-config-marker"); // NON-NLS
    final FileOutputStream fout = new FileOutputStream(initMarkerFile);
    final ReportDesignerInfo reportDesignerInfo = ReportDesignerInfo.getInstance();
    final String currentVersion = reportDesignerInfo.getVersion();
    if (StringUtils.isEmpty(currentVersion) == false && currentVersion.startsWith("TRUNK-SNAPSHOT") == false) // NON-NLS
    {
      try
      {
        fout.write(currentVersion.getBytes("ISO-8859-1"));
View Full Code Here

    if (initMarkerFile.exists() == false)
    {
      return false;
    }

    final ReportDesignerInfo reportDesignerInfo = ReportDesignerInfo.getInstance();
    final String currentVersion = reportDesignerInfo.getVersion();
    if (StringUtils.isEmpty(currentVersion) || currentVersion.startsWith("TRUNK-SNAPSHOT")) // NON-NLS
    {
      return true;
    }
    final Integer[] currentVersionArray = ObjectUtilities.parseVersions(currentVersion);
View Full Code Here

  private static void writeVersionTag(final File configDirectory) throws IOException
  {
    final File initMarkerFile = new File(configDirectory, ".init-config-marker"); // NON-NLS
    final FileOutputStream fout = new FileOutputStream(initMarkerFile);
    final ReportDesignerInfo reportDesignerInfo = ReportDesignerInfo.getInstance();
    final String currentVersion = reportDesignerInfo.getVersion();
    if (StringUtils.isEmpty(currentVersion) == false && currentVersion.startsWith("TRUNK-SNAPSHOT") == false) // NON-NLS
    {
      try
      {
        fout.write(currentVersion.getBytes("ISO-8859-1"));
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.ReportDesignerInfo

Copyright © 2018 www.massapicom. 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.