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

Command line should not read inputfiles to memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • None
    • None
    • 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

            Unassigned Unassigned
            stain Stian Soiland-Reyes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: