|
Re: XMLCDeferredParsingFactory and classpaths: msg#00015java.enhydra.xmlc
Hi James, See comments below... At 10:18 AM 12/16/2003 +0000, you wrote: Hi All, Is "myML.html" actually in that "xmlc_on_classpath" directory or in some deeper directory path within that? Also, you probably shouldn't append the "/". Let's say you provide the resource path "/home/kipz/dev/someproject" and "myML.html is in the "com/mycompany" package. You would load it like this.... xmlcDeferredParsingFactor.createFromFile("com/mycompany/MyML.html"); Note that if your "myML.html" file wasn't found, it would then default to loading it from the classpath. This might be what you are experiencing. The path you are providing might simply be wrong, but XMLC still finds the file on the classpath so it loads it instead of the one it couldn't find on the resource path. The resource is loaded correctly, but dynamic reloading no longer works, I suspect because they are being loaded from the classpath by a classloader. Yep, but probably because you provided the wrong path to it within the resource path as stated above. Any help/suggestions would be much appreciated. Hopefully that helps. Let me know if you are still having problems. Jake
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | XMLCDeferredParsingFactory and classpaths, James Carnegie |
|---|---|
| Next by Date: | XMLC vs. JAVA TEMPLATE METHOD, John J. Westerkamp |
| Previous by Thread: | XMLCDeferredParsingFactory and classpaths, James Carnegie |
| Next by Thread: | XMLC vs. JAVA TEMPLATE METHOD, John J. Westerkamp |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |