Package com.subhajit.build

Examples of com.subhajit.build.Manifest.addConfiguredAttribute()


      String mainClass) throws ManifestException, IOException,
      JDOMException, InterruptedException {
    Manifest ret = createDefaultManifest();

    if (mainClass != null) {
      ret.addConfiguredAttribute(new Manifest.Attribute("Main-Class",
          mainClass));
    }

    // Get all classpath elements.
    StringBuilder str = new StringBuilder();
View Full Code Here


          str.append(" ");
        }
        str.append(((CompiledJar) metafile).getFile().getName());
      }
    }
    ret.addConfiguredAttribute(new Manifest.Attribute("Class-Path", str
        .toString()));
    return ret;
  }

  static Manifest createDefaultManifest() throws ManifestException {
View Full Code Here

    return ret;
  }

  static Manifest createDefaultManifest() throws ManifestException {
    Manifest ret = new Manifest();
    ret.addConfiguredAttribute(new Manifest.Attribute("Manifest-Version",
        "1.0"));
    ret.addConfiguredAttribute(new Manifest.Attribute("Archiver-Version",
        "Subhajit's eclipse plugin."));
    ret.addConfiguredAttribute(new Manifest.Attribute("Created-By",
        "ClassTools plugin."));
View Full Code Here

  static Manifest createDefaultManifest() throws ManifestException {
    Manifest ret = new Manifest();
    ret.addConfiguredAttribute(new Manifest.Attribute("Manifest-Version",
        "1.0"));
    ret.addConfiguredAttribute(new Manifest.Attribute("Archiver-Version",
        "Subhajit's eclipse plugin."));
    ret.addConfiguredAttribute(new Manifest.Attribute("Created-By",
        "ClassTools plugin."));
    return ret;
  }
View Full Code Here

    Manifest ret = new Manifest();
    ret.addConfiguredAttribute(new Manifest.Attribute("Manifest-Version",
        "1.0"));
    ret.addConfiguredAttribute(new Manifest.Attribute("Archiver-Version",
        "Subhajit's eclipse plugin."));
    ret.addConfiguredAttribute(new Manifest.Attribute("Created-By",
        "ClassTools plugin."));
    return ret;
  }

  /**
 
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.