And if you remove sourcePaths section? What happens?  If should keep
working.

The locales is ignored when you specify compiledLocales, so you are free to
remove it.

VELO

On Tue, Jan 20, 2009 at 7:19 PM, Richard Rodseth <[email protected]> wrote:

> My simple libraries are building with 2.0.1, so it's on to the big one
> which has resources, locales and a stylesheet.
>
> The project layout (which I believe is the recommended one) is
> src
> ..main
> ....flex
> ......com
> ......styles
> ........stylesheet.css
> ....locales
> ......en_US
> ......ja_JP
> ....resources
> ......assets
> ........images
>
> The old <build> section of the POM is below. I know it's a lot to ask, but
> it would be great if someone could tell me what, if anything, of this is
> still needed. In Flexbuilder, the source path contains:
>
> src/main/flex (main source folder)
> src/test/flex
> src/main/locales/{locale}
> src/main/resources
>
> And additional compiler arguments:
> -locale en_US  ja_JP
>
> Thanks!
>
>       <build>
>             <plugins>
>                 <plugin>
>                     <groupId>info.flex-mojos</groupId>
>                     <artifactId>flex-compiler-mojo</artifactId>
>                     <dependencies>
>                         <dependency>
>                             <groupId>com.adobe.flex</groupId>
>                             <artifactId>compiler</artifactId>
>                             <version>3.1.0</version>
>                             <type>pom</type>
>                         </dependency>
>                     </dependencies>
>                     <configuration>
>                         <mergeResourceBundle>true</mergeResourceBundle>
>                         <includeSources>
>                            <path>${basedir}/src/main/flex</path>
>                         </includeSources>
>
> <!--                        Workaround until M10 - set source paths
> manually-->
>
>                         <sourcePaths>
>                            <path>${basedir}/src/main/flex</path>
>                               <path>src/main/locales/en_US</path>
>                            <path>src/main/locales/ja_JP</path>
>                               <path>${basedir}/src/main/resources</path>
>                         </sourcePaths>
>
>                         <locales>
>                             <locale>en_US</locale>
>                             <locale>ja_JP</locale>
>                         </locales>
>                         <compiledLocales>
>                             <locale>en_US</locale>
>                             <locale>ja_JP</locale>
>                         </compiledLocales>
>
>                     </configuration>
>                 </plugin>
>             </plugins>
>         </build>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to