Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-964

Command line should not read inputfiles to memory

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      As reported by Daniele Tartarini to dev@taverna, 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.

      In conjuction with the Tool activity using Files this mean the file is copied twice.

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stain Stian Soiland-Reyes
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: