Hi Ian,
In fact it's possible by doing something like :
File myfile = new File("/path/to/file");
output = myfile;
But I found my problem to be more complex. What I want is to manage files
without saving them on the disk. It's complicated when dealing with zip
file for exemple ... Right now, I'm saving file on the disk and manage the
file using tools.
Thanks for your answer !
On Thu, Mar 1, 2012 at 12:08 PM, Ian Dunlop <[email protected]>wrote:
> Hello,
>
> I'm not sure you can do what you are trying with the beanshell as
> implemented in Taverna. I think as far as Taverna is concerned a file on
> an output port is its contents. Why is it that you cannot pass the path to
> the file. If you post an example workflow with your beanshells then we
> might have a better answer.
>
> Cheers,
>
> Ian
>
>
> On 23 February 2012 21:48, judicael ribault <[email protected]> wrote:
>
>> Hi (again),
>>
>> I'm trying to create a zip file using a Beanshell script, and then put
>> this newly created file on the output port of my workflow (so can combine
>> this workflow output with another workflow input).
>> I don't know how to tell into my Beanshell script that I want the file
>> (not the path or the content, but the file) on my output port...
>>
>> Any idea ?
>>
>> Thank you.
>>
>
>
>
> --
> Ian Dunlop
> myGrid Team
> School of Computer Science
> University of Manchester
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> taverna-users mailing list
> [email protected]
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/about/contact-us/
>
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/