Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I am going to have quiet a few scripts each one for a different purpose.
So, in my java file where I pass the name of the script, I wanted to drive
that parameter by using a Resource Bundle. So, I was wondering if I can
include a "package" statement at the top of my script and then have the name
of the file (along with the package) in the properties file and use it that
way. Any comments?
For example my script(MyBeanShell.bsh) would look like:
And the properties file would look like:
ffh_bs = com.mypackage.MyBeanShell.bsh
And the jave file using the script would:
scriptName = this.rsBundle.getString(ffh_bs);