Rogelio,
This is from my tr.properties - module.packages=vstreet.turbine.myapp.modules,vstreet.turbine.tools,org.apache.turbine.flux.modules I have not modified this at all, this was built during the TDK install. I'm sure it is something easy, I just can't figure out what it is. Thanks, Dan Robles, Rogelio wrote: >Here is my guess. > >Maybe you repackaged the sample Turbine app, and your screen class is not >being loaded because it cannot be found where the properties file is >indicating to look at. > >Check in \WEB-INF\conf\TurbineResource.properties the following entry >"module.packages=". > >In your case, guessing from the path of your source code, you should add >something like: (or any class package where your *.modules.screens.* ) > >module.packages=vstreet.turbine.myapp.modules, >org.apache.turbine.flux.modules > >Usually, if you want to add additional screen packages add them here, coma >separated. Keep the screens of the flux security service if you don't have a >custom replacement. > >So, besides following the Turbine file directory tree, >TurbineResource.properties should reflect the class hierarchy where the >screens are. > >Rogelio > >-----Original Message----- >From: Dan Robinson [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 09, 2002 11:25 AM >To: Turbine Users List >Cc: [EMAIL PROTECTED] >Subject: Re: HELP I'M DROWNING!!! > > >Maik, > > >Currently I've got: > >myapp\templates\app\screens\ServletInfo.vm >myapp\WEB-INF\classes\vstreet\turbine\myapp\modules\screens\ServletInfo.clas >s >myapp\WEB-INF\src\java\vstreet\turbine\myapp\modules\screens\ServletInfo.jav >a > >I have no idea what the "appropriate location" would be - this seems to >be the standard explained in the doco. > >Thanks for your assistance, > >Dan > >[EMAIL PROTECTED] wrote: > >>Hi Dan, >> >>>In 2.1 flavor of TDK the ServletInfo.vm outputs: >>> >>>Servlet Info: $serverName >>> >>The corresponding ServletInfo.java is not being found--it puts the >>variable "serverName" in the template's context. >> >>Copy the .java file to the appropriate location and modify the package >>name accordingly. >> >>HTH, >>-Maik >> >>-- >>To unsubscribe, e-mail: >> ><mailto:[EMAIL PROTECTED]> > >>For additional commands, e-mail: >> ><mailto:[EMAIL PROTECTED]> > >> >> > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
