You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-user@jakarta.apache.org by Asle Pedersen <ap...@gmail.com> on 2005/09/13 14:43:30 UTC
loading scripts from jar file
Hi,
I have used BSF via the ANT scripting task, however I am thinking of using
BSF standalone in java projects.
Is it possible for BSF to load scripts from a jar file?
Regards,
Asle
Re: loading scripts from jar file
Posted by Ulf Dittmer <ul...@ulfdittmer.com>.
BSF loads scripts from String objects, so if your Java application can get
the script out of the jar file and store it in a String, it can pass it to
a scripting engine.
Ulf
> Hi,
> I have used BSF via the ANT scripting task, however I am thinking of using
> BSF standalone in java projects.
> Is it possible for BSF to load scripts from a jar file?
> Regards,
> Asle
>
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-user-help@jakarta.apache.org