You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@taverna.apache.org by "Stian Soiland-Reyes (JIRA)" <ji...@apache.org> on 2016/04/27 13:11:12 UTC

[jira] [Created] (TAVERNA-964) Command line should not read inputfiles to memory

Stian Soiland-Reyes created TAVERNA-964:
-------------------------------------------

             Summary: Command line should not read inputfiles to memory
                 Key: TAVERNA-964
                 URL: https://issues.apache.org/jira/browse/TAVERNA-964
             Project: Apache Taverna
          Issue Type: Bug
          Components: Taverna Commandline
            Reporter: Stian Soiland-Reyes


As reported by [Daniele Tartarini to dev@taverna|http://mail-archives.apache.org/mod_mbox/taverna-dev/201604.mbox/%3CCAA8bF%2BVdD83A%3DWUMhdaLkip3Xz-impF3jTVF_0Hd395E9zj4yw%40mail.gmail.com%3E], the Taverna Command Line does not pass on "-inputfile" parameters as File (or URL) instances, but rather they are read into memory and then registered fresh.


https://github.com/apache/incubator-taverna-commandline/blob/master/taverna-commandline-common/src/main/java/org/apache/taverna/commandline/data/InputsHandler.java#L168

setValue() in InputsHandler supports File and URL forwarded on to
DataBundles.setReference() - so this should be used instead.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)