agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/managers/launchers/CondorLauncher.java
/**
     * Creates the condor submit file to be handed to condor_submit
     *
     * @param timeMark current time
     */
Creates the condor submit file to be handed to condor_submit
@param timeMark current time
Creates the condor submit file to be handed to condor_submit @param timeMark current time
private String createCondorSubmitFile(String timeMark) throws JobException
    {
        step = "Creating the " + getJob().getSoftwareName() + " condor submit file for job " + getJob().getUuid();
        log.debug(step);
        submitFileObject = SubmitScriptFactory.getInstance(getJob(), getSoftware(), getExecutionSystem());
        try 
        {
	        return resolveTemplateMacros(submitFileObject.getScriptText());
        }
        catch (JobMacroResolutionException e) {
            String msg = "Unable to resolve macros in the submit script: " + e.getMessage();
            throw new JobException(msg, e);
        }
        catch (JobException e) {
        	String msg = "Unable to create condor submit file.";
        	throw e;
        } 
        catch (URISyntaxException e) {
        	String msg = "Failed to resolve condor submit file macros. " + e.getMessage();
            throw new JobException(msg, e);
        }
    }
private String createCondorSubmitFile ( String timeMark ) throws JobException { step = "Creating the " + getJob ( ) . getSoftwareName ( ) + " condor submit file for job " + getJob ( ) . getUuid ( ) ; log . debug ( step ) ; submitFileObject = SubmitScriptFactory . getInstance ( getJob ( ) , getSoftware ( ) , getExecutionSystem ( ) ) ; try { return resolveTemplateMacros ( submitFileObject . getScriptText ( ) ) ; } catch ( JobMacroResolutionException e ) { String msg = "Unable to resolve macros in the submit script: " + e . getMessage ( ) ; throw new JobException ( msg , e ) ; } catch ( JobException e ) { String msg = "Unable to create condor submit file." ; throw e ; } catch ( URISyntaxException e ) { String msg = "Failed to resolve condor submit file macros. " + e . getMessage ( ) ; throw new JobException ( msg , e ) ; } }
Creates the condor submit file to be handed to condor_submit
 @param timeMark current time
Creates the condor submit file to be handed to condor_submit @param timeMark current time
// todo need to add classAd info to submit file // generate a condor submit script. the user may have overridden certain  // directives or the system owner may have templatized their custom directives, // so we need to resolve the macros here. //	        String submitFileName = "condorSubmit";   //createSubmitFileName(timeMark); //	        condorSubmitFile = new File(getTempAppDir(), submitFileName); //          Files.write(condorSubmitFile.toPath(), condorSubmitFileContents.getBytes()); //            String remoteApplicationWrapperPath = getJob().getWorkPath() + File.separator + submitFileName; //            writeWrapperTemplateToRemoteJobDir(remoteApplicationWrapperPath, condorSubmitFileContents); //            log.error(msg); //        	log.error(msg, e); //        	log.error(msg, e);