Oops, I spoke too soon. I now have the Flex Data Visualization Trial
watermark. Is this <dependencies> section what points us at the SDK in the
local repository? Perhaps I just need to change 3.1.0 to 3.1.0-fb3...

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

> Actually, it's working since I removed:
>                     <dependencies>
>                         <dependency>
>                             <groupId>com.adobe.flex</
> groupId>
>                             <artifactId>compiler</artifactId>
>                             <version>3.1.0</version>
>                             <type>pom</type>
>                         </dependency>
>                     </dependencies>
>
> Not sure what this even means in the <plugin> section.
>
> So now I'm down to a build section like this, and I suspect I don't need
> the mergeResourceBundle either.
>
>         <build>
>             <plugins>
>                 <plugin>
>                     <groupId>info.flex-mojos</groupId>
>                     <artifactId>flex-compiler-mojo</artifactId>
>                     <configuration>
>                         <mergeResourceBundle>false</mergeResourceBundle>
>                     </configuration>
>                 </plugin>
>             </plugins>
>         </build>
>
> Thanks for the help. I'm sure I will have more questions...
>
>
> On Tue, Jan 20, 2009 at 2:51 PM, Marvin Froeder <[email protected]> wrote:
>
>> It is there...
>>
>>
>> http://svn.sonatype.org/flexmojos/repository/info/flex-mojos/flex-compiler-mojo/2.0.1/
>>
>> Try to use -U parameter to force download.
>>
>>
>> VELO
>>
>>
>> On Tue, Jan 20, 2009 at 7:58 PM, Richard Rodseth <[email protected]>wrote:
>>
>>> I think I need to fix the compiler reference first, as I have this error:
>>>
>>> 1 required artifact is missing.
>>>
>>> for artifact:
>>>   info.flex-mojos:flex-compiler-mojo:maven-plugin:2.0.1
>>>
>>> from the specified remote repositories:
>>>   central (http://builds.companyname.net/artifactory/repo),
>>>   local (http://svn.sonatype.org/flexmojos/repository/),
>>>   snapshots (http://builds.companyname.net/artifactory/repo),
>>>   flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/)
>>>
>>> I have the SDK in a local repository and use that for the framework as
>>> follows:
>>>
>>>                  <dependency>
>>>                     <groupId>com.adobe.flex.framework</groupId>
>>>                     <artifactId>flex-framework</artifactId>
>>>                     <version>3.1.0-fb3</version>
>>>                     <type>pom</type>
>>>                 </dependency>
>>>
>>> What should the beginning of the <build> section look like? Below is what
>>> I have now, after removing the items you suggested.
>>>
>>>         <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>
>>>
>>>                         <compiledLocales>
>>>                             <locale>en_US</locale>
>>>                             <locale>ja_JP</locale>
>>>                         </compiledLocales>
>>>
>>>                     </configuration>
>>>                 </plugin>
>>>             </plugins>
>>>         </build>
>>>
>>>
>>> On Tue, Jan 20, 2009 at 1:39 PM, Marvin Froeder <[email protected]>wrote:
>>>
>>>> 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