[Swift-commit] r2932 - SwiftApps/pc3

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu May 14 11:46:56 CDT 2009


Author: benc
Date: 2009-05-14 11:46:56 -0500 (Thu, 14 May 2009)
New Revision: 2932

Added:
   SwiftApps/pc3/oq5-query
   SwiftApps/pc3/oq5-run.sh
Modified:
   SwiftApps/pc3/pc3.swift
Log:
optional query 5

Added: SwiftApps/pc3/oq5-query
===================================================================
--- SwiftApps/pc3/oq5-query	                        (rev 0)
+++ SwiftApps/pc3/oq5-query	2009-05-14 16:46:56 UTC (rev 2932)
@@ -0,0 +1,19 @@
+
+    select known_workflows.importstatus, value from known_workflows, processes_i
+n_workflows, dataset_usage, dataset_values where param_name='job_id_content' and
+ dataset_usage.dataset_id = dataset_values.dataset_id and dataset_usage.process_
+id=processes_in_workflows.process_id and known_workflows.workflow_id = processes
+_in_workflows.workflow_id;
+    
+    SUCCESS|<?xml version="1.0" encoding="UTF-8"?> <java version="1.6.0_03" clas
+s="java.beans.XMLDecoder">  <string>J062941</string> </java>
+    SUCCESS|<?xml version="1.0" encoding="UTF-8"?> <java version="1.6.0_03" clas
+s="java.beans.XMLDecoder">  <string>J062942</string> </java>
+    SUCCESS|<?xml version="1.0" encoding="UTF-8"?> <java version="1.6.0_03" clas
+s="java.beans.XMLDecoder">  <string>J062943</string> </java>
+    SUCCESS|<?xml version="1.0" encoding="UTF-8"?> <java version="1.6.0_03" clas
+s="java.beans.XMLDecoder">  <string>J062944</string> </java>
+    SUCCESS|<?xml version="1.0" encoding="UTF-8"?> <java version="1.6.0_03" clas
+s="java.beans.XMLDecoder">  <string>J062945</string> </java>
+    sqlite>
+

Added: SwiftApps/pc3/oq5-run.sh
===================================================================
--- SwiftApps/pc3/oq5-run.sh	                        (rev 0)
+++ SwiftApps/pc3/oq5-run.sh	2009-05-14 16:46:56 UTC (rev 2932)
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+rm -rfv /var/tmp/derby-pc3/
+
+for ID in J062941 J062942 J062943 J062944 J062945 ;  do
+
+  echo Swift run for $ID
+
+cat > oc5CSVRootPathInput.xml << UUUUUUU
+<?xml version="1.0" encoding="UTF-8"?> 
+<java version="1.6.0_03" class="java.beans.XMLDecoder"> 
+ <string>/Users/benc/work/swift-svn.git/SwiftApps/pc3/PC3/SampleData/$ID</string> 
+</java> 
+UUUUUUU
+
+cat > oc5JobIDInput.xml << UUUUUU
+<?xml version="1.0" encoding="UTF-8"?> 
+<java version="1.6.0_03" class="java.beans.XMLDecoder"> 
+ <string>$ID</string> 
+</java>
+UUUUUU
+
+  swift -tc.file tc.data.append pc3.swift -csvpath=oc5CSVRootPathInput.xml -jobid=oc5JobIDInput.xml
+
+
+done
+


Property changes on: SwiftApps/pc3/oq5-run.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: SwiftApps/pc3/pc3.swift
===================================================================
--- SwiftApps/pc3/pc3.swift	2009-05-14 16:45:21 UTC (rev 2931)
+++ SwiftApps/pc3/pc3.swift	2009-05-14 16:46:56 UTC (rev 2932)
@@ -119,6 +119,7 @@
 }
 string csv_root_path_input_arg = @arg("csvpath");
 string job_id_arg = @arg("jobid");
+string job_id_content = readData(job_id_arg);
 xmlfile csv_root_path_input <single_file_mapper;file=csv_root_path_input_arg>; 
 xmlfile job_id <single_file_mapper;file=job_id_arg>; 
 boolean  is_csv_ready_file_exists_output;




More information about the Swift-commit mailing list