as with Python and Ruby you would find that you can't reimplement the whole of Perl in Java. You will most likely run into scripts using modules that needs to be compiled and installed on that particular operating system, often with various C dependencies.
The script languages have different ways to automate this, such as cpan, easy_install and gem, but supporting any of these will still require a certain level of control on the installation, and a Taverna plugin (Beanshell like) that allows for such scripts should also allow you to specify which external libraries are needed. Typical perl scripts are also very file-oriented, and so a 'Perl activity' should also take care of preparing and retrieving files from a temporary directory, Grid-job-style. You can execute perl scripts today using 'Execute command line' or the Usecase Activity - but you would first need to install both Perl and the Perl script. (The workflow could in theory write out the perl script to disk and then execute it, but it would not be very elegant) On Mon, Aug 2, 2010 at 05:05, Wei Tan <[email protected]> wrote: > BTW: it seems that https://scripting.dev.java.net/ does not support perl? > > Thanks, > > Wei > > > On 8/1/2010 6:28 PM, Mark Fortner wrote: >> When I'd the switch to Java 6 planned? If it's going to be a while you >> might try BSF as a stopgap measure. >> >> Mark >> >> On Aug 1, 2010, at 2:50 PM, "Donal K. >> Fellows"<[email protected] >> > wrote: >> >>> On 01/08/2010 18:38, Mark Fortner wrote: >>>> Not that I know of. But it would be nice if there was a more >>>> generalized >>>> form of the current beanshell processor. Java has built in support >>>> for >>>> scripting languages, and most people are familiar with python or perl >>>> (not beanshell). There are a wide variety of supported scripting >>>> languages that make use of the Java VM including (Groovy, JavaScript, >>>> Sleep (a perl-like language) and Jython). Here's a brief listing: >>>> https://scripting.dev.java.net/ >>> We've known about this (and wanted to fix it!) for quite a while, >>> but it's been blocked for a while by Taverna being dependent on >>> supporting Java 5; the scripting support framework requires Java 6. >>> >>> The good news is that we will be removing this blocker in future >>> releases. The Server is already transitioned (a benefit of it being >>> a de novo software artefact), the core execution Platform is being >>> ported, and I'm not quite sure what's involved in moving the >>> Workbench; GUI development in Java isn't my particular forté. The no >>> t-quite-so-good news is that I'm not sure what the timeline for the >>> transition is. >>> >>>> Perhaps we can raise an issue about this if there's enough interest >>>> from >>>> the user-community. >>> Once the blocker problem (Java versioning) is sorted, I'd hope that >>> the community could provide plugins for the languages they want to >>> see. >>> >>> Donal. >>> <donal_k_fellows.vcf> >>> --- >>> --- >>> --- >>> --------------------------------------------------------------------- >>> The Palm PDK Hot Apps Program offers developers who use the >>> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >>> of $1 Million in cash or HP Products. Visit us here for more details: >>> http://p.sf.net/sfu/dev2dev-palm >>> _______________________________________________ >>> taverna-hackers mailing list >>> [email protected] >>> Web site: http://www.taverna.org.uk >>> Mailing lists: http://www.taverna.org.uk/about/contact-us/ >>> Developers Guide: http://www.taverna.org.uk/developers/ >> ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://p.sf.net/sfu/dev2dev-palm >> _______________________________________________ >> taverna-hackers mailing list >> [email protected] >> Web site: http://www.taverna.org.uk >> Mailing lists: http://www.taverna.org.uk/about/contact-us/ >> Developers Guide: http://www.taverna.org.uk/developers/ > > -- > Wei Tan, Ph.D. > Computation Institute > the University of Chicago|Argonne National Laboratory > http://www.mcs.anl.gov/~wtan > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > taverna-hackers mailing list > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > Developers Guide: http://www.taverna.org.uk/developers/ -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
