agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/managers/launchers/CondorLauncher.java
/**
     * Packages up the app assets and wrapper template into a tarball for transfer and submission to
     * the condor {@link ExecutionSystem} where they can be submitted as a single job to the condor
     * scheduler by the condor executable.
     *
     * @throws JobException when an error occurs trying to submit the job
     */
Packages up the app assets and wrapper template into a tarball for transfer and submission to
the condor  ExecutionSystem where they can be submitted as a single job to the condor
scheduler by the condor executable.

@throws JobException when an error occurs trying to submit the job
Packages up the app assets and wrapper template into a tarball for transfer and submission to the condor ExecutionSystem where they can be submitted as a single job to the condor scheduler by the condor executable . @throws JobException when an error occurs trying to submit the job
private void createRemoteTransferPackage() throws JobException {
        step = "Creating the " + getJob().getSoftwareName() + " transfer package for job " + getJob().getUuid();
        log.debug(step);
        String createTransferPackageCmd = "cd " + getJob().getWorkPath() + "; "
                + "tar czvf ./transfer.tar.gz  --exclude condorSubmit --warning=no-file-changed .";
        try (RemoteSubmissionClient submissionClient = getExecutionSystem().getRemoteSubmissionClient(getJob().getInternalUsername())) {
            String response = submissionClient.runCommand(createTransferPackageCmd);
            response = StringUtils.lowerCase(response);
            if (StringUtils.contains(response, "cannot") ||
                    StringUtils.contains(response, "command not found")) {
                throw new JobException("Failed to create Condor transfer archive on remote execution system: " + response);
            }
        }
        catch (AuthenticationException e) {
            throw new JobException("Failed to authenticate to execution system when creating the Condor " +
                    "scheduler input transfer archive: " + e.getMessage(), e);
        }
        catch (JobException e) {
            throw e;
        }
        catch (Exception e) {
            throw new JobException("Failed to create Condor transfer archive on " +
                    "remote execution system: " + e.getMessage(), e);
        }
    }
private void createRemoteTransferPackage ( ) throws JobException { step = "Creating the " + getJob ( ) . getSoftwareName ( ) + " transfer package for job " + getJob ( ) . getUuid ( ) ; log . debug ( step ) ; String createTransferPackageCmd = "cd " + getJob ( ) . getWorkPath ( ) + "; " + "tar czvf ./transfer.tar.gz  --exclude condorSubmit --warning=no-file-changed ." ; try ( RemoteSubmissionClient submissionClient = getExecutionSystem ( ) . getRemoteSubmissionClient ( getJob ( ) . getInternalUsername ( ) ) ) { String response = submissionClient . runCommand ( createTransferPackageCmd ) ; response = StringUtils . lowerCase ( response ) ; if ( StringUtils . contains ( response , "cannot" ) || StringUtils . contains ( response , "command not found" ) ) { throw new JobException ( "Failed to create Condor transfer archive on remote execution system: " + response ) ; } } catch ( AuthenticationException e ) { throw new JobException ( "Failed to authenticate to execution system when creating the Condor " + "scheduler input transfer archive: " + e . getMessage ( ) , e ) ; } catch ( JobException e ) { throw e ; } catch ( Exception e ) { throw new JobException ( "Failed to create Condor transfer archive on " + "remote execution system: " + e . getMessage ( ) , e ) ; } }
Packages up the app assets and wrapper template into a tarball for transfer and submission to
 the condor {@link ExecutionSystem} where they can be submitted as a single job to the condor
 scheduler by the condor executable.
Packages up the app assets and wrapper template into a tarball for transfer and submission to the condor { @link ExecutionSystem } where they can be submitted as a single job to the condor scheduler by the condor executable .