Maven FlexMojos produces empty Air app. Final product has no window. Creates SWF but will not open it
Problem
--

When I run my air application (compiled via flexmojos), it seems "empty"--there is no window at all.  It works perfectly when compiled from Flash Builder.

Background
---

I am compiling an Adobe Air Application using Maven's flexmojos plugin on Mac OS X: Lion.  It successfully produces a SWF file and an AIR file.

 - When I double-click the SWF file, it opens just fine<br>
   (and crashes with an error you'd expect--since it's not running in the AIR environment)

 - **When I double-click the AIR file, no window opens!**<br>
   (I see my application name in the Mac menu bar but no application window and no errors)

When I look under `/Applications/MyApplication.app/Contents/Resources`<br>
I see the following files:

    META-INF		    MyAppMainAir.swf
    MyAppMainAir.css	mimetype

The swf file has the proper size and opens, as expected.

**POM snippet**

    <plugin>
				<groupId>org.sonatype.flexmojos</groupId>
				<artifactId>flexmojos-maven-plugin</artifactId>
				<version>${flexmojos.version}</version>
				<configuration>
				<flexBuilderCompatibility>true</flexBuilderCompatibility>
					<sourceFile>${application.name}.mxml</sourceFile>
					<finalName>${application.name}</finalName>
                    <descriptorTemplate>${project.build.sourceDirectory}/${application.name}-app.xml</descriptorTemplate>
					<storepass>${keystore.password}</storepass>
					<includeStylesheets>
						<stlyesheet>
							<name>${application.name}.css</name>
							<path>${application.name}.css</path>
						</stlyesheet>
					</includeStylesheets>
					<licenses>
					    <flexbuilder3>${flex.license}</flexbuilder3>
					</licenses>
					<targetPlayer>10.2.0</targetPlayer>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>sign-air</goal>
						</goals>
					</execution>
				</executions>
	</plugin>


Question
--
Why is my SWF file being created properly but my AIR application won't open a window?  When I build/run the application from Flash Builder, it works perfectly.

Any input/advice is appreciated!
Maven FlexMojos produces empty Air app. Final product has no window. Creates SWF but will not open it
===

Problem
--

When I run my air application (compiled via flexmojos), it seems "empty"--there is no window at all.  It works perfectly when compiled from Flash Builder.

Background
---

I am compiling an Adobe Air Application using Maven's flexmojos plugin on Mac OS X: Lion.  It successfully produces a SWF file and an AIR file.

 - When I double-click the SWF file, it opens just fine<br>
   (and crashes with an error you'd expect--since it's not running in the AIR environment)

 - **When I double-click the AIR file, no window opens!**<br>
   (I see my application name in the Mac menu bar but no application window and no errors)

When I look under `/Applications/MyApplication.app/Contents/Resources`<br>
I see the following files:

    META-INF		    MyAppMainAir.swf
    MyAppMainAir.css	mimetype

The swf file has the proper size and opens, as expected.

**POM snippet**

    <plugin>
				<groupId>org.sonatype.flexmojos</groupId>
				<artifactId>flexmojos-maven-plugin</artifactId>
				<version>${flexmojos.version}</version>
				<configuration>
				<flexBuilderCompatibility>true</flexBuilderCompatibility>
					<sourceFile>${application.name}.mxml</sourceFile>
					<finalName>${application.name}</finalName>
                    <descriptorTemplate>${project.build.sourceDirectory}/${application.name}-app.xml</descriptorTemplate>
					<storepass>${keystore.password}</storepass>
					<includeStylesheets>
						<stlyesheet>
							<name>${application.name}.css</name>
							<path>${application.name}.css</path>
						</stlyesheet>
					</includeStylesheets>
					<licenses>
					    <flexbuilder3>${flex.license}</flexbuilder3>
					</licenses>
					<targetPlayer>10.2.0</targetPlayer>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>sign-air</goal>
						</goals>
					</execution>
				</executions>
	</plugin>


Question
--
Why is my SWF file being created properly but my AIR application won't open a window?  When I build/run the application from Flash Builder, it works perfectly.

Any input/advice is appreciated!