What I was expecting was just that the beanshell can run the main function
of a class. Anyway, I converted my code to a script, and getting an error
from a method of a class which I have already added the jar file in
dependencies. Here is the code snippet
Experiment exampleExperiment = createExampleExperiment(providerName,
organismName); //this method works OK, this class also imported.
List experimentList = searchService.search(exampleExperiment);
//this method does not work, I have no clue.
What kind of classes are not supported by beanshell?
Thanks.
-Talha
On Tue, Apr 19, 2011 at 4:47 AM, Alex Nenadic <[email protected]> wrote:
> Hi,
>
> Have you placed the Beanshell result in a variable named after the output
> port? That effectively tell Taverna to "return" the result from a Beanshell.
>
> Can you send us your workflow with the Beanshell code please?
>
> Regards,
> Alex
>
>
>
> On 18/04/2011 20:56, Talha OZ wrote:
>
> The same code works as a java application. But does not produce any output
> as a beanshell. And, I do not get any errors.
> What might I be missing?
>
> Thanks,
>
> -Talha
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>
>
> _______________________________________________
> taverna-users mailing
> [email protected][email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/about/contact-us/
>
>
>
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
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/