[Swift-commit] r2347 - in trunk: libexec src/org/griphyn/vdl/karajan/lib
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Wed Nov 26 13:38:20 CST 2008
Author: benc
Date: 2008-11-26 13:38:19 -0600 (Wed, 26 Nov 2008)
New Revision: 2347
Removed:
trunk/src/org/griphyn/vdl/karajan/lib/FileSet.java
Modified:
trunk/libexec/vdl-lib.xml
Log:
FileSet library function is unused so remove.
Modified: trunk/libexec/vdl-lib.xml
===================================================================
--- trunk/libexec/vdl-lib.xml 2008-11-26 19:31:44 UTC (rev 2346)
+++ trunk/libexec/vdl-lib.xml 2008-11-26 19:38:19 UTC (rev 2347)
@@ -47,7 +47,6 @@
<export name="waitFieldValue"><elementDef classname="org.griphyn.vdl.karajan.lib.WaitFieldValue"/></export>
<export name="isFileBound"><elementDef classname="org.griphyn.vdl.karajan.lib.IsFileBound"/></export>
<export name="isRestartable"><elementDef classname="org.griphyn.vdl.karajan.lib.IsRestartable"/></export>
- <export name="fileSet"><elementDef classname="org.griphyn.vdl.karajan.lib.FileSet"/></export>
<export name="fringePaths"><elementDef classname="org.griphyn.vdl.karajan.lib.FringePaths"/></export>
<export name="assign"><elementDef classname="org.griphyn.vdl.karajan.lib.Assign"/></export>
<export name="closeDataset"><elementDef classname="org.griphyn.vdl.karajan.lib.CloseDataset"/></export>
Deleted: trunk/src/org/griphyn/vdl/karajan/lib/FileSet.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/FileSet.java 2008-11-26 19:31:44 UTC (rev 2346)
+++ trunk/src/org/griphyn/vdl/karajan/lib/FileSet.java 2008-11-26 19:38:19 UTC (rev 2347)
@@ -1,31 +0,0 @@
-/*
- * Created on Dec 26, 2006
- */
-package org.griphyn.vdl.karajan.lib;
-
-import org.globus.cog.karajan.arguments.Arg;
-import org.globus.cog.karajan.stack.VariableStack;
-import org.globus.cog.karajan.workflow.ExecutionException;
-import org.globus.cog.karajan.workflow.futures.FutureNotYetAvailable;
-import org.griphyn.vdl.mapping.DSHandle;
-import org.griphyn.vdl.mapping.HandleOpenException;
-import org.griphyn.vdl.mapping.InvalidPathException;
-
-public class FileSet extends VDLFunction {
- static {
- setArguments(FileSet.class, new Arg[] { PA_VAR, OA_PATH });
- }
-
- public Object function(VariableStack stack) throws ExecutionException {
- DSHandle var = (DSHandle) PA_VAR.getValue(stack);
- try {
- return this.leavesFileNames(var.getField(parsePath(OA_PATH.getValue(stack), stack)));
- }
- catch (InvalidPathException e) {
- throw new ExecutionException(e);
- }
- catch (HandleOpenException e) {
- throw new FutureNotYetAvailable(addFutureListener(stack, e.getSource()));
- }
- }
-}
More information about the Swift-commit
mailing list