Further work to enable stat collection and display
[jabaws.git] / webservices / compbio / stat / servlet / Joblist.java
index 1b73018..4ceb2b8 100644 (file)
@@ -1,5 +1,6 @@
 package compbio.stat.servlet;\r
 \r
+import java.io.File;\r
 import java.io.IOException;\r
 import java.sql.SQLException;\r
 import java.sql.Timestamp;\r
@@ -95,6 +96,7 @@ public class Joblist extends HttpServlet {
                PropertyHelper helper = PropertyHelperManager.getPropertyHelper();\r
                String clusterTempDir = helper.getProperty("cluster.tmp.directory")\r
                                .trim();\r
+               clusterTempDir = new File(clusterTempDir).getName();\r
                String localTempDir = helper.getProperty("local.tmp.directory").trim();\r
                // TODO include the time slice\r
                Timestamp startDate = new Timestamp(Long.parseLong(fromDate));\r