There's a feature in Groovy called @Grab that allows you to embed dependency
references in a script. These references are resolved at runtime. This
allows you to send a script to someone and be assured that the appropriate
libraries will be downloaded and installed prior to running the script.
@Grab uses Maven repositories. Here's a brief article on it:
http://www.jroller.com/page/phidias/?anchor=biogroovy_and_grapes
I don't know to what extent this annotation would be usable by other
scripting languages, but it might be worth looking into.
Mark
On Mon, Aug 2, 2010 at 6:47 AM, Mark Fortner <[email protected]> wrote:
> There is however a perl-like scripting language called Sleep.
>
> Mark
>
>
> On Aug 1, 2010, at 9:05 PM, 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/
>>
>
------------------------------------------------------------------------------
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/