Skip to Content.
Sympa Menu

perfsonar-dev - perfsonar: r5335 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: aa plugins ui/panels

Subject: perfsonar development work

List archive

perfsonar: r5335 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: aa plugins ui/panels


Chronological Thread 
  • From:
  • To:
  • Subject: perfsonar: r5335 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: aa plugins ui/panels
  • Date: Tue, 3 Nov 2009 07:32:40 -0500

Author: nina
Date: 2009-11-03 07:32:40 -0500 (Tue, 03 Nov 2009)
New Revision: 5335

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/aa/Stream2FileTool.java

branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/Introspection.java
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/panels/StatusBar.java
Log:
changing directory for log file and certificates to a temporary one, rather
than user.dir.

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/aa/Stream2FileTool.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/aa/Stream2FileTool.java
2009-11-03 10:55:07 UTC (rev 5334)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/aa/Stream2FileTool.java
2009-11-03 12:32:40 UTC (rev 5335)
@@ -44,7 +44,7 @@
return load(source,filename);
}
public static synchronized File load(InputStream source, String
filename) throws FileNotFoundException, IOException {
- File file = new File(System.getProperty("user.dir")+ File.separator+
filename);
+ File file = new File(System.getProperty("java.io.tmpdir")+
File.separator+ filename);
if (!file.exists()) {
logger.info("Downloading "+ filename + " to
"+file.getAbsolutePath());
FileOutputStream out = new FileOutputStream(file);

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/Introspection.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/Introspection.java
2009-11-03 10:55:07 UTC (rev 5334)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/plugins/Introspection.java
2009-11-03 12:32:40 UTC (rev 5335)
@@ -57,7 +57,7 @@
protected Introspection() {
super();
loader = null;
- defaultLocation[2] = System.getProperty("user.dir");
+ defaultLocation[2] = System.getProperty("java.io.tmpdir");
}

/**

Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/panels/StatusBar.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/panels/StatusBar.java
2009-11-03 10:55:07 UTC (rev 5334)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ui/panels/StatusBar.java
2009-11-03 12:32:40 UTC (rev 5335)
@@ -288,7 +288,7 @@
errorText.append(px.getErrordescription());
errorText.append('\n');
}
- errorText.append("\n\nSee the
"+System.getProperty("user.dir")+File.separator+"perfsonar.log file for
further error details.");
+ errorText.append("\n\nSee the
"+System.getProperty("java.io.tmpdir")+File.separator+"perfsonar.log file
for further error details.");
ErrorInfo info = new ErrorInfo(category,
basic,
errorText.toString(),
@@ -303,7 +303,7 @@
category = "unknown";
}
/*
- errorText.append("\n\nSee the
"+System.getProperty("user.dir")+File.separator+"perfsonar.log file for
further error details.");
+ errorText.append("\n\nSee the
"+System.getProperty("java.io.tmpdir")+File.separator+"perfsonar.log file
for further error details.");
t = new JTextArea(errorText.toString());


@@ -320,7 +320,7 @@
};
*/
ErrorInfo info = new ErrorInfo(category,
- basic + "\n\nSee the
"+System.getProperty("user.dir")+File.separator+"perfsonar.log file for
further error details.",
+ basic + "\n\nSee the
"+System.getProperty("java.io.tmpdir")+File.separator+"perfsonar.log file
for further error details.",
null,
category,
x,



  • perfsonar: r5335 - in branches/perfsonarui/src/org/perfsonar/perfsonarui: aa plugins ui/panels, svnlog, 11/03/2009

Archive powered by MHonArc 2.6.16.

Top of Page