Hello,
I am trying to compile my project with flex-mojos version 3.6.1 with flex
framework version 4.1.0.16076.
But I am having some problems with localization. I tried to make
localization with turkish. I downloaded all 4.1.0.16076 framework and made
copylocale to make tr_TR framework locale resource bundle files.

It made 8 resource bundle files:

12/17/2010  07:49 PM             3,714 airframework_rb.swc
12/17/2010  07:49 PM             3,377 automation_rb.swc
12/17/2010  07:49 PM             4,386 datavisualization_rb.swc
12/17/2010  07:49 PM            13,416 framework_rb.swc
12/17/2010  07:49 PM             5,311 osmf_rb.swc
12/17/2010  07:49 PM             7,370 rpc_rb.swc
12/17/2010  07:49 PM             8,859 spark_rb.swc
12/17/2010  07:49 PM             4,101 textLayout_rb.swc

and I manually installed all 8 files to my local maven repository.Than I
tried to compile it after with tr_TR locale files but now it complains about
it can't find flash-integration_rb.swc. I checked en_US resource bundle
files and found out there are 13 files instead of 8 files like tr_TR:

05/12/2010  05:47 PM            64,365 airframework_rb.swc
05/12/2010  05:47 PM            20,387 airspark_rb.swc
05/12/2010  05:47 PM             8,395 automation_agent_rb.swc
05/12/2010  05:47 PM            20,745 automation_rb.swc
05/12/2010  05:47 PM           300,970 datavisualization_rb.swc
05/12/2010  05:47 PM            21,346 flash-integration_rb.swc
05/12/2010  05:47 PM           814,975 framework_rb.swc
05/12/2010  05:47 PM             8,996 osmf_rb.swc
05/12/2010  05:47 PM         1,057,218 playerglobal_rb.swc
05/12/2010  05:47 PM             3,754 qtp_air_rb.swc
05/12/2010  05:47 PM           122,816 rpc_rb.swc
05/12/2010  05:47 PM           291,038 spark_rb.swc
05/12/2010  05:47 PM           160,172 textLayout_rb.swc

so I think that I need those additional 5 more resource bundles for tr_TR
resource bundles. So I am asking how I can get those 5 more resource
bundles. Should I compile those 5 more bundles manually from framework
source files?
Did I understand problem well? May be I misunderstand some things...

My pom file is like that:

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
    <parent>
  <artifactId>claimer</artifactId>
  <groupId>compugroup.promed</groupId>
  <version>0.0.1-SNAPSHOT</version>
 </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>compugroup.promed</groupId>
    <artifactId>efatflex</artifactId>
 <name>efatflex</name>
 <version>0.0.1-SNAPSHOT</version>
    <packaging>swf</packaging>
    <properties>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 </properties>
 <build>
  <finalName>efatflex</finalName>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>org.sonatype.flexmojos</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>3.6.1</version>
                <extensions>true</extensions>
                <configuration>
     <targetPlayer>10.0.0</targetPlayer>
                    <debug>true</debug>
                    <configurationReport>true</configurationReport>
     <sourceFile>Main.mxml</sourceFile>
     
<resourceBundlePath>${basedir}/src/main/flex/locale/{locale}</resourceBundlePath>
     <compiledLocales>
      <locale>en_US</locale>
      <locale>tr_TR</locale>
     </compiledLocales>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>com.adobe.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>4.1.0.16076</version>
                        <type>pom</type>
                    </dependency>
                    <dependency>
                        <groupId>com.adobe.flex.compiler</groupId>
                        <artifactId>asdoc</artifactId>
                        <version>4.1.0.16076</version>
                        <classifier>template</classifier>
                        <type>zip</type>
                    </dependency>
                </dependencies>
            </plugin>
        </plugins>
        <defaultGoal>install</defaultGoal>
        <resources>
            <resource>
                <directory>${basedir}/src/main/resources</directory>
            </resource>
            <resource>
                <directory>${basedir}/target/generated-resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>
    <dependencies>
        <!-- external -->
        <dependency>
            <groupId>com.adobe.flex.framework</groupId>
            <artifactId>flex-framework</artifactId>
            <version>4.1.0.16076</version>
            <type>pom</type>
  </dependency>

  <dependency>
            <groupId>compugroup.promed</groupId>
            <artifactId>RCTLib</artifactId>
            <version>0.0.1-SNAPSHOT</version>
            <type>swc</type>
        </dependency>

  <dependency>
            <groupId>requiredSWC</groupId>
            <artifactId>alivePDF</artifactId>
            <version>0.0.1</version>
            <type>swc</type>
        </dependency>
  <dependency>
            <groupId>requiredSWC</groupId>
            <artifactId>cairngorm</artifactId>
            <version>0.0.1</version>
            <type>swc</type>
        </dependency>
  <dependency>
            <groupId>requiredSWC</groupId>
            <artifactId>flexReport</artifactId>
            <version>0.0.1</version>
            <type>swc</type>
        </dependency>
  <dependency>
            <groupId>requiredSWC</groupId>
            <artifactId>seleniumFlexApi</artifactId>
            <version>0.0.1</version>
            <type>swc</type>
        </dependency>
  <dependency>
   <groupId>com.adobe.flex.framework</groupId>
   <artifactId>halo</artifactId>
   <type>swc</type>
   <version>4.1.0.16076</version>
   <scope>theme</scope>
   <classifier>theme</classifier>
  </dependency>
        <dependency>
            <groupId>com.adobe.flexunit</groupId>
            <artifactId>flexunit</artifactId>
            <version>0.85</version>
            <type>swc</type>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
and my error log is like that:

[INFO] Unable to find resource
'com.adobe.flex.framework:flash-integration:rb.sw
c:tr_TR:4.1.0.16076' in repository central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
    mvn install:install-file -DgroupId=com.adobe.flex.framework
-DartifactId=fla
sh-integration -Dversion=4.1.0.16076 -Dclassifier=tr_TR -Dpackaging=rb.swc
-Dfil
e=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=com.adobe.flex.framework
-DartifactId=flash
-integration -Dversion=4.1.0.16076 -Dclassifier=tr_TR -Dpackaging=rb.swc
-Dfile=
/path/to/file -Durl=[url] -DrepositoryId=[id]

  com.adobe.flex.framework:flash-integration:rb.swc:4.1.0.16076
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  flexmojos (http://repository.sonatype.org/content/groups/flexgroup/),
  jboss (https://repository.jboss.org/nexus/content/repositories/releases/)

Thanks in advance.

Can Saner

-- 
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

http://flexmojos.sonatype.org/

Reply via email to