Thanks Velo, I tried 1.0, and then migrated to 2.0M10. I'll file a ticket and add a concise example. This might be an obvious question, but is there anyway to sneak a compiler argument in for the build? I need to get that module compiling correctly somehow.
On Dec 18, 1:17 pm, "Marvin Froeder" <[email protected]> wrote: > Ow, sorry, I didn't see on your original message, my miss. > <loadExternsOnModules>false</loadExternsOnModules> > > So this is a unknown bug. Can you file a ticket for it? A sample showing > the problem can help a lot =D > > BTW, what version are you using? > > VELO > > On Thu, Dec 18, 2008 at 4:11 PM, gianni <[email protected]> wrote: > > > I put this node in my configuration node, toggling the value causes > > the build to fail/succeed. > > <loadExternsOnModules>false</loadExternsOnModules> > > > The pom is kind of big, let me know if should also include the master > > pom. Thanks!! > > > <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"> > > <parent> > > <groupId>com.mtvi</groupId> > > <artifactId>master-flex</artifactId> > > <version>16</version> > > </parent> > > <name>MediaPlayer Loader</name> > > <artifactId>mediaplayerloader</artifactId> > > <version>${majorMinorVersion}.${patchVersion}</version> > > <description>Description</description> > > <modelVersion>4.0.0</modelVersion> > > <groupId>com.mtvnet.player</groupId> > > <packaging>swf</packaging> > > <scm> > > <url>http://fisheye.mtvi.com/browse/Flashdev/projects/core/ > > mediaplayerloader/flex/trunk<http://fisheye.mtvi.com/browse/Flashdev/projects/core/mediaplayerload...> > > </url> > > <developerConnection>scm:svn: > >https://subversion.1515.mtvi.com/ > > flashdev/projects/core/mediaplayerloader/flex/trunk<https://subversion.1515.mtvi.com/flashdev/projects/core/mediaplayerlo...> > > </ > > developerConnection> > > <connection>scm:svn: > >https://subversion.1515.mtvi.com/flashdev/ > > projects/core/mediaplayerloader/flex/trunk<https://subversion.1515.mtvi.com/flashdev/projects/core/mediaplayerlo...> > > </connection> > > </scm> > > <properties> > > <majorMinorVersion>1</majorMinorVersion> > > <patchVersion>0-SNAPSHOT</patchVersion> > > </properties> > > <dependencies> > > <dependency> > > <groupId>com.mtvnet.player</groupId> > > <artifactId>mediaplayerloaderapi</artifactId> > > <version>1.0</version> > > <type>swc</type> > > </dependency> > > <dependency> > > <groupId>com.mtvnet.player</groupId> > > <artifactId>mediaplayersdk</artifactId> > > <version>3.10-SNAPSHOT</version> > > <type>swc</type> > > <scope>external</scope> > > </dependency> > > <dependency> > > <groupId>org.puremvc</groupId> > > <artifactId>puremvc-as3-mc</artifactId> > > <version>1.0.4</version> > > <type>swc</type> > > </dependency> > > > <!-- Flex-Mojos Unit testing support --> > > <dependency> > > <groupId>info.flex-mojos</groupId> > > <artifactId>testing-support</artifactId> > > <version>2.0M10</version> > > <type>swc</type> > > <scope>test</scope> > > </dependency> > > </dependencies> > > <build> > > <finalName>${artifactId}.${version}-local</finalName> > > <resources> > > <resource> > > <directory>src/main/resources</directory> > > <filtering>true</filtering> > > </resource> > > </resources> > > <plugins> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-resources-plugin</artifactId> > > <executions> > > <execution> > > <id>process-as</id> > > <phase>process-resources</phase> > > <goals> > > <goal>resources</goal> > > </goals> > > <configuration> > > <outputDirectory>${basedir}/target/ > > generated-as</outputDirectory> > > </configuration> > > </execution> > > </executions> > > </plugin> > > <plugin> > > <groupId>info.flex-mojos</groupId> > > <artifactId>flex-compiler-mojo</artifactId> > > <configuration> > > <flexUnitCommand> > > > <argument>gflashplayer</argument> > > > <argument>${project.build.testOutputDirectory}/TestRunner.swf</ > > argument> > > </flexUnitCommand> > > <skipTests>true</skipTests> > > <sourceFile>Loader.mxml</sourceFile> > > <sourcePaths> > > <path>${project.build.sourceDirectory}</path> > > <path>${basedir}/target/generated-as</path> > > </sourcePaths> > > <moduleFiles> > > > <module>/module/LoaderModule.mxml</module> > > </moduleFiles> > > <includeSources> > > <param>${project.build.sourceDirectory}</ > > param> > > <param>${basedir}/target/generated-as</param> > > </includeSources> > > > <loadExternsOnModules>false</loadExternsOnModules> > > <rslUrls> > > <url> > >http://media.mtvnservices.com/global/flex/rsl/ > > framework_3.0.0.477.swz</url> > > <url> > >http://media.mtvnservices.com/global/flex/rsl/ > > framework_3.0.0.477.swf</url> > > </rslUrls> > > <policyFileUrls> > > <url> > >http://media.mtvnservices.com/crossdomain.xml</url> > > <url> > >http://media.mtvnservices.com/crossdomain.xml</url> > > </policyFileUrls> > > </configuration> > > </plugin> > > <!-- Copy dependencies into the libs folder so > > code-complete and in- > > IDE building functions if desired --> > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-dependency-plugin</artifactId> > > <executions> > > <execution> > > <id>copy-dependencies</id> > > <phase>validate</phase> > > <goals> > > <goal>copy-dependencies</goal> > > </goals> > > <configuration> > > > <outputDirectory>libs</outputDirectory> > > > <overWriteReleases>false</overWriteReleases> > > > <overWriteSnapshots>false</overWriteSnapshots> > > > <overWriteIfNewer>true</overWriteIfNewer> > > > <excludeTransitive>true</excludeTransitive> > > > <excludeGroupIds>com.adobe.flex.sdk,com.adobe.flex.framework</ > > excludeGroupIds> > > </configuration> > > </execution> > > </executions> > > </plugin> > > </plugins> > > </build> > > <profiles> > > <profile> > > <id>hudson</id> > > <build> > > > <finalName>${artifactId}.${version}-${BUILD_NUMBER}</finalName> > > <plugins> > > <plugin> > > > <artifactId>maven-antrun-plugin</artifactId> > > <executions> > > <execution> > > > <id>copy-to-teamsite</id> > > > <phase>deploy</phase> > > <goals> > > > <goal>run</goal> > > </goals> > > > <configuration> > > > <tasks> > > > <taskdef resource="net/sf/antcontrib/antcontrib.properties" / > > > <if> > > > <isset property="teamsite.root" /> > > > <then> > > > <echo>Copying ${basedir}/target/${build.finalName}.swf to > > $ > > {teamsite.root}/WORKAREA/MEDIAPLAYER/docs/apps/player/flex/</echo> > > > <copy file="${basedir}/target/${build.finalName}.swf" > > todir="${teamsite.root}/WORKAREA/MEDIAPLAYER/docs/apps/player/flex/" / > > > <rename src="${teamsite.root}/WORKAREA/MEDIAPLAYER/docs/ > > apps/player/flex/${build.finalName}.swf" dest="${teamsite.root}/ > > WORKAREA/MEDIAPLAYER/docs/apps/player/flex/Loader.swf" /> > > > <!-- module --> > > > <echo>Copying ${basedir}/target/${build.finalName}- > > LoaderModule.swf to ${teamsite.root}/WORKAREA/MEDIAPLAYER/docs/apps/ > > player/flex/module/</echo> > > > <copy file="${basedir}/target/${build.finalName}- > > LoaderModule.swf" todir="${teamsite.root}/WORKAREA/MEDIAPLAYER/docs/ > > apps/player/flex/module/" /> > > > <rename src="${teamsite.root}/WORKAREA/MEDIAPLAYER/docs/ > > apps/player/flex/module/${build.finalName}-LoaderModule.swf" dest="$ > > {teamsite.root}/WORKAREA/MEDIAPLAYER/docs/apps/player/flex/module/ > > LoaderModule.swf" /> > > > </then> > > > <else> > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
