agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/submission/AbstractJobSubmissionTest.java
/**
    * Creates the {@link Software#getDeploymentPath()} folder on the
    * {@link Software#getExecutionSystem()} and copies the {@link Software#getExecutablePath()}
    * file to that folder.
    *
    * @param software the software for which to stage assets
    */
Creates the  Software#getDeploymentPath() folder on the
Software#getExecutionSystem() and copies the  Software#getExecutablePath()
file to that folder.

@param software the software for which to stage assets
Creates the Software#getDeploymentPath () folder on the Software#getExecutionSystem () and copies the Software#getExecutablePath () file to that folder . @param software the software for which to stage assets
protected void stageSofwareAssets(Software software) {
       RemoteDataClient storageClient = null;
       try {
           storageClient = software.getStorageSystem().getRemoteDataClient();
           storageClient.authenticate();
           storageClient.mkdirs(software.getDeploymentPath());
           storageClient.put(SOFTWARE_WRAPPER_FILE, software.getDeploymentPath());
           Assert.assertTrue(storageClient.doesExist(software.getDeploymentPath() + "/" + software.getExecutablePath()), 
                   "Failed to copy sofware assets to  agave://" + software.getStorageSystem().getSystemId() 
                   + "/" + software.getDeploymentPath() + "/" + software.getExecutablePath());
       } catch (Exception e) {
           Assert.fail("Failed to copy sofware assets to  " + software.getStorageSystem().getSystemId() 
                   + "/" + software.getDeploymentPath() + "/" + software.getExecutablePath(), e);
       } finally {
           if (storageClient != null) storageClient.disconnect();
       }
   }
protected void stageSofwareAssets ( Software software ) { RemoteDataClient storageClient = null ; try { storageClient = software . getStorageSystem ( ) . getRemoteDataClient ( ) ; storageClient . authenticate ( ) ; storageClient . mkdirs ( software . getDeploymentPath ( ) ) ; storageClient . put ( SOFTWARE_WRAPPER_FILE , software . getDeploymentPath ( ) ) ; Assert . assertTrue ( storageClient . doesExist ( software . getDeploymentPath ( ) + "/" + software . getExecutablePath ( ) ) , "Failed to copy sofware assets to  agave://" + software . getStorageSystem ( ) . getSystemId ( ) + "/" + software . getDeploymentPath ( ) + "/" + software . getExecutablePath ( ) ) ; } catch ( Exception e ) { Assert . fail ( "Failed to copy sofware assets to  " + software . getStorageSystem ( ) . getSystemId ( ) + "/" + software . getDeploymentPath ( ) + "/" + software . getExecutablePath ( ) , e ) ; } finally { if ( storageClient != null ) storageClient . disconnect ( ) ; } }
Creates the {@link Software#getDeploymentPath()} folder on the
 {@link Software#getExecutionSystem()} and copies the {@link Software#getExecutablePath()}
 file to that folder.
Creates the { @link Software#getDeploymentPath () } folder on the { @link Software#getExecutionSystem () } and copies the { @link Software#getExecutablePath () } file to that folder .