Is that compilation related?

VELO

On Tue, Apr 27, 2010 at 12:10 PM, Carlos alberto (euprogramador) <
[email protected]> wrote:

> How do I build a flex project to be executed on the web?, It is
> generating the swf, but when accessing the web swf is downloaded,
> instead of being executed. have to do some other configuration?
> grateful for the help. Follow my pom.xml
>
> <?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.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>        <modelVersion>4.0.0</modelVersion>
>
>        <parent>
>                <groupId>br.com.flex</groupId>
>                <artifactId>myflex</artifactId>
>                <version>1.0</version>
>        </parent>
>
>        <groupId>br.com.flex</groupId>
>        <artifactId>swf</artifactId>
>        <version>1.0</version>
>        <packaging>swf</packaging>
>
>        <name>Modulo Flex</name>
>
>
>        <build>
>                <sourceDirectory>src/main/flex</sourceDirectory>
>                <testSourceDirectory>src/test/flex</testSourceDirectory>
>                <plugins>
>                        <plugin>
>                                <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flexmojos-maven-plugin</artifactId>
>                                <version>%{flexmojos.version}</version>
>        <executions>
>          <execution>
>            <goals>
>              <goal>wrapper</goal>
>            </goals>
>            <configuration>
>              <parameters>
>                <swf>${build.finalName}</swf>
>                <width>100%</width>
>                <height>100%</height>
>              </parameters>
>            </configuration>
>          </execution>
>        </executions>
>      </plugin>
>
>                        <plugin>
>                                <groupId>org.sonatype.flexmojos</groupId>
>
>  <artifactId>flexmojos-maven-plugin</artifactId>
>                                <version>3.2.0</version>
>                                <extensions>true</extensions>
>                                <configuration>
>                                <headlessServer>true</headlessServer>
>
>  <contextRoot>todolist-web</contextRoot>
>                                        <debug>true</debug>
>
>  <updateSecuritySandbox>false</updateSecuritySandbox>
>
>  <sourceFile>geoCapes.mxml</sourceFile>
>
>  <output>${project.build.directory}/arquivo.swf</output>
>
>  <services>${basedir}/../modulo-war/src/main/webapp/WEB-INF/flex/
> services-config.xml</services>
>                                        <!--
>    <allowSourcePathOverlap>true</allowSourcePathOverlap>-->
>                                        <targetPlayer>10.0.0</targetPlayer>
>                                        <licenses>
>
>  <flexbuilder3>xxxxxxxxxxxxxxxxxxxxxxxxxxxxx</flexbuilder3>
>                                        </licenses>
>                                        <accessible>true</accessible>
>                                        <strict>false</strict>
>                                        <incremental>true</incremental>
>                                        <sourcePaths>
>                                                <path>src/main/flex</path>
>
>  <path>src/main/resources</path>
>                                        </sourcePaths>
>                                </configuration>
>                                <dependencies>
>                                        <dependency>
>
>  <groupId>com.adobe.flex</groupId>
>
>  <artifactId>license</artifactId>
>                                                <version>3.2.0</version>
>                                        </dependency>
>                                </dependencies>
>                        </plugin>
>                </plugins>
>        </build>
>
>        <dependencies>
>                <dependency>
>                        <groupId>com.adobe.flex.framework</groupId>
>                        <artifactId>flex-framework</artifactId>
>                        <version>3.2.0.3958</version>
>                        <type>pom</type>
>                        <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.2.0.3958</version>
>                        <classifier>10</classifier>
>                        <type>swc</type>
>                </dependency>
>
>
>                <dependency>
>                        <groupId>com.adobe.flex.framework</groupId>
>                        <artifactId>custom-flex-framework</artifactId>
>                        <version>3.2.0.3958</version>
>                        <type>swc</type>
>                </dependency>
>
>
>                <dependency>
>                        <groupId>com.ibm.ilog</groupId>
>                        <artifactId>elixir</artifactId>
>                        <version>2.5</version>
>                        <type>swc</type>
>                </dependency>
>
>                <dependency>
>                        <groupId>com.ibm.ilog</groupId>
>                        <artifactId>elixir-rb</artifactId>
>                        <version>2.5</version>
>                        <type>swc</type>
>                </dependency>
>
>                <dependency>
>                        <groupId>com.ibm.ilog</groupId>
>                        <artifactId>pivot</artifactId>
>                        <version>2.5</version>
>                        <type>swc</type>
>                </dependency>
>
>                <dependency>
>                        <groupId>org.puremvc.as3</groupId>
>                        <artifactId>PureMVC</artifactId>
>                        <version>1.0.5</version>
>                        <type>swc</type>
>                </dependency>
>
>        </dependencies>
>
>        <repositories>
>                <repository>
>                        <id>flex-mojos-repository</id>
>                        <url>
> http://repository.sonatype.org/content/groups/flexgroup/</url>
>                        <releases>
>                                <enabled>true</enabled>
>                        </releases>
>                        <snapshots>
>                                <enabled>false</enabled>
>                        </snapshots>
>                </repository>
>
>                <repository>
>                        <id>flex-mojos-repository</id>
>                        <url>http://svn.sonatype.org/flexmojos/repository/
> </url>
>                        <releases>
>                                <enabled>true</enabled>
>                        </releases>
>                        <snapshots>
>                                <enabled>false</enabled>
>                        </snapshots>
>                </repository>
>
>        </repositories>
>        <pluginRepositories>
>                <pluginRepository>
>                        <id>local</id>
>                        <url>
> http://repository.sonatype.org/content/groups/flexgroup/</url>
>                        <releases>
>                                <enabled>true</enabled>
>                        </releases>
>                        <snapshots>
>                                <enabled>false</enabled>
>                        </snapshots>
>                </pluginRepository>
>        </pluginRepositories>
>
> </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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

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