Re: Velocity File Resource Path Loading Problem

2009-07-22 Thread Nathan Bubna
On Wed, Jul 22, 2009 at 10:12 AM, Jim Cortez wrote: > Turns out that that the WebappResourceLoader does not fix the problem. > > When you deploy an application to Android, you must run all the .class files > through the dalvik converter. This changes the java bytecodes from > stack-based to registe

Re: Velocity File Resource Path Loading Problem

2009-07-22 Thread Jim Cortez
Turns out that that the WebappResourceLoader does not fix the problem. When you deploy an application to Android, you must run all the .class files through the dalvik converter. This changes the java bytecodes from stack-based to register based and puts them in a flat file. In turn, it also st

Re: Velocity File Resource Path Loading Problem

2009-07-21 Thread Nathan Bubna
Have you tried using the WebappResourceLoader from the VelocityTools project? The FileResourceLoader is difficult to use and not very portable in webapp environments. It also won't work at all in unexploded WAR deployments. On Mon, Jul 20, 2009 at 9:48 PM, Jim Cortez wrote: > Hello all, >   I am