Commits

Mohana Ramaratnam  committed 40164d4

Fixed path issues and builddir

  • Participants
  • Parent commits 28dd544

Comments (0)

Files changed (2)

File plugin-resources/webapp/xnat/java/org/nrg/pipeline/XnatPipelineLauncher.java

     static org.apache.log4j.Logger logger = Logger.getLogger(XnatPipelineLauncher.class);
 
     public static final String SCHEDULE = "schedule";
-    
+
     String pipelineName;
     String id, label = null;
     String externalId; //Workflows External Id
 
             parameters.put("builddir",temp);
         }
+    	setNeedsBuildDir(false);
+
     }
 
     public XnatPipelineLauncher(RunData data, Context context) {
     }
 
 
-    
+
     public boolean launch() {
     	return launch(XFT.GetPipelinePath() + "bin" + File.separator + SCHEDULE);
     }
-    
+
     public boolean launch (String cmdPrefix) {
         String command = " ";
         String pcommand = "";

File plugin-resources/webapp/xnat/java/org/nrg/xnat/turbine/modules/actions/ManagePipeline.java

 			xnatPipelineLauncher.setBuildDir(buildDir);
 			String paramFilePath = saveParameters(buildDir+File.separator + exptLabel,paramFileName,parameters);
 		    xnatPipelineLauncher.setParameterFile(paramFilePath);
-		    xnatPipelineLauncher.launch("schedule");
+		    xnatPipelineLauncher.launch();
 
 		    data.setMessage("<p><b>The pipeline has been scheduled.  Status email will be sent upon its completion.</b></p>");
 	        data.setScreenTemplate("ClosePage.vm");