Closed GoogleCodeExporter closed 9 years ago
Don't get the problem.
What do you mean?
VELO
Original comment by velo...@gmail.com
on 15 Jul 2008 at 12:02
1. Create an application in src/main/flex/App.mxml:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Text text="hello world" />
</mx:Application>
2. Create a resource in src/main/locales/en_Us/foo.properties:
hello = hello
3. run the pom.xml above and you get about 8 duplicate errors.
4. When you check out the compiler options, you see:
-compiler.source-path c:\Base\src\main\flex c:\Base\src\main\locales\en_US
c:\Base\src\main\locales\en_US
I would think that adding twice the path to locales causes the duplicate errors.
Original comment by marcsp...@gmail.com
on 15 Jul 2008 at 12:12
Well,
What happened.
The locale is defined on flex-super-pom:
<locales>
<param>en_US</param>
</locales>
Then, you define it again on your pom:
<locales>
<locale>en_US</locale>
</locales>
Maven will merged both locales. So, you will have one en_US for flex-super-pom
and
another en_US for your pom.xml:
<locales>
<locale>en_US</locale>
<param>en_US</param>
</locales>
You can confirm that running mvn help:effective-pom
I changed flex-super-pom to locale.
Original comment by velo...@gmail.com
on 18 Jul 2008 at 1:34
Original issue reported on code.google.com by
marcsp...@gmail.com
on 15 Jul 2008 at 11:42