Re: Need help setting up Turbine tutorial using M.E.T.A

Thomas Vandahl <[email protected]> Tue, 22 May 2012 18:24:27 +0200
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <[email protected]>
Hi Anna,

On 19.05.12 15:44, Anna Turbine wrote:
> Install M.E.T.A following this link:
> http://turbine.apache.org/meta/installation.html
> Note that I installed Maven 1.0 as it says Maven 2 is not currently supported.

If you want to use Maven2, I'd suggest to have a look at
http://www.mail-archive.com/[email protected]/msg00429.html and
the maven archetypes. Those should provide you with a working example
from where you can proceed.

> The problem comes when I tried to move further:
> http://wiki.apache.org/turbine/Turbine2/Tutorial/SimpleSample1
>  
> No matter what I tried, I am not able get the "Adding a java filled screen" part working. I couldn't get the $content_field variable resolved correctly. 

What do the log files tell you? Please note that Turbine needs to know
the packages it should search for module classes (screens, actions and
such). So make sure that org.apache.turbine.app.tutorial1.modules is
part of your module.packages search path in TurbineResources.properties.

Bye, Thomas.