You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Cyrille GACHOT <cy...@cotranet.com> on 2004/07/28 10:41:07 UTC

Re: custom localization files not included in deploy

Hi,

<copied to the dev list to know their thoughts...>
Sorry, maybe I was drunk when I answer your mail. I totally miss the
point.
I've just tested the localization thing the way i use it in J-1.4 (in
wich it used to work), and your right it doesn't work.
There is not my localization directory in the deploy directory, neither
there is any of the Jetspeed localization files in the localization
directory of Jetspeed.
What is odd is that when you don't try to use your own localization
files, everything works fine, even if there is still no files in the
Jetspeed localization directory.

Cyrille

Le mar 27/07/2004 à 18:20, Rene Medellin a écrit :
> Hi,
> 
> Yes, I have set those properties. But as far as I can
> tell, those properties are just configuring the
> startup for the Turbine modules. I.e. It tells the
> Turbine classloader to load my property file from the
> appropriate namespace. The property file, however,
> still needs to be there in the deploy directory so
> that the classloader will find it, right? When I look
> at my Tomcat/webapps directory, I do not see a folder
> for my localization bundle, i.e. there is no:
> 
> CATALINA_HOME\webapps\my-portal\WEB-INF\classes\my.appli.dir.modules.localization
> 
> folder with a properties file in it. So I think my
> problem is basically a problem with either my
> project.xml or the version of the jetspeed plugin I
> have in Maven. My local properties package just isn't
> getting included as part of the built war file.
> 
> Hope this rings some bells for someone. I guess I may
> just need to hack-in a specific goal to get the pieces
> I needed added-in with the war file.
> 
> Thanks,
> 
> - Rene
> 
> 
> --- Cyrille GACHOT <cy...@cotranet.com>
> wrote:
> 
> > Le lun 26/07/2004  17:46, Rene Medellin a crit :
> > > Hi,
> > > 
> > > I'm just getting started with using Jetspeed 1.5.
> > I am
> > > building with Maven, from the full source
> > > distribution, using the Jetspeed Plugin. I have
> > > created the directory:
> > > 
> > > src/java/my/packaqe/dir/modules/localization
> > > 
> > > in my maven project folder and placed my
> > customized
> > > MyJetspeedLocalization_en.properties file in it.
> > > 
> > > When I run the 'maven jetspeed:deploy' goal
> > however,
> > > my localization module does not seem to be
> > included in
> > > the .war file. My custom
> > > TurbineResources.properties.merge seems to be
> > getting
> > > merged fine but since the file with the localized
> > > definitions is missing from the deploy, all my
> > portal
> > > displays for text are things like:
> > > 
> > > $l10n.TOP_LOGINHELP  
> > > $l10n.TOP_TITLE 
> > > 
> > > instead of the appropriate localised value for the
> > > property.
> > > 
> > > Anybody using the Maven Jetspeed plugin know what
> > I
> > > need to modify to make sure my localization module
> > > gets included in the deploy goal?
> > > 
> > > Thanks,
> > > 
> > > Rene Medellin
> > > 
> > > 
> > Have you setup these prop in
> > TurbineResource.properties.merge?
> > 
> > #to find you localization module
> > module.packages=my.appli.dir.modules
> > 
> > #to make it the first module to use, before the
> > Jetspeed one
> >
> locale.default.bundles=my.appli.dir.modules.localization.myAppliLocalization,
> >           
> >
> org.apache.jetspeed.modules.localization.JetspeedLocalization
> > 
> > 
> > Hope it will help
> > 
> > Cyrille
> > > 
> > > 		
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail - 50x more storage than other
> > providers!
> > > http://promotions.yahoo.com/new_mail
> > > 
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > jetspeed-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > jetspeed-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > jetspeed-user-help@jakarta.apache.org
> > 
> > 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org