On Nov 6, 2007 3:31 PM, Angel Vera <[EMAIL PROTECTED]> wrote:
> Weblogger roller = WebloggerFactory.getWeblogger();
>
> I need to call:
>         WebloggerStartup.prepare();
>         WebloggerFactory.bootstrap();
>
> And with that I need to add a whole bunch of jar dependecies, so I am doing
> this.. I am staring to wonder if:
>
> 1) I am doing it the right way

Yes.


> 2) Do i really need to add all this guicer jars and jpa stuff..?

Yes. Look at the "groovy" script and you'll see that we include all of
the jars in WEB-INF/lib.


> 3) After resolving several problems related to properties, or classes
> missing, I am now running into:
> Caused by: java.lang.RuntimeException: couldn't access theme dir
> [${webapp.context}]
>     at
> org.apache.roller.weblogger.business.themes.ThemeManagerImpl.<init>(ThemeManagerImpl.java:88)
>     ... 34 more

Not sure what is going on here. You might need to first init the
property system like so:
        
org.apache.roller.weblogger.business.WebloggerFactory.getWeblogger().getPropertiesManager().initialize();
org.apache.roller.weblogger.business.WebloggerFactory.getWeblogger().flush();

- Dave

Reply via email to