Author: pwang
Date: 2011-03-07 14:04:32 -0800 (Mon, 07 Mar 2011)
New Revision: 24321

Modified:
   
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/session/SessionReaderImpl.java
Log:
Fixed "file not found" problem

Modified: 
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/session/SessionReaderImpl.java
===================================================================
--- 
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/session/SessionReaderImpl.java
     2011-03-07 21:36:01 UTC (rev 24320)
+++ 
core3/io-impl/trunk/src/main/java/org/cytoscape/io/internal/read/session/SessionReaderImpl.java
     2011-03-07 22:04:32 UTC (rev 24321)
@@ -250,9 +250,11 @@
                }
 
                String pluginName = items[2];
+               String fileName = items[items.length-1];
+               
+               String tmpDir = System.getProperty("java.io.tmpdir");
+               File theFile = new File(tmpDir, fileName);
 
-               File theFile = new File(entryName);
-
                try {
                        // Write input stream into tmp file
                        BufferedWriter out = null;

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to