Hi Neil,
Do you mind posting your POM please? I would appreciate it

Thanks
'Matt

On Jul 7, 4:36 am, Neil <[email protected]> wrote:
> You need to add the depencies that need to copied as as
> <dependency> ...<.../> with compile scope. That fixed it for me.
>
> On Jul 1, 11:08 pm, mattmadhavan <[email protected]> wrote:
>
> > Hello,
> > I'm using the testdrive samples that are distributed with
> > SpringBlazeDs integration. In essence its a multi module Maven
> > project, with one java webapp module and bunch of flex app modules.
>
> > I'm working with a flex app called insysnc01 and the webapp called
> > testdrive.
>
> > I modified one of the flex app's (called insysnc01) maven file
> > (pom.xml) to use 4.x Flex compiler. It creates and copies the
> > insync01.swc file and copies to the web app's folder
>
> > (${basedir}/../testdrive/src/main/webapp/${project.build.finalName}/$
> > {project.build.finalName}.swf</output>)
>
> > I was expecting the flex resources like insync01.html wrapper and the
> > playerProductInstall.swf etc also to be copied. It only copies the swc
> > file! What am I missing.
>
> > Any help will be appreciated. The following is the POM file.
> > I'm using the following versions:
> > <properties>
> >         <flex.sdk.version>4.1.0.15646</flex.sdk.version>
> >         <flex.mojo.version>3.7.1</flex.mojo.version>
> > </properties>
>
> > <code>
> > <?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...";>
> >         <modelVersion>4.0.0</modelVersion>
>
> >         <parent>
> >                 <groupId>org.springframework.flex.samples</groupId>
> >                 <artifactId>spring-flex-testdrive</artifactId>
> >                 <version>1.5.0.BUILD-SNAPSHOT</version>
> >         </parent>
>
> >         <artifactId>insync01</artifactId>
> >         <packaging>swf</packaging>
>
> >         <name>Insync01 Sample</name>
>
> >         <build>
> >                 <finalName>insync01</finalName>
> >                 <sourceDirectory>src/main/flex</sourceDirectory>
> >                 <testSourceDirectory>src/test/flex</testSourceDirectory>
> >                 <plugins>
> >                         <plugin>
> >                                 <groupId>org.sonatype.flexmojos</groupId>
> >                                 
> > <artifactId>flexmojos-maven-plugin</artifactId>
> >                                 <version>${flex.mojo.version}</version>
> >                                 <extensions>true</extensions>
>
> >                                 <configuration>
> >                                         
> > <output>${basedir}/../testdrive/src/main/webapp/$
> > {project.build.finalName}/${project.build.finalName}.swf</output>
> >                                         
> > <services>${basedir}/../testdrive/src/main/webapp/WEB-INF/flex/
> > services-config.xml</services>
> >                                         
> > <contextRoot>/testdrive</contextRoot>
> >                                         <locales>
> >                                                 <locale>en_US</locale>
> >                                         </locales>
> >                                         <targetPlayer>10.0.0</targetPlayer>
> >                                         <htmlName>index</htmlName>
> >                                 </configuration>
> >                     <executions>
> >                       <execution>
> >                         <goals>
> >                                 <goal>wrapper</goal>
> >                                                 
> > <goal>copy-flex-resources</goal>
> >                         </goals>
> >                       </execution>
> >                     </executions>
>
> >                   <dependencies>
> >                    <dependency>
> >                         <groupId>com.adobe.flex</groupId>
> >                         <artifactId>compiler</artifactId>
> >                         <version>${flex.sdk.version}</version>
> >                         <type>pom</type>
> >                     </dependency>
>
> >                 </dependencies>
> >                         </plugin>
> >                 </plugins>
> >         </build>
>
> >     <dependencies>
> >         <dependency>
> >             <groupId>com.adobe.flex.framework</groupId>
> >             <artifactId>framework</artifactId>
> >             <version>${flex.sdk.version}</version>
> >             <type>swc</type>
> >         </dependency>
>
> >         <dependency>
> >             <groupId>com.adobe.flex.framework</groupId>
> >             <artifactId>flex-framework</artifactId>
> >             <version>${flex.sdk.version}</version>
> >             <type>pom</type>
> >         </dependency>
> >          <dependency>
> >             <groupId>com.adobe.flexunit</groupId>
> >             <artifactId>flexunit</artifactId>
> >             <version>4.0-rc-1</version>
> >             <type>swc</type>
> >             <scope>test</scope>
> >         </dependency>
> >     </dependencies>
> > </project>
>
> > </code>

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