Hi Christofer Thanks, I seem to be running and installing with no problem now. But my index.html is not working correctly, it is not displaying the swf. As always, your help is most appreciated. Also, I would like to be able to have more control over the template, including the name of the html file that is generated. Is that possible?
Here is my war pom: <?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> <artifactId>WorkingTest</artifactId> <groupId>com.company.project</groupId> <version>4.0.1-SNAPSHOT</version> </parent> <artifactId>war</artifactId> <packaging>war</packaging> <properties> <swf>swf-0.0.1-SNAPSHOT</swf> <width>100%</width> <height>100%</height> <title>MyProjectMain</title> <useBrowserHistory>true</useBrowserHistory> <bgcolor>white</bgcolor> <version_major>16</version_major> <version_minor>1</version_minor> <version_revision>0</version_revision> <expressInstallSwf>expressInstall.swf</expressInstallSwf> <application>application</application> </properties> <build> <plugins> <plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>7.1.0-SNAPSHOT</version> <executions> <execution> <goals> <goal>copy-flex-resources</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.flex</groupId> <artifactId>compiler</artifactId> <version>4.14.1</version> <type>pom</type> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.4</version> <configuration> <overlays> <overlay> <groupId>org.apache.flex.wrapper</groupId> <artifactId>swfobject</artifactId> <type>war</type> <filtered>true</filtered> </overlay> </overlays> </configuration> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.17</version> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.company.project</groupId> <artifactId>swf</artifactId> <version>4.0.1-SNAPSHOT</version> <type>swf</type> </dependency> <dependency> <groupId>org.apache.flex.wrapper</groupId> <artifactId>swfobject</artifactId> <version>4.14.1</version> <type>war</type> <scope>runtime</scope> </dependency> </dependencies> </project> And here is the resulting index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>MyProjectMain</title> <meta name="google" value="notranslate" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <div id="flashContent"> <p> To view this page ensure that Adobe Flash Player version 16.1.0 or greater is installed. </p> </div> <noscript> <p> Either scripts and active content are not permitted to run or Adobe Flash Player version 16.1.0 or greater is not installed. </p> <http://www.adobe.com/go/getflashplayer> <http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif> </noscript> </body> </html> -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-Modules-with-FlexMojos7-1-0-tp10254p10298.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
