|
From: <ha...@us...> - 2007-11-02 18:01:31
|
Revision: 1825
http://cogkit.svn.sourceforge.net/cogkit/?rev=1825&view=rev
Author: hategan
Date: 2007-11-02 11:01:29 -0700 (Fri, 02 Nov 2007)
Log Message:
-----------
silly things would happen if the tree name had directories in it
Modified Paths:
--------------
trunk/current/src/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/restartLog/RestartLog.java
Modified: trunk/current/src/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/restartLog/RestartLog.java
===================================================================
--- trunk/current/src/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/restartLog/RestartLog.java 2007-11-02 17:59:03 UTC (rev 1824)
+++ trunk/current/src/cog/modules/karajan/src/org/globus/cog/karajan/workflow/nodes/restartLog/RestartLog.java 2007-11-02 18:01:29 UTC (rev 1825)
@@ -110,7 +110,7 @@
protected void create(VariableStack stack, String name) throws ExecutionException {
FlushableLockedFileWriter logffw = null;
if (name == null) {
- name = stack.getExecutionContext().getTree().getName();
+ name = new File(stack.getExecutionContext().getTree().getName()).getName();
}
for (int i = 0; i < Integer.MAX_VALUE; i++) {
String index = "." + String.valueOf(i);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|