I'm trying to use JExcelApi from Fantom, but I can't seem to make Fantom see it. I ran the fan compilerJava::ClassPath and I added a copy of the jxl.jar to each of those folders. The only directory that worked for me was lib/ext of the JRE. Is there someway of placing the jar elsewhere and have Fantom see it? Like in the lib of the Fantom's installation?
Brian, Wouldn't it be nice to allow to bundle the specific jar files I need along with my pod?
Especially considering there has been so much libraries developed for java, one should be easily allowed to bundle fantomy pods wrapping jar files..
so for eg., If can come up with a file upload pod for wisp, I can give it to the developers in my company just like any other pod, instead of asking them to "use this pod... and yeah.. make sure you have these 3 jars in one of these locations too.."
fury Sun 17 Jan 2010
I'm trying to use JExcelApi from Fantom, but I can't seem to make Fantom see it. I ran the fan compilerJava::ClassPath and I added a copy of the jxl.jar to each of those folders. The only directory that worked for me was lib/ext of the JRE. Is there someway of placing the jar elsewhere and have Fantom see it? Like in the lib of the Fantom's installation?
brian Sun 17 Jan 2010
See Java FFI docs
kaushik Tue 19 Jan 2010
Brian, Wouldn't it be nice to allow to bundle the specific jar files I need along with my pod?
Especially considering there has been so much libraries developed for java, one should be easily allowed to bundle fantomy pods wrapping jar files..
so for eg., If can come up with a file upload pod for wisp, I can give it to the developers in my company just like any other pod, instead of asking them to "use this pod... and yeah.. make sure you have these 3 jars in one of these locations too.."
brian Tue 19 Jan 2010
I think that problem will get solved in #867
kaushik Tue 19 Jan 2010
will #867 also solve the problem of hotswapping pods at runtime?
brian Tue 19 Jan 2010
It will allow alternate runtimes like OSGi to be used which support that sort of thing.