No, I thought so to, but I removed my local repo and rebuilt it.
However, my local repo is not under user directory, I have it in "c:
\dev" . Is the mojo looking for it in a specific location? I have this
defined in my settings.xml file:
<localRepository>/dev/repository</localRepository>

On Sep 23, 4:48 pm, Marvin Froeder <[email protected]> wrote:
> Isn't you local repo corrupted?
>
> On Wed, Sep 23, 2009 at 5:27 PM, Miguel Bautista
> <[email protected]>wrote:
>
>
>
> > I am not able to run the unit tests if I set the target player to 10.
> > I get the following error "unable to load SWC playerglobal.swc". I saw
> > other postings that about this and followed the instructions but still
> > does not work. It appears that the playerglobal.swc which is being
> > copied to my target directory is empty. However, if I run "mvn
> > compile", it succeeds and the correct playerglobal is in target.
> > If I keep the target directory open while its building, I can see that
> > it first copies the playerglobal correctly (size appro. 180k) but then
> > it overwrites it with another one that is empty when it starts
> > compiling tests, why would it do that?
>
> > Here is my pom (I trimmed it down as much as possible):
> > <?xml version="1.0" encoding="UTF-8"?>
> > <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.0http://maven.apache.org/maven-v4_0_0.xsd";>
> >    <modelVersion>4.0.0</modelVersion>
> >    <groupId>my.group</groupId>
> >    <artifactId>artifact</artifactId>
> >    <packaging>swf</packaging>
> >    <build>
> >                <resources>
> >          <resource>
> >            <directory>src/main/config</directory>
> >          </resource>
> >        </resources>
> >        <sourceDirectory>src/main/flex</sourceDirectory>
> >                <testSourceDirectory>src/test/flex</testSourceDirectory>
> >        <outputDirectory>${project.build.directory}/classes</
> > outputDirectory>
> >        <plugins>
> >                        <plugin>
> >                <groupId>org.sonatype.flexmojos</groupId>
> >                <artifactId>flexmojos-maven-plugin</artifactId>
> >                <extensions>true</extensions>
> >                                <configuration>
>
> >  <ignoreVersionIssues>true</ignoreVersionIssues>
> >                    <includeSources>
> >                        <param>${project.build.sourceDirectory}</
> > param>
> >                    </includeSources>
> >                                        <sourceFile>main.mxml</sourceFile>
> >                                        <targetPlayer>10.0.0</targetPlayer>
> >                                        <skipTests>false</skipTests>
> >                                        <debug>false</debug>
> >                                        <defaultLocale>en_US</defaultLocale>
> >                                        <compiledLocales>
> >                                                <locale>en_US</locale>
> >                                        </compiledLocales>
> >                                        <contextRoot>root</contextRoot>
>
> >  <mergeResourceBundle>true</mergeResourceBundle>
>
> >  <resourceBundlePath>${basedir}/src/main/resources/locale/{locale}
> > </resourceBundlePath>
> >                </configuration>
> >            </plugin>
> >        </plugins>
> >    </build>
> >    <dependencies>
> >                        <dependency>
> >                                <groupId>com.adobe.flex.framework</groupId>
> >                                <artifactId>flex-framework</artifactId>
> >                                <type>pom</type>
> >                                  <version>3.4.0.9271</version>
> >                                <exclusions>
> >                                        <exclusion>
>
> >  <groupId>com.adobe.flex.framework</groupId>
>
> >  <artifactId>playerglobal</artifactId>
> >                                        </exclusion>
> >                                </exclusions>
> >                        </dependency>
> >        <dependency>
> >                        <groupId>com.adobe.flex.framework</groupId>
> >                        <artifactId>playerglobal</artifactId>
> >                    <version>3.4.0.9271</version>
> >                        <type>swc</type>
> >                        <classifier>10</classifier>
> >        </dependency>
> >                <dependency>
> >            <groupId>com.adobe.flexunit</groupId>
> >            <artifactId>flexunit</artifactId>
> >                <version>0.9</version>
> >            <type>swc</type>
> >            <scope>test</scope>
> >        </dependency>
> >        <dependency>
> >            <groupId>flexunit.junit</groupId>
> >            <artifactId>flexunit-optional</artifactId>
> >                <version>0.85</version>
> >            <type>swc</type>
> >            <scope>test</scope>
> >        </dependency>
> >        <dependency>
> >                        <groupId>org.sonatype.flexmojos</groupId>
> >                        <artifactId>flexmojos-unittest-support</artifactId>
> >                <version>3.3.0</version>
> >                        <type>swc</type>
> >                        <scope>test</scope>
> >                                <exclusions>
> >                                        <exclusion>
>
> >  <groupId>com.adobe.flex.framework</groupId>
>
> >  <artifactId>playerglobal</artifactId>
> >                                        </exclusion>
> >                                </exclusions>
> >                </dependency>
> >        </dependencies>
> > </project>
--~--~---------~--~----~------------~-------~--~----~
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