Re: Accessing templates in jars
Lane Sharman <[email protected]>
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
Templates are routinely accessed in a jar. In fact, if you look at the way the WM Wiki is built and instantiated at run time, all the templates are in a jar in the WEB-INF/lib folder. -Lane Keats Kirsch wrote: > My guess is that it has to do with which Broker you are using, which > depends on how you instantiate WM. If you pass in a Servlet instance > (JSDK 2.2+) it will instantiate the Servlet22Broker which should find > the templates anywhere the Servlet class loader can find them. > > Hope this helps. > > Keats > > Tim Pizey wrote: > >> Hi, >> Sorry, I am sure this is a FAQ, but have not been able to find the >> answer. >> I am building a war, using webmacro 2.0b1. >> >> I can access templates in the war file (ie in the WEB-INF/classes >> directory) but I cannot access templates in a jar in the lib directory. >> This seems to have been something which none of the Melati users have >> found a way around, so end up copying templates into each project. >> >> >> yours >> TimP >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Webmacro-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/webmacro-user >> >> >> > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Webmacro-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/webmacro-user > ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8