Jar resource problem...

"Vidakovic Aleksandar" <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>
Salut all,

I'm having a problem loading a resource from a jar file in my keel-direct-server-struts application. Situation: I want to use the Jena (http://jena.sf.net) RDF framework in a keel model. The Jena framework needs to load a text file located in the jena.jar on startup. If I make a simple test with a class containing a "main" method under eclipse Jena has no problem to find the resource in the classpath. As soon as I deploy my keel app and test the code in a keel model I get errors (resource cannot be found). Is it possible that the keel classloader prevents Jena to find the resource? I already found a quick hack for jena, but this means I have to touch a source file which I don't want to.

Is this a common problem of the keel classloader? Solutions? Note: I'm using a 2.x version of keel...

Thanks,

Aleks
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.