Hi Fabian,
Make sense. Are you using a folder structure like that?
project
|--Components
|--Resources
`--WebServerResources
The "executeFolders" method seems to handle these 3 folders (Components,
Resources and WebServerResources) in a special way. I am not using this
folder structure, so I have not figured out this issue. With the
following folder structure almost everything is working here:
project
`--src
`--main
|--components
|--resources
`--webserver-resources
Probably, Ulrich has more to say about this topic than I have. Anyway,
as it seems to be an incorrect behavior, I am creating a patch with your
solution.
Cheers,
Henrique
Fabian Peters wrote:
> Hi,
>
> I had a closer look at the maven stuff last week and find it very
> promising! Thanks a lot, Uli, Henrique, Andrus and all others!
>
> One thing I don't understand is line 192 of DefineResourcesMojo:
>
> resource.setTargetPath(fullTargetPath + File.separator +
> fileName.substring(0, fileName.length() - 6));
>
> This removes the ".lproj" suffixes from language resource directories.
> For me, this breaks localization since the localized resources aren't
> found anymore. I'd be interested to hear what's the idea behind this
> setup? When I change the code to simply use the fileName, everything
> works fine.
>
> cheers
>
> Fabian
>
--\o/ Henrique Prange, Moleque de Idéias Educação e Tecnologia Ltda | Phone: 55-21-2710-0178 E-mail: hprang..oleque.com.br / \ http://www.moleque.com.br
This archive was generated by hypermail 2.0.0 : Mon Mar 26 2007 - 21:56:01 EDT