new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/AppBuilder.java
private boolean buildJarArchive(
      String jarPath, 
      String srcDir
  ) {

    String cmd = String.format("cd %s; jar -cfM %s . ", srcDir, jarPath);

    return Command.withParams(
            defaultCommandParams()
            .command(cmd)
            .redirect(false))
        .execute();
  }
/**
   * Build an archive that includes the contents in srcDir.
   *
   * @param jarPath Jar file path for the resulting archive
   * @param srcDir source directory
   */
Build an archive that includes the contents in srcDir.
@param jarPath Jar file path for the resulting archive
@param srcDir source directory
Build an archive that includes the contents in srcDir . @param jarPath Jar file path for the resulting archive @param srcDir source directory
private boolean buildJarArchive(
      String jarPath, 
      String srcDir
  ) {
    String cmd = String.format("cd %s; jar -cfM %s . ", srcDir, jarPath);
    return Command.withParams(
            defaultCommandParams()
            .command(cmd)
            .redirect(false))
        .execute();
  }
private boolean buildJarArchive ( String jarPath , String srcDir ) { String cmd = String . format ( "cd %s; jar -cfM %s . " , srcDir , jarPath ) ; return Command . withParams ( defaultCommandParams ( ) . command ( cmd ) . redirect ( false ) ) . execute ( ) ; }
Build an archive that includes the contents in srcDir.
Build an archive that includes the contents in srcDir .