You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2014/10/22 16:49:29 UTC
[01/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Repository: flex-falcon
Updated Branches:
refs/heads/feature-flexmojos [created] b6e082df2
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/pom.xml
new file mode 100644
index 0000000..8b76919
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0013-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/main/flex/com/adobe/example/Calculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/main/flex/com/adobe/example/Calculator.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/main/flex/com/adobe/example/Calculator.as
new file mode 100644
index 0000000..9fd5bdb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/main/flex/com/adobe/example/Calculator.as
@@ -0,0 +1,31 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+
+ public class Calculator
+ {
+ public function multiply(
+ numberOne : Number,
+ numberTwo : Number ) : Number
+ {
+ return numberOne * numberTwo;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculator.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculator.as
new file mode 100644
index 0000000..9b5c77f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculator.as
@@ -0,0 +1,64 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculator extends TestCase
+ {
+ private var calculator : Calculator;
+
+ /**
+ * Constructor.
+ * @param methodName the name of the individual test to run.
+ */
+ public function TestCalculator( methodName : String = null )
+ {
+ super( methodName );
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#setUp().
+ */
+ override public function setUp() : void
+ {
+ calculator = new Calculator();
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#tearDown().
+ */
+ override public function tearDown() : void
+ {
+ calculator = null;
+ }
+
+
+ public function testError() : void {
+ throw new Error();
+ }
+ public function testMultiplyPass() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 8, result );
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculatorAgain.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculatorAgain.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculatorAgain.as
new file mode 100644
index 0000000..2d9c666
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0015Test.issue15/src/test/flex/com/adobe/example/TestCalculatorAgain.as
@@ -0,0 +1,64 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculatorAgain extends TestCase
+ {
+ private var calculator : Calculator;
+
+ /**
+ * Constructor.
+ * @param methodName the name of the individual test to run.
+ */
+ public function TestCalculatorAgain( methodName : String = null )
+ {
+ super( methodName );
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#setUp().
+ */
+ override public function setUp() : void
+ {
+ calculator = new Calculator();
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#tearDown().
+ */
+ override public function tearDown() : void
+ {
+ calculator = null;
+ }
+
+ public function testMultiplyPass() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 8, result );
+ }
+
+ public function testError() : void {
+ throw new Error();
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/pom.xml
new file mode 100644
index 0000000..5b16d2f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/pom.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0017</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/main/flex/main.mxml
new file mode 100644
index 0000000..aad1e5b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/main/flex/main.mxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Script>
+ <![CDATA[
+ public static function hi():String
+ {
+ return "hi";
+ }
+ ]]>
+ </mx:Script>
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..38933e4
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0017Test.issue17/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,46 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package {
+
+ import flexunit.framework.Assert;
+ import flash.errors.IOError;
+ import main;
+
+ public class AnnotatedTest {
+
+ [Test]
+ public function addition():void {
+ Assert.assertEquals(12, 7 + 5);
+ }
+
+ [Test(expects="flash.errors.IOError")]
+ public function doIOError():void {
+ //a test which causes an IOError }Or
+ throw new IOError();
+ }
+
+ [Test]
+ public function hiTest():void {
+ Assert.assertEquals("hi", main.hi() );
+ }
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/pom.xml
new file mode 100644
index 0000000..07bee93
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0039</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/src/main/flex/main.mxml
new file mode 100644
index 0000000..be408b0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0039Test.issue39/src/main/flex/main.mxml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+
+ <mx:Script>
+ <![CDATA[
+
+ /**
+ * This is a variable
+ */
+ public var aVar:*;
+
+ /**
+ * This is a function
+ */
+ public function bFunction():void {
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/pom.xml
new file mode 100644
index 0000000..41aba6d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/pom.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0067</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <packageDescriptions>
+ <net.flexmojos.oss.it>package info description</net.flexmojos.oss.it>
+ </packageDescriptions>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/main.mxml
new file mode 100644
index 0000000..e2f21e7
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/main.mxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+
+ <mx:Script>
+ <![CDATA[
+
+ import net.flexmojos.oss.it.AClass;
+
+ /**
+ * AClass
+ */
+ public var aVar:AClass;
+
+ ]]>
+ </mx:Script>
+
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/net/flexmojos/oss/it/AClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/net/flexmojos/oss/it/AClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/net/flexmojos/oss/it/AClass.as
new file mode 100644
index 0000000..27fd97a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0067Test.issue67/src/main/flex/net/flexmojos/oss/it/AClass.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+
+ /**
+ * This is a well documented AS3 class =p
+ */
+ public class AClass {
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/pom.xml
new file mode 100644
index 0000000..1696f40
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/pom.xml
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0069</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <updateSecuritySandbox>true</updateSecuritySandbox>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>testResources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/main/flex/main.mxml
new file mode 100644
index 0000000..fb587a3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/main/flex/main.mxml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onApplicationComplete()">
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.controls.Alert;
+ import mx.rpc.events.FaultEvent;
+ import mx.rpc.events.ResultEvent;
+ import mx.rpc.http.HTTPService;
+
+ private function onApplicationComplete():void {
+ var httpService:HTTPService = new HTTPService();
+ httpService.url = "source.xml";
+ httpService.addEventListener(FaultEvent.FAULT, onFaultHttpService);
+ httpService.addEventListener(ResultEvent.RESULT, onResultHttpService);
+ httpService.send();
+ }
+
+ private function onFaultHttpService(e:FaultEvent):void {
+ Alert.show(e.fault.toString());
+ }
+
+ private function onResultHttpService(e:ResultEvent):void {
+ Alert.show(e.result.toString());
+ }
+
+ ]]>
+ </mx:Script>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/flex/net/flexmojos/oss/test/ServiceTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/flex/net/flexmojos/oss/test/ServiceTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/flex/net/flexmojos/oss/test/ServiceTest.as
new file mode 100644
index 0000000..c02446f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/flex/net/flexmojos/oss/test/ServiceTest.as
@@ -0,0 +1,63 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.test {
+
+ import flash.events.Event;
+ import flash.events.TimerEvent;
+ import flash.utils.Timer;
+
+ import flexunit.framework.TestCase;
+
+ import mx.rpc.events.FaultEvent;
+ import mx.rpc.events.ResultEvent;
+ import mx.rpc.http.HTTPService;
+
+ public class ServiceTest extends TestCase {
+
+ private var resultCheckTimer:Timer;
+
+ private var isResultOK:Boolean;
+
+ public function testService():void {
+ var httpService:HTTPService = new HTTPService();
+ httpService.url = "source.xml";
+ httpService.addEventListener(ResultEvent.RESULT, onResultHttpService);
+ httpService.addEventListener(FaultEvent.FAULT, onFaultHttpService);
+ httpService.send();
+
+ resultCheckTimer = new Timer(1);
+ resultCheckTimer.delay = 1000;
+ resultCheckTimer.addEventListener(TimerEvent.TIMER, addAsync(checkResult, 1500));
+ resultCheckTimer.start();
+ }
+
+ private function onResultHttpService(e:ResultEvent):void {
+ isResultOK = true;
+ }
+
+ private function onFaultHttpService(e:FaultEvent):void {
+ fail(e.fault.toString());
+ isResultOK = false;
+ }
+
+ private function checkResult(e:Event):void {
+ assertTrue(isResultOK);
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/resources/source.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/resources/source.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/resources/source.xml
new file mode 100644
index 0000000..52b58d3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0069Test.issue69/src/test/resources/source.xml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<name>velo</name>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/pom.xml b/flexmojos-tests/pom.xml
new file mode 100644
index 0000000..c142d39
--- /dev/null
+++ b/flexmojos-tests/pom.xml
@@ -0,0 +1,96 @@
+<?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>
+
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-flexmojos-testsuite</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>pom</packaging>
+
+ <modules>
+ <!-- The next module locks up -->
+ <!--module>net.flexmojos.oss.tests.concept.AirTest.airApp</module-->
+
+ <!-- Error: unknown configuration variable 'compiler.advanced-telemetry'. -->
+ <!--module>advanced-telemetry_flex4_4.10.0.20130801</module>
+ <module>advanced-telemetry_flex4_4.11.0.20131017</module>
+ <module>advanced-telemetry_flex4_4.12.0.20140303</module>
+ <module>advanced-telemetry_flex4_4.12.1.20140427</module>
+ <module>advanced-telemetry_flex4_4.13.0.20140701</module-->
+
+ <!-- Modules that don't compile -->
+ <module>net.flexmojos.oss.test.IT0013IssuesTest.issue11</module>
+ <module>net.flexmojos.oss.test.IT0013IssuesTest.issue29</module>
+ <module>net.flexmojos.oss.test.IT0013IssuesTest.issue61</module>
+ <module>net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss</module>
+ <module>net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport</module>
+ <module>net.flexmojos.oss.tests.concept.AirTest.nativeAir</module>
+ <module>net.flexmojos.oss.tests.concept.AirTest.simplify</module>
+ <module>net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc</module>
+ <module>net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample</module>
+ <module>net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint</module>
+ <module>net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization</module>
+ <module>net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization</module>
+ <module>net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation</module>
+ <module>net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication</module>
+ <module>net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution</module>
+ <module>net.flexmojos.oss.tests.issues.Issue0015Test.issue15</module>
+
+ <!-- ASDoc related problems -->
+ <!--module>net.flexmojos.oss.test.IT0013IssuesTest.issue68</module>
+ <module>net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion</module>
+ <module>net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample</module>
+ <module>net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc</module-->
+
+ <!-- Compiles ok, but flexmojos test-problem seems to be something else -->
+ <!--module>net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample</module>
+ <module>net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example</module>
+ <module>net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint</module>
+ <module>net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication</module>
+ <module>net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest</module>
+ <module>net.flexmojos.oss.tests.concept.TestSwfTest.testSwf</module>
+ <module>net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration</module>
+ <module>net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner</module>
+ <module>net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit</module>
+ <module>net.flexmojos.oss.tests.issues.Issue0017Test.issue17</module>
+ <module>net.flexmojos.oss.tests.issues.Issue0039Test.issue39</module>
+ <module>net.flexmojos.oss.tests.issues.Issue0067Test.issue67</module>
+ <module>net.flexmojos.oss.tests.issues.Issue0069Test.issue69</module>
+ <module>net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources</module>
+ <module>net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls</module>
+ <module>net.flexmojos.oss.tests.issues.Issue0013Test.issue13</module>
+ <module>net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver</module-->
+ </modules>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/readme.txt
----------------------------------------------------------------------
diff --git a/flexmojos-tests/readme.txt b/flexmojos-tests/readme.txt
new file mode 100644
index 0000000..00beca6
--- /dev/null
+++ b/flexmojos-tests/readme.txt
@@ -0,0 +1,11 @@
+Run the maven build with "mvn clean install --fail-at-end" or the
+build would stop at the first module failure.
+
+In order to run the testsuite, you need a mavenized 4.13 FDK and access
+to the Apache and the Sonatype SNAPSHOT repositories:
+
+For Falcon 0.0.3-SNAPSHOT:
+http://repository.apache.org/snapshots/
+
+For Flexmojos 7.1.0-SNAPSHOT:
+https://oss.sonatype.org/content/repositories/snapshots/
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/generated/maven/falcon-compiler-oem-sources.jar
----------------------------------------------------------------------
diff --git a/generated/maven/falcon-compiler-oem-sources.jar b/generated/maven/falcon-compiler-oem-sources.jar
new file mode 100644
index 0000000..ba52b65
Binary files /dev/null and b/generated/maven/falcon-compiler-oem-sources.jar differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/generated/maven/falcon-compiler-oem.jar
----------------------------------------------------------------------
diff --git a/generated/maven/falcon-compiler-oem.jar b/generated/maven/falcon-compiler-oem.jar
new file mode 100644
index 0000000..ae4b391
Binary files /dev/null and b/generated/maven/falcon-compiler-oem.jar differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/generated/maven/falcon-compiler-oem.pom
----------------------------------------------------------------------
diff --git a/generated/maven/falcon-compiler-oem.pom b/generated/maven/falcon-compiler-oem.pom
new file mode 100644
index 0000000..7088ba0
--- /dev/null
+++ b/generated/maven/falcon-compiler-oem.pom
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler-oem</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+
+ <name>Apache Flex - Falcon Compiler OEM Layer</name>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/generated/maven/falcon-compiler-sources.jar
----------------------------------------------------------------------
diff --git a/generated/maven/falcon-compiler-sources.jar b/generated/maven/falcon-compiler-sources.jar
new file mode 100644
index 0000000..a0cb620
Binary files /dev/null and b/generated/maven/falcon-compiler-sources.jar differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/generated/maven/falcon-compiler.jar
----------------------------------------------------------------------
diff --git a/generated/maven/falcon-compiler.jar b/generated/maven/falcon-compiler.jar
new file mode 100644
index 0000000..c181fdf
Binary files /dev/null and b/generated/maven/falcon-compiler.jar differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/generated/maven/falcon-compiler.pom
----------------------------------------------------------------------
diff --git a/generated/maven/falcon-compiler.pom b/generated/maven/falcon-compiler.pom
new file mode 100644
index 0000000..9af20dd
--- /dev/null
+++ b/generated/maven/falcon-compiler.pom
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>14</version>
+ </parent>
+
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+
+ <name>Apache Flex - Falcon Compiler</name>
+ <description>The Apache Flex Falcon Compiler</description>
+
+ <mailingLists>
+ <mailingList>
+ <name>Apache Flex User List</name>
+ <subscribe>users-subscribe@flex.apache.org</subscribe>
+ <unsubscribe>users-unsubscribe@flex.apache.org</unsubscribe>
+ <post>users@flex.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <scm>
+ <connection>scm:svn:https://git-wip-us.apache.org/repos/asf/flex-falcon.git</connection>
+ <developerConnection>scm:svn:https://git-wip-us.apache.org/repos/asf/flex-falcon.git</developerConnection>
+ <url>https://git-wip-us.apache.org/repos/asf/flex-falcon.git</url>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler-oem</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.4</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-cli</groupId>
+ <artifactId>commons-cli</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>3.5.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>17.0</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.jburg</groupId>
+ <artifactId>jburg</artifactId>
+ <version>1.10.1</version>
+ </dependency>
+ <dependency>
+ <groupId>de.jflex</groupId>
+ <artifactId>jflex</artifactId>
+ <version>1.6.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.b1.pack</groupId>
+ <artifactId>lzma-sdk-4j</artifactId>
+ <version>9.22.0</version>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/utils/aether-ant-tasks-uber.jar
----------------------------------------------------------------------
diff --git a/utils/aether-ant-tasks-uber.jar b/utils/aether-ant-tasks-uber.jar
new file mode 100644
index 0000000..47cbbd0
Binary files /dev/null and b/utils/aether-ant-tasks-uber.jar differ
[06/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/flex/com/xyz/view/MainView.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/flex/com/xyz/view/MainView.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/flex/com/xyz/view/MainView.mxml
new file mode 100644
index 0000000..a76c2ac
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/flex/com/xyz/view/MainView.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Box xmlns:mx="http://www.adobe.com/2006/mxml">
+ <mx:Script>
+ <![CDATA[
+ import mx.resources.ResourceBundle;
+ ]]>
+ </mx:Script>
+
+<mx:Metadata>
+ [ResourceBundle("text")]
+</mx:Metadata>
+
+ <mx:Label text="{resourceManager.getString('text', 'TITLE')}"/>
+</mx:Box>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/en_US/text.properties
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/en_US/text.properties b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/en_US/text.properties
new file mode 100644
index 0000000..2f777b3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/en_US/text.properties
@@ -0,0 +1,19 @@
+#
+# Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+# Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+TITLE=Main View
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/ja_JP/text.properties
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/ja_JP/text.properties b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/ja_JP/text.properties
new file mode 100644
index 0000000..126867d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/src/main/locales/ja_JP/text.properties
@@ -0,0 +1,19 @@
+#
+# Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+# Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+TITLE=Main View (J)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/pom.xml
new file mode 100644
index 0000000..da715d2
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>l10n-swc-swf</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>lib</module>
+ <module>app</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/en_US/FlightReservation2.properties
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/en_US/FlightReservation2.properties b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/en_US/FlightReservation2.properties
new file mode 100644
index 0000000..9c010ce
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/en_US/FlightReservation2.properties
@@ -0,0 +1,75 @@
+#
+# Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+# Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+FILTER_PANEL_TITLE=Find Flights
+FILTER_PANEL_FROM=From:
+FILTER_PANEL_TO=To:
+FILTER_PANEL_TRIP_TYPE=Trip Type:
+FILTER_PANEL_DEPARTURE_DATE=Departure Date:
+FILTER_PANEL_RETURN_DATE=Return Date:
+FILTER_PANEL_PASSENGERS=Passengers:
+FILTER_PANEL_SERVICE=Service:
+FILTER_PANEL_SELECT=Select...
+FILTER_PANEL_ROUND_TRIP=Round Trip
+FILTER_PANEL_ONE_WAY=One Way
+FILTER_PANEL_ADULTS=Adults
+FILTER_PANEL_CHILDREN=Children
+FILTER_PANEL_COACH=Coach
+FILTER_PANEL_BUSINESS=Business
+FILTER_PANEL_FIRST_CLASS=First Class
+
+SELECTION_PANEL_TITLE=Select a Flight
+SELECTION_PANEL_DEPARTING_FLIGHTS=Departing Flights
+SELECTION_PANEL_RETURN_FLIGHTS=Return Flights
+SELECTION_PANEL_FLIGHT=Flight
+SELECTION_PANEL_TIME=Time
+SELECTION_PANEL_PRICE=Price
+
+SUMMARY_PANEL_TITLE=Summary
+SUMMARY_PANEL_FROM=From:
+SUMMARY_PANEL_TO=To:
+SUMMARY_PANEL_DEPARTURE_DATE=Departure Date:
+SUMMARY_PANEL_DEPARTURE_TIME=Departure Time:
+SUMMARY_PANEL_ARRIVAL_DATE=Arrival Date:
+SUMMARY_PANEL_ARRIVAL_TIME=Arrival Time:
+SUMMARY_PANEL_DURATION=Duration:
+SUMMARY_PANEL_DISTANCE=Distance:
+SUMMARY_PANEL_FLIGHT_NUMBER=Flight Number:
+SUMMARY_PANEL_PRICE=Price:
+SUMMARY_PANEL_TOTAL_PRICE=Total Price:
+SUMMARY_PANEL_BOOK_IT=Book It
+
+LAX=Los Angeles
+JFK=New York
+GRU=Sao Paulo
+CPT=Cape Town
+LHR=London
+SVO=Moscow
+DXB=Dubai
+DEL=New Delhi
+SHA=Shanghai
+NRT=Tokyo
+SYD=Sydney
+
+DATE_FORMAT=EEE, MMM D, YYYY
+TIME_FORMAT=L:NN A
+DURATION_FORMAT=Lh NNm
+DISTANCE_CONVERSION=0.621
+DISTANCE_FORMAT={0} miles
+CURRENCY_CONVERSION=1.0
+CURRENCY_PRECISION=2
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/ja_JP/FlightReservation2.properties
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/ja_JP/FlightReservation2.properties b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/ja_JP/FlightReservation2.properties
new file mode 100644
index 0000000..5865173
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/locale/ja_JP/FlightReservation2.properties
@@ -0,0 +1,75 @@
+#
+# Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+# Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+FILTER_PANEL_TITLE=フライト検索
+FILTER_PANEL_FROM=出発地:
+FILTER_PANEL_TO=目的地:
+FILTER_PANEL_TRIP_TYPE=旅行タイプ:
+FILTER_PANEL_DEPARTURE_DATE=ご出発:
+FILTER_PANEL_RETURN_DATE=お帰り:
+FILTER_PANEL_PASSENGERS=人数:
+FILTER_PANEL_SERVICE=サービス:
+FILTER_PANEL_SELECT=選択してください...
+FILTER_PANEL_ROUND_TRIP=往復
+FILTER_PANEL_ONE_WAY=片道
+FILTER_PANEL_ADULTS=大人
+FILTER_PANEL_CHILDREN=子供
+FILTER_PANEL_COACH=エコノミー
+FILTER_PANEL_BUSINESS=ビジネス
+FILTER_PANEL_FIRST_CLASS=ファースト
+
+SELECTION_PANEL_TITLE=フライトを選択
+SELECTION_PANEL_DEPARTING_FLIGHTS=往路フライト
+SELECTION_PANEL_RETURN_FLIGHTS=復路フライト
+SELECTION_PANEL_FLIGHT=フライト
+SELECTION_PANEL_TIME=時間
+SELECTION_PANEL_PRICE=料金
+
+SUMMARY_PANEL_TITLE=確認
+SUMMARY_PANEL_FROM=出発地:
+SUMMARY_PANEL_TO=目的地:
+SUMMARY_PANEL_DEPARTURE_DATE=出発日:
+SUMMARY_PANEL_DEPARTURE_TIME=出発時間:
+SUMMARY_PANEL_ARRIVAL_DATE=到着日:
+SUMMARY_PANEL_ARRIVAL_TIME=到着時間:
+SUMMARY_PANEL_DURATION=飛行時間:
+SUMMARY_PANEL_DISTANCE=飛行距離:
+SUMMARY_PANEL_FLIGHT_NUMBER=フライトナンバー:
+SUMMARY_PANEL_PRICE=料金:
+SUMMARY_PANEL_TOTAL_PRICE=合計:
+SUMMARY_PANEL_BOOK_IT=予約する
+
+LAX=ロサンゼルス
+JFK=ニューヨーク
+GRU=サンパウロ
+CPT=ケープタウン
+LHR=ロンドン
+SVO=モスクワ
+DXB=ドバイ
+DEL=ニューデリー
+SHA=上海
+NRT=東京
+SYD=シドニー
+
+DATE_FORMAT=YYYY年MMMD日(EEE)
+TIME_FORMAT=L:NN A
+DURATION_FORMAT=L時間 NN分
+DISTANCE_CONVERSION=1.0
+DISTANCE_FORMAT={0} キロ
+CURRENCY_CONVERSION=119.3
+CURRENCY_PRECISION=0
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/pom.xml
new file mode 100644
index 0000000..42f7232
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/pom.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.adobe.flex.samples</groupId>
+ <artifactId>FlightReservation2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <resourceBundlePath>${basedir}/locale/{locale}</resourceBundlePath>
+ <localesRuntime>
+ <locale>en_US</locale>
+ <locale>ja_JP</locale>
+ </localesRuntime>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/FlightReservation2.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/FlightReservation2.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/FlightReservation2.mxml
new file mode 100644
index 0000000..ce22c64
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/FlightReservation2.mxml
@@ -0,0 +1,1082 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="1000" height="520"
+ initialize="application_initializeHandler(event)"
+ viewSourceURL="srcview/index.html">
+
+ <mx:Metadata>
+ [ResourceBundle("FlightReservation2")]
+ </mx:Metadata>
+
+ <mx:XML id="flights" source="Flights.xml"/>
+
+ <mx:XML id="timezones" source="Timezones.xml"/>
+
+ <mx:DateFormatter id="dateFormatter"
+ formatString="{resourceManager.getString(MY_BUNDLE, 'DATE_FORMAT')}"/>
+
+ <mx:DateFormatter id="timeFormatter"
+ formatString="{resourceManager.getString(MY_BUNDLE, 'TIME_FORMAT')}"/>
+
+ <mx:DateFormatter id="durationFormatter"
+ formatString="{resourceManager.getString(MY_BUNDLE, 'DURATION_FORMAT')}"/>
+
+ <mx:CurrencyFormatter id="priceFormatter"
+ precision="{resourceManager.getString(MY_BUNDLE, 'CURRENCY_PRECISION')}"/>
+
+ <mx:Script>
+ <![CDATA[
+
+ import mx.events.ResourceEvent;
+
+ //
+ // Constants
+ //
+
+ /**
+ * The name of the resource bundle
+ * containing the application-specific resources.
+ */
+ private static const MY_BUNDLE:String = "FlightReservation2";
+
+ /**
+ * Speed in km/hr, used to determine
+ * flight durations based on route distance.
+ */
+ private static const SPEED:Number = 1000;
+
+ //
+ // Variables
+ //
+
+ /**
+ * The locales which this application supports.
+ * This is the dataProvider for the Language combobox.
+ */
+ private var locales:Array = [ "en_US", "ja_JP" ];
+
+ //
+ // Methods: Processing of XML data
+ //
+
+ /**
+ * Walks the <route> tags in flights.xml to build
+ * an Array of airport codes for departures,
+ * sorted by localized city name.
+ * This is used as the dataProvider for the "From:" ComboBox.
+ */
+ private function getDepartureCodes():Array
+ {
+ var codes:Array = [];
+
+ var n:int = flights.route.length();
+ for (var i:int = 0; i < n; i++)
+ {
+ var route:XML = flights.route[i];
+ var fromCode:String = route.@from.toString();
+ if (codes.indexOf(fromCode) == -1)
+ codes.push(fromCode);
+ }
+
+ return codes;
+ }
+
+ /**
+ * Given a departure airport code, walks the <route> tags
+ * in flights.xml to build an Array of airport codes for arrivals,
+ * sorted by localized city name.
+ * This is used as the dataProvider for the "To:" ComboBox.
+ * Note that this Array contains only those places you
+ * can fly to, based on where you are flying from.
+ */
+ private function getArrivalCodes(departureCode:String):Array
+ {
+ var codes:Array = [];
+
+ var n:int = flights.route.length();
+ for (var i:int = 0; i < n; i++)
+ {
+ var route:XML = flights.route[i];
+ var fromCode:String = route.@from.toString();
+ var toCode:String = route.@to.toString();
+ if ((fromCode == departureCode || departureCode == null) &&
+ route.flight.length() > 0 &&
+ codes.indexOf(toCode) == -1)
+ {
+ codes.push(toCode);
+ }
+ }
+
+ return codes;
+ }
+
+ /**
+ * Given a <flight>, returns its locale departure time as a Date.
+ */
+ private function getDepartureTime(flight:XML):Date
+ {
+ var departs:String = flight.@departs;
+ // 'departs' will be a 4-character 24-hour time
+ // such as "0800" or "1630".
+ var hour:int = int(departs.substring(0, 2));
+ var minute:int = int(departs.substring(2, 4));
+ var time:Date = new Date(0, 0, 0, hour, minute);
+ return time;
+ }
+
+ /**
+ * Given an airport code like "JFK", returns the number
+ * of milliseconds by which the local timezone differs from GMT.
+ */
+ private function getTimezoneDelta(airportCode:String):Number
+ {
+ var delta:String =
+ timezones.timezone.(@where == airportCode).@delta;
+ var sign:String = delta.substring(0, 1);
+ var hh:String = delta.substring(1, 3);
+ var mm:String = delta.substring(3, 5);
+ var milliseconds:int = (60 * int(hh) + int(mm)) * 60 * 1000;
+ if (sign == "-")
+ milliseconds = -milliseconds;
+ return milliseconds;
+ }
+
+ /**
+ * Given a <route> and a <flight> on that route,
+ * returns the locale arrival time as a Date.
+ */
+ private function getArrivalTime(route:XML, flight:XML):Date
+ {
+ var departureTime:Number = getDepartureTime(flight).getTime();
+
+ var departureDelta:Number = getTimezoneDelta(route.@from);
+ var arrivalDelta:Number = getTimezoneDelta(route.@to);
+
+ var distance:Number = route.@distance; // in km
+ var duration:Number =
+ distance / SPEED * 60 * 60 * 1000; // in milliseconds
+
+ var arrivalTime:Number = departureTime - departureDelta +
+ duration + arrivalDelta;
+
+ return new Date(arrivalTime);
+ }
+
+ //
+ // Methods: Locale-specific formatting
+ //
+
+ /**
+ * Formats a price, using locale-dependent currency.
+ * The price="..." attribute in flights.xml
+ * is in U.S. dollars and the CURRENCY_CONVERSION resource
+ * converts dollars to the unit appropriate for the locale.
+ */
+ private function formatPrice(price:Number):String
+ {
+ var currencyConversionFactor:Number =
+ resourceManager.getNumber(MY_BUNDLE, "CURRENCY_CONVERSION");
+
+ return priceFormatter.format(price * currencyConversionFactor);
+ }
+
+ /**
+ * Formats the Arrival Time info in the Summary panel.
+ */
+ private function formatArrivalTime(route:XML, flight:XML):String
+ {
+ var departureTime:Date = getDepartureTime(flight);
+ var arrivalTime:Date = getArrivalTime(route, flight);
+
+ var s:String = timeFormatter.format(arrivalTime);
+ if (arrivalTime.day != departureTime.day)
+ s += " (next day)";
+ return s;
+ }
+
+ /**
+ * Formats the Duration info in the Summary panel
+ * using a locale-dependent format.
+ * The passed-in duration of the flight is specified
+ * in fractional hours, and has been calculated
+ * from the flight distance in flights.xml by assuming
+ * that the plane's speed is the constant SPEED.
+ */
+ private function formatDuration(duration:Number):String
+ {
+ var hours:int = int(duration);
+ var minutes:int = int((duration - Math.floor(duration)) * 60);
+ var d:Date = new Date(0, 0, 0, hours, minutes);
+
+ return durationFormatter.format(d);
+ }
+
+ /**
+ * Formats the Distance info in the Summary panel,
+ * using locale-dependent units (miles, kilometers, etc.)
+ * The distance="..." attribute in flights.xml
+ * is in kilometers and the DISTANCE_CONVERSION resource
+ * converts kilometers to the unit appropriate for the locale.
+ */
+ private function formatDistance(km:Number):String
+ {
+ var distanceConversionFactor:Number =
+ resourceManager.getNumber(MY_BUNDLE, "DISTANCE_CONVERSION");
+
+ return resourceManager.getString(
+ MY_BUNDLE, "DISTANCE_FORMAT",
+ [ int(km * distanceConversionFactor) ]);
+ }
+
+ //
+ // Methods: Support for the Language combobox
+ //
+
+ /**
+ * The labelFunction for the Language combobox.
+ * It takes a locale such as "en_US"
+ * and produces the localized string "English".
+ */
+ private function languageComboBoxLabelFunction(item:Object):String
+ {
+ var locale:String = String(item);
+ return resourceManager.getString(MY_BUNDLE, locale);
+ }
+
+ /**
+ * Comparison function for sorting the 'locales' Array,
+ * which is the dataProvider for the Language combobox.
+ * The sort order is locale-dependent,
+ * because the localized language names for the locales
+ * are presented in alphabetical order.
+ */
+ private function localeCompareFunction(item1:Object, item2:Object):int
+ {
+ var language1:String = languageComboBoxLabelFunction(item1);
+ var language2:String = languageComboBoxLabelFunction(item2);
+
+ if (language1 < language2)
+ return -1;
+ if (language1 > language2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * Repopulates the Language combobox with localized language names
+ * for the supported locales, alphabetized by language name.
+ */
+ private function updateLanguageComboBox():void
+ {
+ var oldSelectedItem:Object = languageComboBox.selectedItem;
+
+ // Repopulate the combobox with locales,
+ // re-sorting by localized language name.
+ locales.sort(localeCompareFunction);
+ languageComboBox.dataProvider = locales;
+
+ languageComboBox.selectedItem = oldSelectedItem;
+ }
+
+ /**
+ * Switches the user interface to display in a different locale.
+ * This method is called when the user changes the selection
+ * in the Language combobox.
+ */
+ private function switchLocale():void
+ {
+ var newLocale:String = String(languageComboBox.selectedItem);
+ resourceManager.localeChain = [ newLocale ];
+
+ updateLanguageComboBox();
+
+ updateDepartureCityComboBox();
+ updateArrivalCityComboBox();
+
+ departureDateField.selectedDate = departureDateField.selectedDate;
+ returnDateField.selectedDate = returnDateField.selectedDate;
+
+ updateSummary();
+ }
+
+ //
+ // Methods: Support for the From and To comboboxes
+ //
+
+ /**
+ * The labelFunction for the From and To comboboxes.
+ * It takes an airport code such as "JFK"
+ * and returns a localized string like "New York (JFK)".
+ */
+ private function cityLabelFunction(item:Object):String
+ {
+ var airportCode:String = String(item);
+ var city:String =
+ resourceManager.getString(MY_BUNDLE, airportCode);
+ return city + " (" + airportCode + ")";
+ }
+
+ /**
+ * Comparison function for sorting the From and To comboboxes.
+ * The sort order is locale-dependent,
+ * because the localized city names for the airport codes
+ * are presented in alphabetical order.
+ */
+ private function cityCompareFunction(item1:Object, item2:Object):int
+ {
+ var label1:String = cityLabelFunction(item1);
+ var label2:String = cityLabelFunction(item2);
+
+ if (label1 < label2)
+ return -1;
+ if (label1 > label2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * Repopulates the From combobox
+ * with airport codes sorted by city name.
+ * Called when the app starts
+ * and when the user changes the language.
+ */
+ private function updateDepartureCityComboBox():void
+ {
+ var oldSelectedItem:Object = departureCityComboBox.selectedItem;
+
+ // Repopulate athe combobox with airport codes,
+ // re-sorting by localized city name.
+ var dp:Array = getDepartureCodes();
+ dp.sort(cityCompareFunction);
+ departureCityComboBox.dataProvider = dp;
+
+ // Restore the previously selected item if there was one.
+ departureCityComboBox.selectedItem = oldSelectedItem;
+ }
+
+ /**
+ * Repopulates the To combobox with airport codes sorted by city name.
+ * Called when the app starts and when the user changes
+ * the From city or the language.
+ */
+ private function updateArrivalCityComboBox():void
+ {
+ var oldSelectedItem:Object = arrivalCityComboBox.selectedItem;
+
+ var departureCode:String =
+ departureCityComboBox.selectedItem as String;
+
+ // Repopulate the combobox with airport codes,
+ // re-sorting by localized city name.
+ var dp:Array = getArrivalCodes(departureCode);
+ dp.sort(cityCompareFunction);
+ arrivalCityComboBox.dataProvider = dp;
+
+ // Restore the previously selected item if there was one
+ // and it isn't the same as the From city.
+ if (oldSelectedItem &&
+ oldSelectedItem != departureCityComboBox.selectedItem)
+ {
+ arrivalCityComboBox.selectedItem = oldSelectedItem;
+ }
+ }
+
+ /**
+ * Based on the selections in the From and To comboxes,
+ * returns the <route> from the From city to the To city.
+ */
+ private function getDepartingRoute():XML
+ {
+ if (!departureCityComboBox.selectedItem ||
+ !arrivalCityComboBox.selectedItem)
+ {
+ return null;
+ }
+
+ var departureCode:String =
+ departureCityComboBox.selectedItem as String;
+
+ var arrivalCode:String =
+ arrivalCityComboBox.selectedItem as String;
+
+ return flights.route.(@from == departureCode &&
+ @to == arrivalCode)[0];
+ }
+
+ /**
+ * Based on the selections in the From and To comboxes,
+ * returns the <route> from the To city to the From city.
+ */
+ private function getReturnRoute():XML
+ {
+ if (!departureCityComboBox.selectedItem ||
+ !arrivalCityComboBox.selectedItem)
+ {
+ return null;
+ }
+
+ var departureCode:String =
+ departureCityComboBox.selectedItem as String;
+
+ var arrivalCode:String =
+ arrivalCityComboBox.selectedItem as String;
+
+ return flights.route.(@from == arrivalCode &&
+ @to == departureCode)[0];
+ }
+
+ //
+ // Methods: Support for the Departing Date and Return Date datefields
+ //
+
+ /**
+ * The labelFunction for the Departure Date and Return Date.
+ * It takes a Date and returns a locale-dependent String
+ * like "Wed, Apr 4, 2007".
+ */
+ private function dateFieldLabelFunction(date:Date):String
+ {
+ return dateFormatter.format(date);
+ }
+
+ /**
+ * The parseFunction for the Departure Date.
+ * When you use a labelFunction, you must also use parseFunction
+ * even though nothing needs to be parsed.
+ */
+ public function departureDateFieldParseFunction(
+ value:String, inputFormat:String):Date
+ {
+ return departureDateField.selectedDate;
+ }
+
+ /**
+ * The parseFunction for the Return Date.
+ * When you use a labelFunction, you must also use parseFunction
+ * even though nothing needs to be parsed.
+ */
+ public function returnDateFieldParseFunction(
+ value:String, inputFormat:String):Date
+ {
+ return returnDateField.selectedDate;
+ }
+
+ //
+ // Methods: Support for the Departing Flights
+ // and Return Flights datagrids.
+ //
+
+ /**
+ * The labelFunction for the Time column of the datagrids.
+ * It takes a <flight> and returns a locale-dependent String
+ * like "4:15 PM".
+ */
+ private function timeColumnLabelFunction(
+ item:Object,
+ column:DataGridColumn):String
+ {
+ var flight:XML = XML(item);
+ return timeFormatter.format(getDepartureTime(flight));
+ }
+
+ /**
+ * Comparison function for sorting the Time column of the datagrids.
+ */
+ private function timeColumnSortCompareFunction(
+ item1:Object, item2:Object):int
+ {
+ var time1:String = item1.@departs;
+ var time2:String = item2.@departs;
+
+ if (time1 < time2)
+ return -1;
+ else if (time1 > time2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * The labelFunction for the Price column of the datagrids.
+ * It takes a <flight> and returns a locale-dependent String
+ * like "$1234.56" in the appropriate currency.
+ */
+ private function priceColumnLabelFunction(
+ item:Object,
+ column:DataGridColumn = null):String
+ {
+ var flight:XML = XML(item);
+ var price:Number = Number(flight.@price);
+
+ if (serviceRadioButtonGroup.selectedValue == "business")
+ price *= 2;
+ else if (serviceRadioButtonGroup.selectedValue == "firstClass")
+ price *= 3;
+
+ return formatPrice(price);
+ }
+
+ /**
+ * Comparison function for sorting the Price column of the datagrids.
+ */
+ private function priceColumnSortCompareFunction(
+ item1:Object, item2:Object):int
+ {
+ var price1:Number = item1.@price;
+ var price2:Number = item2.@price;
+
+ if (price1 < price2)
+ return -1;
+ else if (price1 > price2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * Updates the DataGrid displaying departing flights.
+ * This method is called when the user changes
+ * the departure date, return date,
+ * depature city, or return city.
+ */
+ private function updateDepartingFlights():void
+ {
+ // Find the <route> from the 'From' city to the 'To' city.
+ var route:XML = getDepartingRoute();
+
+ // Display the <flight> children of that <route>.
+ departingFlightsDataGrid.dataProvider = route ? route.flight : null;
+ }
+
+ /**
+ * Updates the DataGrid displaying return flights.
+ * This method is called when the user changes
+ * the departure date, return date,
+ * depature city, or return city.
+ */
+ private function updateReturnFlights():void
+ {
+ // Find the <route> from the 'To' city to the 'From' city.
+ var route:XML = getReturnRoute();
+
+ // Display the <flight> children of that <route>.
+ returnFlightsDataGrid.dataProvider = route ? route.flight : null;
+ }
+
+ //
+ // Methods: Support for the Summary panel
+ //
+
+ /**
+ * Updates the departure and return summaries.
+ */
+ private function updateSummary():void
+ {
+ var departingRoute:XML = getDepartingRoute();
+ var returnRoute:XML = getReturnRoute();
+
+ var departingFlight:XML =
+ XML(departingFlightsDataGrid.selectedItem);
+ var returnFlight:XML =
+ XML(returnFlightsDataGrid.selectedItem);
+
+ if (departingFlightsDataGrid.selectedItem)
+ {
+ summaryDepartingFromCity.text =
+ departureCityComboBox.selectedLabel;
+ summaryDepartingToCity.text =
+ arrivalCityComboBox.selectedLabel;
+
+ summaryDepartingDate.text =
+ dateFormatter.format(departureDateField.selectedDate);
+ summaryDepartingTime.text =
+ timeFormatter.format(getDepartureTime(departingFlight));
+ summaryDepartingArrivalTime.text =
+ formatArrivalTime(departingRoute, departingFlight);
+
+ var departingDistance:Number = departingRoute.@distance;
+ summaryDepartingDuration.text =
+ formatDuration(departingDistance / SPEED);
+ summaryDepartingDistance.text =
+ formatDistance(departingDistance);
+
+ summaryDepartingFlightID.text = departingFlight.@id;
+ }
+ else
+ {
+ summaryDepartingFromCity.text = "";
+ summaryDepartingToCity.text = "";
+ summaryDepartingDate.text = "";
+ summaryDepartingTime.text = "";
+ summaryDepartingArrivalTime.text = "";
+ summaryDepartingDuration.text = "";
+ summaryDepartingDistance.text = "";
+ summaryDepartingFlightID.text = "";
+ }
+
+ if (returnFlightsDataGrid.selectedItem)
+ {
+ summaryReturnFromCity.text =
+ arrivalCityComboBox.selectedLabel;
+ summaryReturnToCity.text =
+ departureCityComboBox.selectedLabel;
+
+ summaryReturnDate.text =
+ dateFormatter.format(returnDateField.selectedDate);
+ summaryReturnTime.text =
+ timeFormatter.format(getDepartureTime(returnFlight));
+ summaryReturnArrivalTime.text =
+ formatArrivalTime(returnRoute, returnFlight);
+
+ var returnDistance:Number = returnRoute.@distance;
+ summaryReturnDuration.text =
+ formatDuration(returnDistance / SPEED);
+ summaryReturnDistance.text =
+ formatDistance(returnDistance);
+
+ summaryReturnFlightID.text = returnFlight.@id;
+ }
+ else
+ {
+ summaryReturnFromCity.text = "";
+ summaryReturnToCity.text = "";
+ summaryReturnDate.text = "";
+ summaryReturnTime.text = "";
+ summaryReturnArrivalTime.text = "";
+ summaryReturnDuration.text = "";
+ summaryReturnDistance.text = "";
+ summaryReturnFlightID.text = "";
+ }
+
+ var totalPrice:Number = Number(departingFlight.@price);
+ if (travelTypeRadioButtonGroup.selectedValue == "roundTrip")
+ totalPrice += Number(returnFlight.@price);
+ totalPrice *= adultNumericStepper.value +
+ childNumericStepper.value / 2;
+ if (serviceRadioButtonGroup.selectedValue == "business")
+ totalPrice *= 2;
+ else if (serviceRadioButtonGroup.selectedValue == "firstClass")
+ totalPrice *= 3;
+ totalPriceLabel.text = formatPrice(totalPrice);
+
+ bookItButton.enabled =
+ travelTypeRadioButtonGroup.selectedValue == "roundTrip" &&
+ departingFlightsDataGrid.selectedItem &&
+ returnFlightsDataGrid.selectedItem ||
+ travelTypeRadioButtonGroup.selectedValue == "oneWay" &&
+ departingFlightsDataGrid.selectedItem;
+ }
+
+ //
+ // Event handlers
+ //
+
+ /**
+ * Called when the application starts,
+ * after its children have been created.
+ */
+ private function application_initializeHandler(event:Event):void
+ {
+ updateLanguageComboBox();
+ languageComboBox.selectedItem = resourceManager.localeChain[0];
+
+ updateDepartureCityComboBox();
+ updateArrivalCityComboBox();
+
+ var now:Date = new Date();
+ var today:Date = new Date(now.getFullYear(),
+ now.getMonth(),
+ now.getDate());
+
+ // Departure date can be today or later.
+ departureDateField.selectableRange = { rangeStart: today };
+ departureDateField.selectedDate = today;
+
+ // Return date can be today or later.
+ returnDateField.selectableRange = { rangeStart: today };
+ returnDateField.selectedDate = today;
+
+ updateDepartingFlights();
+ updateReturnFlights();
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects "English" or "Japanese"
+ * from the Language combobox.
+ */
+ private function languageComboBox_changeHandler(event:Event):void
+ {
+ var newLocale:String = String(languageComboBox.selectedItem);
+
+ // If we already have the resources for the new locale,
+ // switch to that locale.
+ // Otherwise, start loading the appropriate resource module.
+ if (resourceManager.getLocales().indexOf(newLocale) != -1)
+ {
+ switchLocale();
+ }
+ else
+ {
+ var resourceModuleURL:String = "Resources_" + newLocale + ".swf";
+ var eventDispatcher:IEventDispatcher =
+ resourceManager.loadResourceModule(resourceModuleURL);
+ eventDispatcher.addEventListener(
+ ResourceEvent.COMPLETE, resourceModule_completeHandler);
+ }
+ }
+
+ /**
+ * Called when a resource module is loaded in response
+ * to the user selecting a new language in the Language combobox.
+ */
+ private function resourceModule_completeHandler(
+ event:ResourceEvent):void
+ {
+ switchLocale();
+ }
+
+ /**
+ * Called when the user selects a departure city
+ * in the "From" combobox.
+ */
+ private function departureCityComboBox_changeHandler(event:Event):void
+ {
+ // Change the To combobox to display only cities
+ // with flights arriving from the new departure city.
+ updateArrivalCityComboBox();
+
+ updateDepartingFlights();
+ updateReturnFlights();
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects an arrival city
+ * in the "To" combobox.
+ */
+ private function arrivalCityComboBox_changeHandler(event:Event):void
+ {
+ updateDepartingFlights();
+ updateReturnFlights();
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects the "Round Trip" or "One Way"
+ * radio button.
+ */
+ private function travelTypeRadioButtonGroup_changeHandler(
+ event:Event):void
+ {
+ var b:Boolean =
+ travelTypeRadioButtonGroup.selectedValue == "roundTrip";
+
+ returnDateField.enabled = b;
+
+ returnFlightsLabel.visible = b;
+ returnFlightsDataGrid.visible = b;
+ arrivalSummaryForm.visible = b;
+ hRule.visible = b;
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the Departure Date.
+ */
+ private function departureDateField_changeHandler(event:Event):void
+ {
+ returnDateField.selectableRange =
+ { rangeStart: departureDateField.selectedDate };
+
+ // The Return Date can't be earlier than the Departure Date.
+ if (departureDateField.selectedDate > returnDateField.selectedDate)
+ returnDateField.selectedDate = departureDateField.selectedDate;
+
+ updateDepartingFlights();
+ updateReturnFlights();
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the Return Date.
+ */
+ private function returnDateField_changeHandler(event:Event):void
+ {
+ updateReturnFlights();
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the number of adults.
+ */
+ private function adultNumericStepper_changeHandler(event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the number of children.
+ */
+ private function childNumericStepper_changeHandler(event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects a departing flight.
+ */
+ private function departingFlightsDataGrid_changeHandler(
+ event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects a return flight.
+ */
+ private function returnFlightsDataGrid_changeHandler(event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects the "Coach", "Business",
+ * or "First Class" radio button.
+ */
+ private function serviceRadioButtonGroup_changeHandler(event:Event):void
+ {
+ departingFlightsDataGrid.invalidateList();
+ returnFlightsDataGrid.invalidateList();
+
+ updateSummary();
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Style>
+
+ FormItemLabel
+ {
+ fontWeight: bold;
+ }
+
+ .myHighlight
+ {
+ color:#990000;
+ }
+
+ </mx:Style>
+
+ <mx:ApplicationControlBar width="100%" height="30">
+ <mx:Label fontSize="14" fontWeight="bold"
+ text="{resourceManager.getString(MY_BUNDLE, 'APP_TITLE')}"/>
+ <mx:Spacer width="100%"/>
+ <mx:Label text="{resourceManager.getString(MY_BUNDLE, 'LANGUAGE_LABEL')}"/>
+ <mx:ComboBox id="languageComboBox"
+ labelFunction="languageComboBoxLabelFunction"
+ change="languageComboBox_changeHandler(event)"/>
+ </mx:ApplicationControlBar>
+
+ <mx:HBox id="myHB" width="100%" height="100%" horizontalAlign="center">
+
+ <mx:Panel width="100%" height="100%"
+ title="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_TITLE')}">
+ <mx:Form width="100%" verticalGap="15">
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_FROM')}">
+ <mx:ComboBox id="departureCityComboBox" width="170" rowCount="11"
+ prompt="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_SELECT')}"
+ labelFunction="cityLabelFunction"
+ change="departureCityComboBox_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_TO')}">
+ <mx:ComboBox id="arrivalCityComboBox" width="170" rowCount="11"
+ prompt="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_SELECT')}"
+ labelFunction="cityLabelFunction"
+ change="arrivalCityComboBox_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_TRIP_TYPE')}">
+ <mx:RadioButtonGroup id="travelTypeRadioButtonGroup" selectedValue="roundTrip"
+ change="travelTypeRadioButtonGroup_changeHandler(event)"/>
+ <mx:RadioButton id="roundTripRadioButton" groupName="travelTypeRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_ROUND_TRIP')}"
+ value="roundTrip"/>
+ <mx:RadioButton id="oneWayRadioButton" groupName="travelTypeRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_ONE_WAY')}"
+ value="oneWay"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_DEPARTURE_DATE')}">
+ <mx:DateField id="departureDateField" width="185"
+ labelFunction="dateFieldLabelFunction"
+ parseFunction="departureDateFieldParseFunction"
+ change="departureDateField_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_RETURN_DATE')}">
+ <mx:DateField id="returnDateField" width="185"
+ labelFunction="dateFieldLabelFunction"
+ parseFunction="returnDateFieldParseFunction"
+ change="returnDateField_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_PASSENGERS')}"
+ direction="horizontal">
+ <mx:VBox verticalGap="0">
+ <mx:NumericStepper id="adultNumericStepper" width="80"
+ maximum="10" value="1"
+ change="adultNumericStepper_changeHandler(event)"/>
+ <mx:Label text="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_ADULTS')}"/>
+ </mx:VBox>
+ <mx:VBox verticalGap="0" >
+ <mx:NumericStepper id="childNumericStepper" width="80"
+ maximum="10"
+ change="childNumericStepper_changeHandler(event)"/>
+ <mx:Label text="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_CHILDREN')}"/>
+ </mx:VBox>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_SERVICE')}">
+ <mx:RadioButtonGroup id="serviceRadioButtonGroup" selectedValue="coach"
+ change="serviceRadioButtonGroup_changeHandler(event)"/>
+ <mx:RadioButton id="coachRadioButton" groupName="serviceRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_COACH')}"
+ value="coach"/>
+ <mx:RadioButton id="businessRadioButton" groupName="serviceRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_BUSINESS')}"
+ value="business"/>
+ <mx:RadioButton id="firstClassButton" groupName="serviceRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_FIRST_CLASS')}"
+ value="firstClass"/>
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+
+ <mx:Panel width="100%" height="100%" paddingTop="8" paddingLeft="8" paddingRight="8"
+ title="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_TITLE')}">
+ <mx:Label id="departingFlightsLabel" fontWeight="bold"
+ text="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_DEPARTING_FLIGHTS')}"/>
+ <mx:DataGrid id="departingFlightsDataGrid" width="100%" height="154"
+ resizableColumns="false"
+ change="departingFlightsDataGrid_changeHandler(event)">
+ <mx:columns>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_FLIGHT')}"
+ dataField="@id" sortable="false"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_TIME')}"
+ textAlign="right"
+ labelFunction="timeColumnLabelFunction"
+ sortCompareFunction="timeColumnSortCompareFunction"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_PRICE')}"
+ textAlign="right"
+ labelFunction="priceColumnLabelFunction"
+ sortCompareFunction="priceColumnSortCompareFunction"/>
+ </mx:columns>
+ </mx:DataGrid>
+ <mx:Label id="returnFlightsLabel" fontWeight="bold"
+ text="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_RETURN_FLIGHTS')}"/>
+ <mx:DataGrid id="returnFlightsDataGrid" width="100%" height="154"
+ resizableColumns="false"
+ change="returnFlightsDataGrid_changeHandler(event)">
+ <mx:columns>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_FLIGHT')}"
+ dataField="@id" sortable="false"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_TIME')}"
+ textAlign="right"
+ labelFunction="timeColumnLabelFunction"
+ sortCompareFunction="timeColumnSortCompareFunction"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_PRICE')}"
+ textAlign="right"
+ labelFunction="priceColumnLabelFunction"
+ sortCompareFunction="priceColumnSortCompareFunction"/>
+ </mx:columns>
+ </mx:DataGrid>
+ </mx:Panel>
+
+ <mx:Panel width="100%" height="100%" paddingTop="8" verticalGap="0"
+ title="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TITLE')}">
+ <mx:Form id="departureSummaryForm" paddingTop="0" paddingBottom="0" verticalGap="0">
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FROM')}">
+ <mx:Label id="summaryDepartingFromCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TO')}">
+ <mx:Label id="summaryDepartingToCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_DATE')}">
+ <mx:Label id="summaryDepartingDate" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_TIME')}">
+ <mx:Label id="summaryDepartingTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_ARRIVAL_TIME')}">
+ <mx:Label id="summaryDepartingArrivalTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DURATION')}">
+ <mx:Label id="summaryDepartingDuration" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DISTANCE')}">
+ <mx:Label id="summaryDepartingDistance" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FLIGHT_NUMBER')}">
+ <mx:Label id="summaryDepartingFlightID" styleName="myHighlight"/>
+ </mx:FormItem>
+ </mx:Form>
+ <mx:HRule width="100%"/>
+ <mx:Form id="arrivalSummaryForm" paddingTop="0" paddingBottom="0" verticalGap="0">
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FROM')}">
+ <mx:Label id="summaryReturnFromCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TO')}">
+ <mx:Label id="summaryReturnToCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_DATE')}">
+ <mx:Label id="summaryReturnDate" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_TIME')}">
+ <mx:Label id="summaryReturnTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_ARRIVAL_TIME')}">
+ <mx:Label id="summaryReturnArrivalTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DURATION')}">
+ <mx:Label id="summaryReturnDuration" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DISTANCE')}">
+ <mx:Label id="summaryReturnDistance" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FLIGHT_NUMBER')}">
+ <mx:Label id="summaryReturnFlightID" styleName="myHighlight"/>
+ </mx:FormItem>
+ </mx:Form>
+ <mx:HRule id="hRule" width="100%"/>
+ <mx:VBox width="100%" height="100%"
+ horizontalAlign="center" verticalAlign="middle" verticalGap="10">
+ <mx:HBox width="100%">
+ <mx:Label width="50%" text="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TOTAL_PRICE')}"
+ textAlign="right" fontWeight="bold"/>
+ <mx:Label id="totalPriceLabel" width="50%" fontWeight="bold" styleName="myHighlight"/>
+ </mx:HBox>
+ <mx:Button id="bookItButton" enabled="false" styleName="myHighlight"
+ label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_BOOK_IT')}"/>
+ </mx:VBox>
+ </mx:Panel>
+
+ </mx:HBox>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Flights.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Flights.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Flights.xml
new file mode 100644
index 0000000..c97dfb8
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Flights.xml
@@ -0,0 +1,488 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<flights>
+
+ <!-- from Los Angeles -->
+ <route from="LAX" to="JFK" distance="3971">
+ <flight id="WW873" departs="0758" price="467.42"/>
+ <flight id="WW625" departs="0941" price="389.08"/>
+ <flight id="WW928" departs="1151" price="440.85"/>
+ <flight id="WW486" departs="1401" price="320.69"/>
+ <flight id="WW615" departs="1541" price="470.88"/>
+ <flight id="WW956" departs="1820" price="394.79"/>
+ <flight id="WW171" departs="1953" price="446.29"/>
+ <flight id="WW608" departs="2158" price="388.45"/>
+ </route>
+ <route from="LAX" to="GRU" distance="9912">
+ <flight id="WW439" departs="1138" price="897.71"/>
+ <flight id="WW214" departs="1743" price="997.37"/>
+ </route>
+ <route from="LAX" to="CPT" distance="16047"/>
+ <route from="LAX" to="LHR" distance="8754">
+ <flight id="WW445" departs="0842" price="785.54"/>
+ <flight id="WW593" departs="1109" price="1004.56"/>
+ <flight id="WW774" departs="1331" price="947.60"/>
+ <flight id="WW293" departs="1628" price="868.55"/>
+ <flight id="WW218" departs="1908" price="818.03"/>
+ <flight id="WW283" departs="2113" price="879.87"/>
+ </route>
+ <route from="LAX" to="SVO" distance="9751">
+ <flight id="WW942" departs="1058" price="1042.76"/>
+ <flight id="WW229" departs="1808" price="1168.89"/>
+ </route>
+ <route from="LAX" to="DXB" distance="13391">
+ <flight id="WW591" departs="1233" price="1230.28"/>
+ <flight id="WW176" departs="1800" price="1514.15"/>
+ </route>
+ <route from="LAX" to="DEL" distance="12866">
+ <flight id="WW220" departs="1217" price="1358.19"/>
+ <flight id="WW368" departs="1802" price="1067.30"/>
+ </route>
+ <route from="LAX" to="SHA" distance="10436">
+ <flight id="WW628" departs="0958" price="899.94"/>
+ <flight id="WW686" departs="1322" price="961.75"/>
+ <flight id="WW578" departs="1612" price="1027.25"/>
+ <flight id="WW269" departs="2014" price="954.07"/>
+ </route>
+ <route from="LAX" to="NRT" distance="8748">
+ <flight id="WW614" departs="0940" price="769.92"/>
+ <flight id="WW414" departs="1232" price="793.94"/>
+ <flight id="WW564" departs="1621" price="780.86"/>
+ <flight id="WW145" departs="2011" price="1012.91"/>
+ </route>
+ <route from="LAX" to="SYD" distance="12053">
+ <flight id="WW941" departs="1151" price="1231.12"/>
+ <flight id="WW555" departs="1803" price="1304.17"/>
+ </route>
+
+ <!-- from New York -->
+ <route from="JFK" to="LAX" distance="3971">
+ <flight id="WW166" departs="0803" price="436.60"/>
+ <flight id="WW848" departs="0959" price="385.59"/>
+ <flight id="WW466" departs="1141" price="402.74"/>
+ <flight id="WW603" departs="1356" price="329.08"/>
+ <flight id="WW241" departs="1543" price="353.71"/>
+ <flight id="WW256" departs="1755" price="354.26"/>
+ <flight id="WW147" departs="1954" price="401.23"/>
+ <flight id="WW928" departs="2213" price="449.26"/>
+ </route>
+ <route from="JFK" to="GRU" distance="7658">
+ <flight id="WW277" departs="0931" price="840.35"/>
+ <flight id="WW375" departs="1313" price="623.34"/>
+ <flight id="WW739" departs="1616" price="621.91"/>
+ <flight id="WW897" departs="2012" price="837.22"/>
+ </route>
+ <route from="JFK" to="CPT" distance="12531">
+ <flight id="WW735" departs="1204" price="1008.81"/>
+ <flight id="WW618" departs="1908" price="1420.30"/>
+ </route>
+ <route from="JFK" to="LHR" distance="5537">
+ <flight id="WW629" departs="0742" price="533.42"/>
+ <flight id="WW744" departs="1005" price="505.94"/>
+ <flight id="WW173" departs="1150" price="535.46"/>
+ <flight id="WW643" departs="1348" price="550.26"/>
+ <flight id="WW955" departs="1619" price="494.34"/>
+ <flight id="WW893" departs="1735" price="502.92"/>
+ <flight id="WW897" departs="1956" price="525.35"/>
+ <flight id="WW600" departs="2200" price="658.62"/>
+ </route>
+ <route from="JFK" to="SVO" distance="7477">
+ <flight id="WW833" departs="0953" price="713.29"/>
+ <flight id="WW734" departs="1309" price="634.66"/>
+ <flight id="WW812" departs="1716" price="864.98"/>
+ <flight id="WW546" departs="1946" price="671.24"/>
+ </route>
+ <route from="JFK" to="DXB" distance="10993">
+ <flight id="WW337" departs="0941" price="1012.47"/>
+ <flight id="WW778" departs="1259" price="1265.14"/>
+ <flight id="WW927" departs="1619" price="955.94"/>
+ <flight id="WW458" departs="1955" price="1076.04"/>
+ </route>
+ <route from="JFK" to="DEL" distance="11748">
+ <flight id="WW167" departs="1107" price="1023.98"/>
+ <flight id="WW646" departs="1754" price="1250.35"/>
+ </route>
+ <route from="JFK" to="SHA" distance="11869">
+ <flight id="WW376" departs="1153" price="984.96"/>
+ <flight id="WW523" departs="1804" price="1057.97"/>
+ </route>
+ <route from="JFK" to="NRT" distance="10823">
+ <flight id="WW129" departs="1255" price="897.62"/>
+ <flight id="WW157" departs="1844" price="1192.06"/>
+ </route>
+ <route from="JFK" to="SYD" distance="16002"/>
+ <route from="GRU" to="LAX" distance="9912">
+ <flight id="WW437" departs="1115" price="812.01"/>
+ <flight id="WW232" departs="1822" price="1075.21"/>
+ </route>
+
+ <!-- from Sao Paulo -->
+ <route from="GRU" to="JFK" distance="7658">
+ <flight id="WW609" departs="0859" price="616.38"/>
+ <flight id="WW663" departs="1320" price="830.22"/>
+ <flight id="WW839" departs="1626" price="781.31"/>
+ <flight id="WW520" departs="2027" price="736.87"/>
+ </route>
+ <route from="GRU" to="CPT" distance="6326">
+ <flight id="WW878" departs="1154" price="561.28"/>
+ <flight id="WW617" departs="1846" price="563.72"/>
+ </route>
+ <route from="GRU" to="LHR" distance="9454">
+ <flight id="WW177" departs="1158" price="853.85"/>
+ <flight id="WW173" departs="1851" price="786.32"/>
+ </route>
+ <route from="GRU" to="SVO" distance="11774"/>
+ <route from="GRU" to="DXB" distance="12205"/>
+ <route from="GRU" to="DEL" distance="14389"/>
+ <route from="GRU" to="SHA" distance="18522"/>
+ <route from="GRU" to="NRT" distance="18480"/>
+ <route from="GRU" to="SYD" distance="13359"/>
+
+ <!-- from Cape Town -->
+ <route from="CPT" to="LAX" distance="16047"/>
+ <route from="CPT" to="JFK" distance="12531">
+ <flight id="WW790" departs="1106" price="1272.32"/>
+ <flight id="WW686" departs="1846" price="1291.36"/>
+ </route>
+ <route from="CPT" to="GRU" distance="6326">
+ <flight id="WW526" departs="1230" price="530.37"/>
+ <flight id="WW827" departs="1810" price="575.49"/>
+ </route>
+ <route from="CPT" to="LHR" distance="9664">
+ <flight id="WW154" departs="1223" price="954.73"/>
+ <flight id="WW224" departs="1656" price="978.31"/>
+ </route>
+ <route from="CPT" to="SVO" distance="10150"/>
+ <route from="CPT" to="DXB" distance="7645">
+ <flight id="WW918" departs="1058" price="890.62"/>
+ <flight id="WW753" departs="1718" price="810.14"/>
+ </route>
+ <route from="CPT" to="DEL" distance="9291">
+ <flight id="WW387" departs="1050" price="970.09"/>
+ <flight id="WW793" departs="1654" price="830.94"/>
+ </route>
+ <route from="CPT" to="SHA" distance="12961"/>
+ <route from="CPT" to="NRT" distance="14789"/>
+ <route from="CPT" to="SYD" distance="11000"/>
+
+ <!-- from London -->
+ <route from="LHR" to="LAX" distance="8754">
+ <flight id="WW518" departs="0849" price="940.26"/>
+ <flight id="WW566" departs="1131" price="945.00"/>
+ <flight id="WW612" departs="1331" price="728.87"/>
+ <flight id="WW808" departs="1633" price="1026.67"/>
+ <flight id="WW351" departs="1855" price="843.81"/>
+ <flight id="WW937" departs="2103" price="1008.75"/>
+ </route>
+ <route from="LHR" to="JFK" distance="5537">
+ <flight id="WW712" departs="0806" price="555.33"/>
+ <flight id="WW320" departs="0937" price="658.79"/>
+ <flight id="WW868" departs="1151" price="472.34"/>
+ <flight id="WW944" departs="1343" price="492.23"/>
+ <flight id="WW134" departs="1553" price="540.28"/>
+ <flight id="WW351" departs="1814" price="528.59"/>
+ <flight id="WW948" departs="2018" price="486.19"/>
+ <flight id="WW789" departs="2214" price="566.93"/>
+ </route>
+ <route from="LHR" to="GRU" distance="9454">
+ <flight id="WW786" departs="1130" price="1109.52"/>
+ <flight id="WW670" departs="1826" price="1006.91"/>
+ </route>
+ <route from="LHR" to="CPT" distance="9664">
+ <flight id="WW561" departs="1137" price="974.54"/>
+ <flight id="WW197" departs="1753" price="1062.80"/>
+ </route>
+ <route from="LHR" to="SVO" distance="2506">
+ <flight id="WW604" departs="1210" price="226.72"/>
+ <flight id="WW555" departs="1840" price="288.35"/>
+ </route>
+ <route from="LHR" to="DXB" distance="5492">
+ <flight id="WW635" departs="0909" price="645.00"/>
+ <flight id="WW591" departs="1338" price="556.98"/>
+ <flight id="WW128" departs="1623" price="552.51"/>
+ <flight id="WW359" departs="1941" price="479.16"/>
+ </route>
+ <route from="LHR" to="DEL" distance="6727">
+ <flight id="WW463" departs="0953" price="797.72"/>
+ <flight id="WW855" departs="1323" price="608.34"/>
+ <flight id="WW718" departs="1726" price="606.64"/>
+ <flight id="WW185" departs="2002" price="750.22"/>
+ </route>
+ <route from="LHR" to="SHA" distance="9206">
+ <flight id="WW483" departs="0949" price="1030.93"/>
+ <flight id="WW731" departs="1323" price="978.76"/>
+ <flight id="WW950" departs="1639" price="888.00"/>
+ <flight id="WW525" departs="2032" price="790.05"/>
+ </route>
+ <route from="LHR" to="NRT" distance="9585">
+ <flight id="WW947" departs="0920" price="936.53"/>
+ <flight id="WW572" departs="1325" price="858.46"/>
+ <flight id="WW796" departs="1700" price="883.97"/>
+ <flight id="WW225" departs="2031" price="1148.69"/>
+ </route>
+ <route from="LHR" to="SYD" distance="17009"/>
+
+ <!-- from Moscow -->
+ <route from="SVO" to="LAX" distance="9751">
+ <flight id="WW676" departs="1209" price="1051.68"/>
+ <flight id="WW671" departs="1721" price="1020.87"/>
+ </route>
+ <route from="SVO" to="JFK" distance="7477">
+ <flight id="WW544" departs="0859" price="624.11"/>
+ <flight id="WW431" departs="1321" price="671.30"/>
+ <flight id="WW527" departs="1609" price="853.27"/>
+ <flight id="WW715" departs="2025" price="658.59"/>
+ </route>
+ <route from="SVO" to="GRU" distance="11774"/>
+ <route from="SVO" to="CPT" distance="10150"/>
+ <route from="SVO" to="LHR" distance="2506">
+ <flight id="WW365" departs="1203" price="238.82"/>
+ <flight id="WW523" departs="1840" price="249.54"/>
+ </route>
+ <route from="SVO" to="DXB" distance="3708">
+ <flight id="WW516" departs="0907" price="326.06"/>
+ <flight id="WW614" departs="1244" price="368.77"/>
+ <flight id="WW704" departs="1641" price="438.98"/>
+ <flight id="WW351" departs="2049" price="352.96"/>
+ </route>
+ <route from="SVO" to="DEL" distance="4361">
+ <flight id="WW281" departs="1255" price="352.67"/>
+ <flight id="WW156" departs="1806" price="517.02"/>
+ </route>
+ <route from="SVO" to="SHA" distance="6813">
+ <flight id="WW610" departs="1128" price="763.01"/>
+ <flight id="WW409" departs="1831" price="768.98"/>
+ </route>
+ <route from="SVO" to="NRT" distance="7502">
+ <flight id="WW451" departs="1248" price="601.10"/>
+ <flight id="WW495" departs="1831" price="634.93"/>
+ </route>
+ <route from="SVO" to="SYD" distance="14505"/>
+
+ <!-- from Dubai -->
+ <route from="DXB" to="LAX" distance="13391">
+ <flight id="WW770" departs="1220" price="1188.01"/>
+ <flight id="WW661" departs="1734" price="1319.57"/>
+ </route>
+ <route from="DXB" to="JFK" distance="10993"/>
+ <route from="DXB" to="GRU" distance="12205"/>
+ <route from="DXB" to="CPT" distance="7645">
+ <flight id="WW883" departs="1244" price="668.70"/>
+ <flight id="WW328" departs="1835" price="832.14"/>
+ </route>
+ <route from="DXB" to="LHR" distance="5492">
+ <flight id="WW116" departs="1251" price="577.34"/>
+ <flight id="WW600" departs="1902" price="472.03"/>
+ </route>
+ <route from="DXB" to="SVO" distance="3708">
+ <flight id="WW371" departs="0917" price="330.75"/>
+ <flight id="WW105" departs="1231" price="338.65"/>
+ <flight id="WW769" departs="1647" price="303.56"/>
+ <flight id="WW345" departs="2056" price="387.22"/>
+ </route>
+ <route from="DXB" to="DEL" distance="2187">
+ <flight id="WW417" departs="1007" price="199.29"/>
+ <flight id="WW590" departs="1316" price="224.32"/>
+ <flight id="WW685" departs="1648" price="223.25"/>
+ <flight id="WW409" departs="2023" price="220.64"/>
+ </route>
+ <route from="DXB" to="SHA" distance="6403">
+ <flight id="WW927" departs="1010" price="752.48"/>
+ <flight id="WW170" departs="1234" price="563.95"/>
+ <flight id="WW269" departs="1650" price="665.83"/>
+ <flight id="WW571" departs="1948" price="712.35"/>
+ </route>
+ <route from="DXB" to="NRT" distance="7977">
+ <flight id="WW153" departs="1006" price="775.69"/>
+ <flight id="WW421" departs="1243" price="767.43"/>
+ <flight id="WW507" departs="1700" price="957.18"/>
+ <flight id="WW644" departs="1952" price="695.43"/>
+ </route>
+ <route from="DXB" to="SYD" distance="12038"/>
+ <route from="DEL" to="LAX" distance="12866">
+ <flight id="WW104" departs="1251" price="1236.72"/>
+ <flight id="WW409" departs="1715" price="1248.10"/>
+ </route>
+
+ <!-- from New Delhi -->
+ <route from="DEL" to="JFK" distance="11748">
+ <flight id="WW512" departs="1222" price="996.52"/>
+ <flight id="WW590" departs="1650" price="1184.59"/>
+ </route>
+ <route from="DEL" to="GRU" distance="14389"/>
+ <route from="DEL" to="CPT" distance="9291">
+ <flight id="WW760" departs="1134" price="854.58"/>
+ <flight id="WW543" departs="1845" price="1003.12"/>
+ </route>
+ <route from="DEL" to="LHR" distance="6727">
+ <flight id="WW336" departs="0907" price="796.51"/>
+ <flight id="WW161" departs="1240" price="576.68"/>
+ <flight id="WW255" departs="1720" price="643.23"/>
+ <flight id="WW957" departs="1941" price="762.12"/>
+ </route>
+ <route from="DEL" to="SVO" distance="4361">
+ <flight id="WW404" departs="1230" price="421.63"/>
+ <flight id="WW847" departs="1808" price="387.57"/>
+ </route>
+ <route from="DEL" to="DXB" distance="2187">
+ <flight id="WW338" departs="0946" price="187.21"/>
+ <flight id="WW794" departs="1310" price="261.33"/>
+ <flight id="WW321" departs="1619" price="237.60"/>
+ <flight id="WW497" departs="1946" price="198.43"/>
+ </route>
+ <route from="DEL" to="SHA" distance="4243">
+ <flight id="WW437" departs="0918" price="489.28"/>
+ <flight id="WW274" departs="1251" price="501.82"/>
+ <flight id="WW331" departs="1721" price="423.81"/>
+ <flight id="WW877" departs="1956" price="485.38"/>
+ </route>
+ <route from="DEL" to="NRT" distance="5904">
+ <flight id="WW877" departs="0920" price="560.20"/>
+ <flight id="WW748" departs="1251" price="662.45"/>
+ <flight id="WW726" departs="1640" price="544.14"/>
+ <flight id="WW650" departs="2012" price="497.42"/>
+ </route>
+ <route from="DEL" to="SYD" distance="10427">
+ <flight id="WW824" departs="1117" price="1144.39"/>
+ <flight id="WW117" departs="1727" price="1124.35"/>
+ </route>
+
+ <!-- from Shanghai -->
+ <route from="SHA" to="LAX" distance="10436">
+ <flight id="WW239" departs="0857" price="1244.22"/>
+ <flight id="WW566" departs="1323" price="944.68"/>
+ <flight id="WW928" departs="1634" price="947.97"/>
+ <flight id="WW943" departs="2104" price="1241.41"/>
+ </route>
+ <route from="SHA" to="JFK" distance="11869">
+ <flight id="WW501" departs="1130" price="1229.58"/>
+ <flight id="WW346" departs="1907" price="951.51"/>
+ </route>
+ <route from="SHA" to="GRU" distance="18522"/>
+ <route from="SHA" to="CPT" distance="12961"/>
+ <route from="SHA" to="LHR" distance="9206">
+ <flight id="WW550" departs="0918" price="765.98"/>
+ <flight id="WW794" departs="1317" price="994.45"/>
+ <flight id="WW212" departs="1608" price="806.07"/>
+ <flight id="WW796" departs="2004" price="1096.53"/>
+ </route>
+ <route from="SHA" to="SVO" distance="6813">
+ <flight id="WW958" departs="1234" price="774.18"/>
+ <flight id="WW342" departs="1908" price="574.98"/>
+ </route>
+ <route from="SHA" to="DXB" distance="6403">
+ <flight id="WW725" departs="0906" price="588.83"/>
+ <flight id="WW505" departs="1232" price="672.98"/>
+ <flight id="WW432" departs="1642" price="622.66"/>
+ <flight id="WW846" departs="1941" price="743.98"/>
+ </route>
+ <route from="SHA" to="DEL" distance="4243">
+ <flight id="WW272" departs="0855" price="456.56"/>
+ <flight id="WW282" departs="1347" price="492.06"/>
+ <flight id="WW809" departs="1655" price="384.65"/>
+ <flight id="WW687" departs="2047" price="508.49"/>
+ </route>
+ <route from="SHA" to="NRT" distance="1834">
+ <flight id="WW116" departs="0838" price="213.69"/>
+ <flight id="WW230" departs="1132" price="209.21"/>
+ <flight id="WW743" departs="1350" price="163.64"/>
+ <flight id="WW488" departs="1619" price="150.55"/>
+ <flight id="WW732" departs="1915" price="203.68"/>
+ <flight id="WW275" departs="2118" price="216.18"/>
+ </route>
+ <route from="SHA" to="SYD" distance="7885">
+ <flight id="WW429" departs="1251" price="733.03"/>
+ <flight id="WW988" departs="1735" price="835.20"/>
+ </route>
+
+ <!-- from Tokyo -->
+ <route from="NRT" to="LAX" distance="8748">
+ <flight id="WW160" departs="0908" price="895.40"/>
+ <flight id="WW998" departs="1254" price="1046.53"/>
+ <flight id="WW207" departs="1610" price="1046.85"/>
+ <flight id="WW833" departs="2039" price="931.84"/>
+ </route>
+ <route from="NRT" to="JFK" distance="10823">
+ <flight id="WW198" departs="1132" price="1099.64"/>
+ <flight id="WW783" departs="1729" price="1159.15"/>
+ </route>
+ <route from="NRT" to="GRU" distance="18480"/>
+ <route from="NRT" to="CPT" distance="14789"/>
+ <route from="NRT" to="LHR" distance="9585">
+ <flight id="WW778" departs="0947" price="861.80"/>
+ <flight id="WW523" departs="1236" price="1068.30"/>
+ <flight id="WW933" departs="1620" price="806.16"/>
+ <flight id="WW115" departs="1942" price="1013.28"/>
+ </route>
+ <route from="NRT" to="SVO" distance="7502">
+ <flight id="WW239" departs="1243" price="870.87"/>
+ <flight id="WW718" departs="1717" price="817.57"/>
+ </route>
+ <route from="NRT" to="DXB" distance="7977">
+ <flight id="WW492" departs="0941" price="827.91"/>
+ <flight id="WW881" departs="1230" price="672.40"/>
+ <flight id="WW311" departs="1613" price="712.96"/>
+ <flight id="WW645" departs="1948" price="647.39"/>
+ </route>
+ <route from="NRT" to="DEL" distance="5904">
+ <flight id="WW657" departs="0943" price="642.77"/>
+ <flight id="WW701" departs="1322" price="482.63"/>
+ <flight id="WW918" departs="1631" price="545.27"/>
+ <flight id="WW196" departs="2002" price="503.27"/>
+ </route>
+ <route from="NRT" to="SHA" distance="1834">
+ <flight id="WW227" departs="0823" price="160.94"/>
+ <flight id="WW768" departs="1059" price="210.22"/>
+ <flight id="WW174" departs="1352" price="212.06"/>
+ <flight id="WW869" departs="1639" price="151.08"/>
+ <flight id="WW519" departs="1838" price="173.23"/>
+ <flight id="WW146" departs="2129" price="152.51"/>
+ </route>
+ <route from="NRT" to="SYD" distance="7827">
+ <flight id="WW349" departs="1108" price="703.57"/>
+ <flight id="WW611" departs="1829" price="908.15"/>
+ </route>
+
+ <!-- from Sydney -->
+ <route from="SYD" to="LAX" distance="12053">
+ <flight id="WW792" departs="1134" price="1256.68"/>
+ <flight id="WW192" departs="1708" price="1089.62"/>
+ </route>
+ <route from="SYD" to="JFK" distance="16002"/>
+ <route from="SYD" to="GRU" distance="13359"/>
+ <route from="SYD" to="CPT" distance="11000"/>
+ <route from="SYD" to="LHR" distance="17009"/>
+ <route from="SYD" to="SVO" distance="14505"/>
+ <route from="SYD" to="DXB" distance="12038"/>
+ <route from="SYD" to="DEL" distance="10427">
+ <flight id="WW619" departs="1115" price="1189.47"/>
+ <flight id="WW988" departs="1741" price="1143.81"/>
+ </route>
+ <route from="SYD" to="SHA" distance="7885">
+ <flight id="WW113" departs="1135" price="923.03"/>
+ <flight id="WW294" departs="1750" price="841.27"/>
+ </route>
+ <route from="SYD" to="NRT" distance="7827">
+ <flight id="WW986" departs="1110" price="635.02"/>
+ <flight id="WW665" departs="1836" price="806.74"/>
+ </route>
+
+</flights>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Timezones.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Timezones.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Timezones.xml
new file mode 100644
index 0000000..2ab933b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testRuntimeLocalization/src/Timezones.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<timezones>
+ <timezone where="LAX" delta="-0800"/> <!-- Los Angeles, USA -->
+ <timezone where="JFK" delta="-0500"/> <!-- New York, USA -->
+ <timezone where="GRU" delta="-0300"/> <!-- Sao Paulo, Brazil -->
+ <timezone where="CPT" delta="+0200"/> <!-- Cape Town, South Africa -->
+ <timezone where="LHR" delta="+0000"/> <!-- London, England -->
+ <timezone where="SVO" delta="+0300"/> <!-- Moscow, Russia -->
+ <timezone where="DXB" delta="+0400"/> <!-- Dubai, United Arab Emirates -->
+ <timezone where="DEL" delta="+0530"/> <!-- New Delhi, India -->
+ <timezone where="SHA" delta="+0800"/> <!-- Shanghai, China -->
+ <timezone where="NRT" delta="+0900"/> <!-- Tokyo, Japan -->
+ <timezone where="SYD" delta="+1000"/> <!-- Sydney, Australia -->
+</timezones>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/pom.xml
new file mode 100644
index 0000000..a1c7cab
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/pom.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.bit101</groupId>
+ <artifactId>minimal-comps</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <name>Minimal comps</name>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>http://www.bit101.com/minimal-comps</uri>
+ <manifest>${project.build.directory}/manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <includeNamespaces>
+ <namespace>http://www.bit101.com/minimal-comps</namespace>
+ </includeNamespaces>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>manifest</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/assets/pf_ronda_seven.ttf
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/assets/pf_ronda_seven.ttf b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/assets/pf_ronda_seven.ttf
new file mode 100644
index 0000000..0bbf3aa
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/assets/pf_ronda_seven.ttf differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/CheckBox.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/CheckBox.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/CheckBox.as
new file mode 100644
index 0000000..66ffc7c
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/CheckBox.as
@@ -0,0 +1,162 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.MouseEvent;
+
+ public class CheckBox extends Component
+ {
+ private var _back:Sprite;
+ private var _button:Sprite;
+ private var _label:Label;
+ private var _labelText:String = "";
+ private var _selected:Boolean = false;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this CheckBox.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label String containing the label for this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (click in this case).
+ */
+ public function CheckBox(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, label:String = "", defaultHandler:Function = null)
+ {
+ _labelText = label;
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(MouseEvent.CLICK, defaultHandler);
+ }
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ buttonMode = true;
+ useHandCursor = true;
+ }
+
+ /**
+ * Creates the children for this component
+ */
+ override protected function addChildren():void
+ {
+ _back = new Sprite();
+ _back.filters = [getShadow(2, true)];
+ addChild(_back);
+
+ _button = new Sprite();
+ _button.filters = [getShadow(1)];
+ _button.visible = false;
+ addChild(_button);
+
+ _label = new Label(this, 0, 0, _labelText);
+ draw();
+
+ addEventListener(MouseEvent.CLICK, onClick);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _back.graphics.clear();
+ _back.graphics.beginFill(Style.BACKGROUND);
+ _back.graphics.drawRect(0, 0, 10, 10);
+ _back.graphics.endFill();
+
+ _button.graphics.clear();
+ _button.graphics.beginFill(Style.BUTTON_FACE);
+ _button.graphics.drawRect(2, 2, 6, 6);
+
+ _label.text = _labelText;
+ _label.draw();
+ _label.x = 12;
+ _label.y = (10 - _label.height) / 2;
+ _width = _label.width + 12;
+ _height = 10;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handler
+ ///////////////////////////////////
+
+ /**
+ * Internal click handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onClick(event:MouseEvent):void
+ {
+ _selected = !_selected;
+ _button.visible = _selected;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets / gets the label text shown on this CheckBox.
+ */
+ public function set label(str:String):void
+ {
+ _labelText = str;
+ invalidate();
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+
+ /**
+ * Sets / gets the selected state of this CheckBox.
+ */
+ public function set selected(s:Boolean):void
+ {
+ _selected = s;
+ _button.visible = _selected;
+ }
+ public function get selected():Boolean
+ {
+ return _selected;
+ }
+
+ }
+}
\ No newline at end of file
[05/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ColorChooser.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ColorChooser.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ColorChooser.as
new file mode 100644
index 0000000..3fdf508
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ColorChooser.as
@@ -0,0 +1,337 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.Bitmap;
+ import flash.display.BitmapData;
+ import flash.display.BlendMode;
+ import flash.display.DisplayObject;
+ import flash.display.DisplayObjectContainer;
+ import flash.display.GradientType;
+ import flash.display.Graphics;
+ import flash.display.InterpolationMethod;
+ import flash.display.SpreadMethod;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+ import flash.geom.Matrix;
+
+ public class ColorChooser extends Component
+ {
+ private var _input:InputText;
+ private var _swatch:Sprite;
+ private var _value:uint = 0xff0000;
+
+ public static const TOP:String = "top";
+ public static const BOTTOM:String = "bottom";
+
+ private var _usePopup:Boolean = false;
+ private var _model:DisplayObject;
+ private var _defaultModelColors:Array=[0xFF0000, 0xFFFF00, 0x00FF00, 0x00FFFF, 0x0000FF, 0xFF00FF, 0xFF0000,0xFFFFFF,0x000000];
+ private var _colors:BitmapData;
+ private var _colorsContainer:Sprite;
+ private var _popupAlign:String = BOTTOM;
+ private var _tmpColorChoice:uint = _value;
+ private var _oldColorChoice:uint = _value;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this ColorChooser.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param value The initial color value of this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (change in this case).
+ */
+
+ public function ColorChooser(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, value:uint = 0xff0000, defaultHandler:Function = null)
+ {
+ _value = value;
+ _oldColorChoice = _tmpColorChoice = _value;
+
+ super(parent, xpos, ypos);
+
+ if(defaultHandler != null)
+ {
+ addEventListener(Event.CHANGE, defaultHandler);
+ }
+
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+
+ super.init();
+
+ _width = 65;
+ _height = 15;
+ value = _value;
+ }
+
+ override protected function addChildren():void
+ {
+ _input = new InputText();
+ _input.width = 45;
+ _input.restrict = "0123456789ABCDEFabcdef";
+ _input.maxChars = 6;
+ addChild(_input);
+ _input.addEventListener(Event.CHANGE, onChange);
+
+ _swatch = new Sprite();
+ _swatch.x = 50;
+ _swatch.filters = [getShadow(2, true)];
+ addChild(_swatch);
+
+ _colorsContainer = new Sprite();
+ _colorsContainer.addEventListener(Event.ADDED_TO_STAGE, onColorsAddedToStage);
+ _colorsContainer.addEventListener(Event.REMOVED_FROM_STAGE, onColorsRemovedFromStage);
+ _model = getDefaultModel();
+ drawColors(_model);
+ }
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _swatch.graphics.clear();
+ _swatch.graphics.beginFill(_value);
+ _swatch.graphics.drawRect(0, 0, 16, 16);
+ _swatch.graphics.endFill();
+ }
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Internal change handler.
+ * @param event The Event passed by the system.
+ */
+ protected function onChange(event:Event):void
+ {
+ event.stopImmediatePropagation();
+ _value = parseInt("0x" + _input.text, 16);
+ _input.text = _input.text.toUpperCase();
+ _oldColorChoice = value;
+ invalidate();
+ dispatchEvent(new Event(Event.CHANGE));
+
+ }
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the color value of this ColorChooser.
+ */
+ public function set value(n:uint):void
+ {
+ var str:String = n.toString(16).toUpperCase();
+ while(str.length < 6)
+ {
+ str = "0" + str;
+ }
+ _input.text = str;
+ _value = parseInt("0x" + _input.text, 16);
+ invalidate();
+ }
+ public function get value():uint
+ {
+ return _value;
+ }
+
+ ///////////////////////////////////
+ // COLOR PICKER MODE SUPPORT
+ ///////////////////////////////////}
+
+
+ public function get model():DisplayObject { return _model; }
+ public function set model(value:DisplayObject):void
+ {
+ _model = value;
+ if (_model!=null) {
+ drawColors(_model);
+ if (!usePopup) usePopup = true;
+ } else {
+ _model = getDefaultModel();
+ drawColors(_model);
+ usePopup = false;
+ }
+ }
+
+ private function drawColors(d:DisplayObject):void{
+ _colors = new BitmapData(d.width, d.height);
+ _colors.draw(d);
+ while (_colorsContainer.numChildren) _colorsContainer.removeChildAt(0);
+ _colorsContainer.addChild(new Bitmap(_colors));
+ placeColors();
+ }
+
+ public function get popupAlign():String { return _popupAlign; }
+ public function set popupAlign(value:String):void {
+ _popupAlign = value;
+ placeColors();
+ }
+
+ public function get usePopup():Boolean { return _usePopup; }
+ public function set usePopup(value:Boolean):void {
+ _usePopup = value;
+
+ _swatch.buttonMode = true;
+ _colorsContainer.buttonMode = true;
+ _colorsContainer.addEventListener(MouseEvent.MOUSE_MOVE, browseColorChoice);
+ _colorsContainer.addEventListener(MouseEvent.MOUSE_OUT, backToColorChoice);
+ _colorsContainer.addEventListener(MouseEvent.CLICK, setColorChoice);
+ _swatch.addEventListener(MouseEvent.CLICK, onSwatchClick);
+
+ if (!_usePopup) {
+ _swatch.buttonMode = false;
+ _colorsContainer.buttonMode = false;
+ _colorsContainer.removeEventListener(MouseEvent.MOUSE_MOVE, browseColorChoice);
+ _colorsContainer.removeEventListener(MouseEvent.MOUSE_OUT, backToColorChoice);
+ _colorsContainer.removeEventListener(MouseEvent.CLICK, setColorChoice);
+ _swatch.removeEventListener(MouseEvent.CLICK, onSwatchClick);
+ }
+ }
+
+ /**
+ * The color picker mode Handlers
+ */
+
+ private function onColorsRemovedFromStage(e:Event):void {
+ stage.removeEventListener(MouseEvent.CLICK, onStageClick);
+ }
+
+ private function onColorsAddedToStage(e:Event):void {
+ stage.addEventListener(MouseEvent.CLICK, onStageClick);
+ }
+
+ private function onStageClick(e:MouseEvent):void {
+ displayColors();
+ }
+
+
+ private function onSwatchClick(event:MouseEvent):void
+ {
+ event.stopImmediatePropagation();
+ displayColors();
+ }
+
+ private function backToColorChoice(e:MouseEvent):void
+ {
+ value = _oldColorChoice;
+ }
+
+ private function setColorChoice(e:MouseEvent):void {
+ value = _colors.getPixel(_colorsContainer.mouseX, _colorsContainer.mouseY);
+ _oldColorChoice = value;
+ dispatchEvent(new Event(Event.CHANGE));
+ displayColors();
+ }
+
+ private function browseColorChoice(e:MouseEvent):void
+ {
+ _tmpColorChoice = _colors.getPixel(_colorsContainer.mouseX, _colorsContainer.mouseY);
+ value = _tmpColorChoice;
+ }
+
+ /**
+ * The color picker mode Display functions
+ */
+
+ private function displayColors():void
+ {
+ if (_colorsContainer.parent) _colorsContainer.parent.removeChild(_colorsContainer);
+ else stage.addChild(_colorsContainer);
+ }
+
+ private function placeColors():void{
+ switch (_popupAlign)
+ {
+ case TOP :
+ _colorsContainer.x = x;
+ _colorsContainer.y = y-_colorsContainer.height - 4;
+ break;
+ case BOTTOM :
+ _colorsContainer.x =x;
+ _colorsContainer.y = y+22;
+ break;
+ default:
+ _colorsContainer.x = x;
+ _colorsContainer.y = y+22;
+ break;
+ }
+ }
+
+ /**
+ * Create the default gradient Model
+ */
+
+ private function getDefaultModel():Sprite {
+ var w:Number = 100;
+ var h:Number = 100;
+ var bmd:BitmapData = new BitmapData(w, h);
+
+ var g1:Sprite = getGradientSprite(w, h, _defaultModelColors);
+ bmd.draw(g1);
+
+ var blendmodes:Array = [BlendMode.MULTIPLY,BlendMode.ADD];
+ var nb:int = blendmodes.length;
+ var g2:Sprite = getGradientSprite(h/nb, w, [0xFFFFFF, 0x000000]);
+
+ for (var i:int = 0; i < nb; i++) {
+ var blendmode:String = blendmodes[i];
+ var m:Matrix = new Matrix();
+ m.rotate(-Math.PI / 2);
+ m.translate(0, h / nb * i + h/nb);
+ bmd.draw(g2, m, null,blendmode);
+ }
+
+ var s:Sprite = new Sprite();
+ var bm:Bitmap = new Bitmap(bmd);
+ s.addChild(bm);
+ return(s);
+ }
+
+ private function getGradientSprite(w:Number, h:Number, ca:Array):Sprite
+ {
+ var gc:Array = ca;
+ var gs:Sprite = new Sprite();
+ var g:Graphics = gs.graphics;
+ var gn:int = gc.length;
+ var ga:Array = [];
+ var gr:Array = [];
+ var gm:Matrix = new Matrix(); gm.createGradientBox(w, h, 0, 0, 0);
+ for (var i:int = 0; i < gn; i++) { ga.push(1); gr.push(0x00 + 0xFF / (gn - 1) * i); }
+ g.beginGradientFill(GradientType.LINEAR, gc, ga, gr, gm, SpreadMethod.PAD,InterpolationMethod.RGB);
+ g.drawRect(0, 0, w, h);
+ g.endFill();
+ return(gs);
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Component.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Component.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Component.as
new file mode 100644
index 0000000..070b863
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Component.as
@@ -0,0 +1,204 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.display.Stage;
+ import flash.display.StageAlign;
+ import flash.display.StageScaleMode;
+ import flash.events.Event;
+ import flash.filters.DropShadowFilter;
+
+ public class Component extends Sprite
+ {
+ [Embed(source="/assets/pf_ronda_seven.ttf", fontName="PF Ronda Seven", mimeType="application/x-font")]
+ private var Ronda:Class;
+
+ protected var _width:Number = 0;
+ protected var _height:Number = 0;
+
+ public static const DRAW:String = "draw";
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this component.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ */
+ public function Component(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0)
+ {
+ move(xpos, ypos);
+ if(parent != null)
+ {
+ parent.addChild(this);
+ }
+ init();
+ }
+
+ /**
+ * Initilizes the component.
+ */
+ protected function init():void
+ {
+ addChildren();
+ invalidate();
+ }
+
+ /**
+ * Overriden in subclasses to create child display objects.
+ */
+ protected function addChildren():void
+ {
+
+ }
+
+ /**
+ * DropShadowFilter factory method, used in many of the components.
+ * @param dist The distance of the shadow.
+ * @param knockout Whether or not to create a knocked out shadow.
+ */
+ protected function getShadow(dist:Number, knockout:Boolean = false):DropShadowFilter
+ {
+ return new DropShadowFilter(dist, 45, Style.DROPSHADOW, 1, dist, dist, .3, 1, knockout);
+ }
+
+ /**
+ * Marks the component to be redrawn on the next frame.
+ */
+ protected function invalidate():void
+ {
+// draw();
+ addEventListener(Event.ENTER_FRAME, onInvalidate);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Utility method to set up usual stage align and scaling.
+ */
+ public static function initStage(stage:Stage):void
+ {
+ stage.align = StageAlign.TOP_LEFT;
+ stage.scaleMode = StageScaleMode.NO_SCALE;
+ }
+
+ /**
+ * Moves the component to the specified position.
+ * @param xpos the x position to move the component
+ * @param ypos the y position to move the component
+ */
+ public function move(xpos:Number, ypos:Number):void
+ {
+ x = Math.round(xpos);
+ y = Math.round(ypos);
+ }
+
+ /**
+ * Sets the size of the component.
+ * @param w The width of the component.
+ * @param h The height of the component.
+ */
+ public function setSize(w:Number, h:Number):void
+ {
+ _width = w;
+ _height = h;
+ invalidate();
+ }
+
+ /**
+ * Abstract draw function.
+ */
+ public function draw():void
+ {
+ dispatchEvent(new Event(Component.DRAW));
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Called one frame after invalidate is called.
+ */
+ protected function onInvalidate(event:Event):void
+ {
+ removeEventListener(Event.ENTER_FRAME, onInvalidate);
+ draw();
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets/gets the width of the component.
+ */
+ override public function set width(w:Number):void
+ {
+ _width = w;
+ invalidate();
+ dispatchEvent(new Event(Event.RESIZE));
+ }
+ override public function get width():Number
+ {
+ return _width;
+ }
+
+ /**
+ * Sets/gets the height of the component.
+ */
+ override public function set height(h:Number):void
+ {
+ _height = h;
+ invalidate();
+ dispatchEvent(new Event(Event.RESIZE));
+ }
+ override public function get height():Number
+ {
+ return _height;
+ }
+
+ /**
+ * Overrides the setter for x to always place the component on a whole pixel.
+ */
+ override public function set x(value:Number):void
+ {
+ super.x = Math.round(value);
+ }
+
+ /**
+ * Overrides the setter for y to always place the component on a whole pixel.
+ */
+ override public function set y(value:Number):void
+ {
+ super.y = Math.round(value);
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HBox.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HBox.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HBox.as
new file mode 100644
index 0000000..7cd3199
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HBox.as
@@ -0,0 +1,85 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package com.bit101.components
+{
+ import flash.display.DisplayObject;
+ import flash.display.DisplayObjectContainer;
+ import flash.events.Event;
+
+ public class HBox extends Component
+ {
+ private var _spacing:Number = 5;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this PushButton.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ */
+ public function HBox(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0)
+ {
+ super(parent, xpos, ypos);
+ }
+
+ /**
+ * Override of addChild to force layout;
+ */
+ override public function addChild(child:DisplayObject) : DisplayObject
+ {
+ super.addChild(child);
+ child.addEventListener(Event.RESIZE, onResize);
+ invalidate();
+ return child;
+ }
+
+ protected function onResize(event:Event):void
+ {
+ invalidate();
+ }
+
+ /**
+ * Draws the visual ui of the component, in this case, laying out the sub components.
+ */
+ override public function draw() : void
+ {
+ var xpos:Number = 0;
+ for(var i:int = 0; i < numChildren; i++)
+ {
+ var child:DisplayObject = getChildAt(i);
+ child.x = xpos;
+ xpos += child.width;
+ xpos += _spacing;
+ }
+ }
+
+ /**
+ * Gets / sets the spacing between each sub component.
+ */
+ public function set spacing(s:Number):void
+ {
+ _spacing = s;
+ invalidate();
+ }
+ public function get spacing():Number
+ {
+ return _spacing;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HSlider.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HSlider.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HSlider.as
new file mode 100644
index 0000000..cf93355
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HSlider.as
@@ -0,0 +1,37 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+
+ public class HSlider extends Slider
+ {
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this HSlider.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param defaultHandler The event handling function to handle the default event for this component.
+ */
+ public function HSlider(parent:DisplayObjectContainer=null, xpos:Number=0, ypos:Number=0, defaultHandler:Function = null)
+ {
+ super(Slider.HORIZONTAL, parent, xpos, ypos, defaultHandler);
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HUISlider.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HUISlider.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HUISlider.as
new file mode 100644
index 0000000..0925639
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/HUISlider.as
@@ -0,0 +1,86 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.events.Event;
+
+ public class HUISlider extends UISlider
+ {
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this HUISlider.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label The string to use as the label for this component.
+ * @param defaultHandler The event handling function to handle the default event for this component.
+ */
+ public function HUISlider(parent:DisplayObjectContainer = null, x:Number = 0, y:Number = 0, label:String = "", defaultEventHandler:Function = null)
+ {
+ _sliderClass = HSlider;
+ super(parent, x, y, label, defaultEventHandler);
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ setSize(200, 18);
+ }
+
+ /**
+ * Centers the label when label text is changed.
+ */
+ override protected function positionLabel():void
+ {
+ _valueLabel.x = _slider.x + _slider.width + 5;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of this component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _slider.x = _label.width + 5;
+ _slider.y = height / 2 - _slider.height / 2;
+ _slider.width = width - _label.width - 50 - 10;
+
+ _valueLabel.x = _slider.x + _slider.width + 5;
+ }
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/IndicatorLight.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/IndicatorLight.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/IndicatorLight.as
new file mode 100644
index 0000000..5d32574
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/IndicatorLight.as
@@ -0,0 +1,208 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.GradientType;
+ import flash.display.Shape;
+ import flash.events.TimerEvent;
+ import flash.geom.Matrix;
+ import flash.utils.Timer;
+
+ public class IndicatorLight extends Component
+ {
+ private var _color:uint;
+ private var _lit:Boolean = false;
+ private var _label:Label;
+ private var _labelText:String = "";
+ private var _lite:Shape;
+ private var _timer:Timer;
+
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this CheckBox.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param color The color of this light.
+ * @param label String containing the label for this component.
+ */
+ public function IndicatorLight(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, color:uint = 0xff0000, label:String = "")
+ {
+ _color = color;
+ _labelText = label;
+ super(parent, xpos, ypos);
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ _timer = new Timer(500);
+ _timer.addEventListener(TimerEvent.TIMER, onTimer);
+ }
+
+ /**
+ * Creates the children for this component
+ */
+ override protected function addChildren():void
+ {
+ _lite = new Shape();
+ addChild(_lite);
+
+ _label = new Label(this, 0, 0, _labelText);
+ draw();
+ }
+
+ /**
+ * Draw the light.
+ */
+ protected function drawLite():void
+ {
+ var colors:Array;
+ if(_lit)
+ {
+ colors = [0xffffff, _color];
+ }
+ else
+ {
+ colors = [0xffffff, 0];
+ }
+
+ _lite.graphics.clear();
+ var matrix:Matrix = new Matrix();
+ matrix.createGradientBox(10, 10, 0, -2.5, -2.5);
+ _lite.graphics.beginGradientFill(GradientType.RADIAL, colors, [1, 1], [0, 255], matrix);
+ _lite.graphics.drawCircle(5, 5, 5);
+ _lite.graphics.endFill();
+ }
+
+
+
+ ///////////////////////////////////
+ // event handler
+ ///////////////////////////////////
+
+ /**
+ * Internal timer handler.
+ * @param event The TimerEvent passed by the system.
+ */
+ protected function onTimer(event:TimerEvent):void
+ {
+ _lit = !_lit;
+ draw();
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ drawLite();
+
+ _label.text = _labelText;
+ _label.x = 12;
+ _label.y = (10 - _label.height) / 2;
+ _width = _label.width + 12;
+ _height = 10;
+ }
+
+ /**
+ * Causes the light to flash on and off at the specified interval (milliseconds). A value less than 1 stops the flashing.
+ */
+ public function flash(interval:int = 500):void
+ {
+ if(interval < 1)
+ {
+ _timer.stop();
+ isLit = false;
+ return;
+ }
+ _timer.delay = interval;
+ _timer.start();
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets or gets whether or not the light is lit.
+ */
+ public function set isLit(value:Boolean):void
+ {
+ _timer.stop();
+ _lit = value;
+ drawLite();
+ }
+ public function get isLit():Boolean
+ {
+ return _lit;
+ }
+
+ /**
+ * Sets / gets the color of this light (when lit).
+ */
+ public function set color(value:uint):void
+ {
+ _color = value;
+ draw();
+ }
+ public function get color():uint
+ {
+ return _color;
+ }
+
+ /**
+ * Returns whether or not the light is currently flashing.
+ */
+ public function get isFlashing():Boolean
+ {
+ return _timer.running;
+ }
+
+ /**
+ * Sets / gets the label text shown on this component.
+ */
+ public function set label(str:String):void
+ {
+ _labelText = str;
+ draw();
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/InputText.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/InputText.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/InputText.as
new file mode 100644
index 0000000..c6751f0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/InputText.as
@@ -0,0 +1,189 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.text.TextField;
+ import flash.text.TextFieldType;
+ import flash.text.TextFormat;
+
+ public class InputText extends Component
+ {
+ private var _back:Sprite;
+ private var _password:Boolean = false;
+ private var _text:String = "";
+ private var _tf:TextField;
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this InputText.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param text The string containing the initial text of this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (change in this case).
+ */
+ public function InputText(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, text:String = "", defaultHandler:Function = null)
+ {
+ _text = text;
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(Event.CHANGE, defaultHandler);
+ }
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ setSize(100, 16);
+ }
+
+ /**
+ * Creates and adds child display objects.
+ */
+ override protected function addChildren():void
+ {
+ _back = new Sprite();
+ _back.filters = [getShadow(2, true)];
+ addChild(_back);
+
+ _tf = new TextField();
+ _tf.embedFonts = true;
+ _tf.selectable = true;
+ _tf.type = TextFieldType.INPUT;
+ _tf.defaultTextFormat = new TextFormat("PF Ronda Seven", 8, Style.INPUT_TEXT);
+ addChild(_tf);
+ _tf.addEventListener(Event.CHANGE, onChange);
+
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _back.graphics.clear();
+ _back.graphics.beginFill(Style.BACKGROUND);
+ _back.graphics.drawRect(0, 0, _width, _height);
+ _back.graphics.endFill();
+
+ _tf.displayAsPassword = _password;
+
+ _tf.text = _text;
+ _tf.width = _width - 4;
+ if(_tf.text == "")
+ {
+ _tf.text = "X";
+ _tf.height = Math.min(_tf.textHeight + 4, _height);
+ _tf.text = "";
+ }
+ else
+ {
+ _tf.height = Math.min(_tf.textHeight + 4, _height);
+ }
+ _tf.x = 2;
+ _tf.y = Math.round(_height / 2 - _tf.height / 2);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Internal change handler.
+ * @param event The Event passed by the system.
+ */
+ protected function onChange(event:Event):void
+ {
+ _text = _tf.text;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the text shown in this InputText.
+ */
+ public function set text(t:String):void
+ {
+ _text = t;
+ invalidate();
+ }
+ public function get text():String
+ {
+ return _text;
+ }
+
+ /**
+ * Gets / sets the list of characters that are allowed in this TextInput.
+ */
+ public function set restrict(str:String):void
+ {
+ _tf.restrict = str;
+ }
+ public function get restrict():String
+ {
+ return _tf.restrict;
+ }
+
+ /**
+ * Gets / sets the maximum number of characters that can be shown in this InputText.
+ */
+ public function set maxChars(max:int):void
+ {
+ _tf.maxChars = max;
+ }
+ public function get maxChars():int
+ {
+ return _tf.maxChars;
+ }
+
+ /**
+ * Gets / sets whether or not this input text will show up as password (asterisks).
+ */
+ public function set password(b:Boolean):void
+ {
+ _password = b;
+ invalidate();
+ }
+ public function get password():Boolean
+ {
+ return _password;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Knob.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Knob.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Knob.as
new file mode 100644
index 0000000..78f5d92
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Knob.as
@@ -0,0 +1,332 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+ package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+
+ public class Knob extends Component
+ {
+ private var _knob:Sprite;
+ private var _label:Label;
+ private var _labelText:String = "";
+ private var _max:Number = 100;
+ private var _min:Number = 0;
+ private var _mouseRange:Number = 100;
+ private var _precision:int = 1;
+ private var _radius:Number = 20;
+ private var _startY:Number;
+ private var _value:Number = 0;
+ private var _valueLabel:Label;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Knob.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label String containing the label for this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (change in this case).
+ */
+ public function Knob(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, label:String = "", defaultHandler:Function = null)
+ {
+ _labelText = label;
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(Event.CHANGE, defaultHandler);
+ }
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ }
+
+ /**
+ * Creates the children for this component
+ */
+ override protected function addChildren():void
+ {
+ _knob = new Sprite();
+ _knob.buttonMode = true;
+ _knob.useHandCursor = true;
+ _knob.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
+ addChild(_knob);
+
+ _label = new Label();
+ _label.autoSize = true;
+ addChild(_label);
+
+ _valueLabel = new Label();
+ _valueLabel.autoSize = true;
+ addChild(_valueLabel);
+ }
+
+ /**
+ * Draw the knob at the specified radius.
+ * @param radius The radius with which said knob will be drawn.
+ */
+ protected function drawKnob():void
+ {
+ _knob.graphics.clear();
+ _knob.graphics.beginFill(Style.BACKGROUND);
+ _knob.graphics.drawCircle(0, 0, _radius);
+ _knob.graphics.endFill();
+
+ _knob.graphics.beginFill(Style.BUTTON_FACE);
+ _knob.graphics.drawCircle(0, 0, _radius - 2);
+ _knob.graphics.endFill();
+
+ _knob.graphics.beginFill(Style.BACKGROUND);
+ var s:Number = _radius * .1;
+ _knob.graphics.drawRect(_radius, -s, s*1.5, s * 2);
+ _knob.graphics.endFill();
+
+ _knob.x = _radius;
+ _knob.y = _radius + 20;
+ updateKnob();
+ }
+
+ /**
+ * Updates the rotation of the knob based on the value, then formats the value label.
+ */
+ protected function updateKnob():void
+ {
+ _knob.rotation = -225 + (_value - _min) / (_max - _min) * 270;
+ formatValueLabel();
+ }
+
+ /**
+ * Adjusts value to be within minimum and maximum.
+ */
+ protected function correctValue():void
+ {
+ if(_max > _min)
+ {
+ _value = Math.min(_value, _max);
+ _value = Math.max(_value, _min);
+ }
+ else
+ {
+ _value = Math.max(_value, _max);
+ _value = Math.min(_value, _min);
+ }
+ }
+
+ /**
+ * Formats the value of the knob to a string based on the current level of precision.
+ */
+ protected function formatValueLabel():void
+ {
+ var mult:Number = Math.pow(10, _precision);
+ var val:String = (Math.round(_value * mult) / mult).toString();
+ var parts:Array = val.split(".");
+ if(parts[1] == null)
+ {
+ if(_precision > 0)
+ {
+ val += "."
+ }
+ for(var i:uint = 0; i < _precision; i++)
+ {
+ val += "0";
+ }
+ }
+ else if(parts[1].length < _precision)
+ {
+ for(i = 0; i < _precision - parts[1].length; i++)
+ {
+ val += "0";
+ }
+ }
+ _valueLabel.text = val;
+ _valueLabel.draw();
+ _valueLabel.x = width / 2 - _valueLabel.width / 2;
+ }
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+
+ drawKnob();
+
+ _label.text = _labelText;
+ _label.draw();
+ _label.x = _radius - _label.width / 2;
+ _label.y = 0;
+
+ formatValueLabel();
+ _valueLabel.x = _radius - _valueLabel.width / 2;
+ _valueLabel.y = _radius * 2 + 20;
+
+ _width = _radius * 2;
+ _height = _radius * 2 + 40;
+ }
+
+ ///////////////////////////////////
+ // event handler
+ ///////////////////////////////////
+
+ /**
+ * Internal handler for when user clicks on the knob. Starts tracking up/down motion of the mouse.
+ */
+ protected function onMouseDown(event:MouseEvent):void
+ {
+ _startY = mouseY;
+ stage.addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
+ stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ }
+
+ /**
+ * Internal handler for mouse move event. Updates value based on how far mouse has moved up or down.
+ */
+ protected function onMouseMove(event:MouseEvent):void
+ {
+ var oldValue:Number = _value;
+ var diff:Number = _startY - mouseY;
+ var range:Number = _max - _min;
+ var percent:Number = range / _mouseRange;
+ _value += percent * diff;
+ correctValue();
+ if(_value != oldValue)
+ {
+ updateKnob();
+ dispatchEvent(new Event(Event.CHANGE));
+ }
+ _startY = mouseY;
+ }
+
+ /**
+ * Internal handler for mouse up event. Stops mouse tracking.
+ */
+ protected function onMouseUp(event:MouseEvent):void
+ {
+ stage.removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
+ stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ }
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the maximum value of this knob.
+ */
+ public function set maximum(m:Number):void
+ {
+ _max = m;
+ correctValue();
+ updateKnob();
+ }
+ public function get maximum():Number
+ {
+ return _max;
+ }
+
+ /**
+ * Gets / sets the minimum value of this knob.
+ */
+ public function set minimum(m:Number):void
+ {
+ _min = m;
+ correctValue();
+ updateKnob();
+ }
+ public function get minimum():Number
+ {
+ return _min;
+ }
+
+ /**
+ * Sets / gets the current value of this knob.
+ */
+ public function set value(v:Number):void
+ {
+ _value = v;
+ correctValue();
+ updateKnob();
+ }
+ public function get value():Number
+ {
+ return _value;
+ }
+
+ /**
+ * Sets / gets the number of pixels the mouse needs to move to make the value of the knob go from min to max.
+ */
+ public function set mouseRange(value:Number):void
+ {
+ _mouseRange = value;
+ }
+ public function get mouseRange():Number
+ {
+ return _mouseRange;
+ }
+
+ /**
+ * Gets / sets the number of decimals to format the value label.
+ */
+ public function set labelPrecision(decimals:int):void
+ {
+ _precision = decimals;
+ }
+ public function get labelPrecision():int
+ {
+ return _precision;
+ }
+
+ /**
+ * Gets / sets whether or not to show the value label.
+ */
+ public function set showValue(value:Boolean):void
+ {
+ _valueLabel.visible = value;
+ }
+ public function get showValue():Boolean
+ {
+ return _valueLabel.visible;
+ }
+
+ /**
+ * Gets / sets the text shown in this component's label.
+ */
+ public function set label(str:String):void
+ {
+ _labelText = str;
+ draw();
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Label.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Label.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Label.as
new file mode 100644
index 0000000..7ddb085
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Label.as
@@ -0,0 +1,131 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.text.TextField;
+ import flash.text.TextFieldAutoSize;
+ import flash.text.TextFormat;
+
+ public class Label extends Component
+ {
+ private var _autoSize:Boolean = true;
+ private var _text:String = "";
+ private var _tf:TextField;
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Label.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param text The string to use as the initial text in this component.
+ */
+ public function Label(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, text:String = "")
+ {
+ _text = text;
+ super(parent, xpos, ypos);
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ mouseEnabled = false;
+ mouseChildren = false;
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _height = 18;
+ _tf = new TextField();
+ _tf.height = _height;
+ _tf.embedFonts = true;
+ _tf.selectable = false;
+ _tf.mouseEnabled = false;
+ _tf.defaultTextFormat = new TextFormat("PF Ronda Seven", 8, Style.LABEL_TEXT);
+ _tf.text = _text;
+ addChild(_tf);
+ draw();
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _tf.text = _text;
+ if(_autoSize)
+ {
+ _tf.autoSize = TextFieldAutoSize.LEFT;
+ _width = _tf.width;
+ }
+ else
+ {
+ _tf.autoSize = TextFieldAutoSize.NONE;
+ _tf.width = _width;
+ }
+ _height = _tf.height = 18;
+ }
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the text of this Label.
+ */
+ public function set text(t:String):void
+ {
+ _text = t;
+ invalidate();
+ }
+ public function get text():String
+ {
+ return _text;
+ }
+
+ /**
+ * Gets / sets whether or not this Label will autosize.
+ */
+ public function set autoSize(b:Boolean):void
+ {
+ _autoSize = b;
+ }
+ public function get autoSize():Boolean
+ {
+ return _autoSize;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Meter.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Meter.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Meter.as
new file mode 100644
index 0000000..4e6f3c6
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Meter.as
@@ -0,0 +1,326 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.filters.DropShadowFilter;
+
+ public class Meter extends Component
+ {
+ private var _damp:Number = .8;
+ private var _dial:Sprite;
+ private var _label:Label;
+ private var _labelText:String;
+ private var _maximum:Number = 1.0;
+ private var _maxLabel:Label;
+ private var _minimum:Number = 0.0;
+ private var _minLabel:Label;
+ private var _needle:Sprite;
+ private var _needleMask:Sprite;
+ private var _showValues:Boolean = true;
+ private var _targetRotation:Number = 0;
+ private var _value:Number = 0.0;
+ private var _velocity:Number = 0;
+
+
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Meter.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param text The string to use as the initial text in this component.
+ */
+ public function Meter(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, text:String = "")
+ {
+ _labelText = text;
+ super(parent, xpos, ypos);
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ _width = 200;
+ _height = 100;
+ }
+
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _dial = new Sprite();
+ addChild(_dial);
+
+ _needle = new Sprite();
+ _needle.rotation = -50;
+ _dial.addChild(_needle);
+
+ _needleMask = new Sprite();
+ addChild(_needleMask);
+ _dial.mask = _needleMask;
+
+ _minLabel = new Label(this);
+ _minLabel.text = _minimum.toString();
+
+ _maxLabel = new Label(this);
+ _maxLabel.autoSize = true;
+ _maxLabel.text = _maximum.toString();
+
+ _label = new Label(this);
+ _label.text = _labelText;
+ }
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ var startAngle:Number = -140 * Math.PI / 180;
+ var endAngle:Number = -40 * Math.PI / 180;
+
+ drawBackground();
+ drawDial(startAngle, endAngle);
+ drawTicks(startAngle, endAngle);
+ drawNeedle();
+
+ _minLabel.move(10, _height - _minLabel.height - 4);
+ _maxLabel.move(_width - _maxLabel.width - 10, _height - _maxLabel.height - 4);
+ _label.move((_width - _label.width) / 2, _height * .5);
+ update();
+ }
+
+ /**
+ * Sets the size of the component. Adjusts height to be 1/2 width.
+ * @param w The width of the component.
+ * @param h The height of the component.
+ */
+ override public function setSize(w:Number, h:Number):void
+ {
+ super.setSize(w, w / 2);
+ }
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the background of the component.
+ */
+ protected function drawBackground():void
+ {
+ graphics.clear();
+ graphics.beginFill(Style.BACKGROUND);
+ graphics.drawRect(0, 0, _width, _height);
+ graphics.endFill();
+
+ graphics.beginFill(Style.PANEL);
+ graphics.drawRect(1, 1, _width - 2, _height - 2);
+ graphics.endFill();
+ }
+
+ /**
+ * Draws the dial.
+ */
+ protected function drawDial(startAngle:Number, endAngle:Number):void
+ {
+ _dial.x = _width / 2;
+ _dial.y = _height * 1.25;
+ _dial.graphics.clear();
+ _dial.graphics.lineStyle(0, Style.BACKGROUND);
+ _dial.graphics.beginFill(Style.BUTTON_FACE);
+ var r1:Number = _height * 1.05;
+ var r2:Number = _height * 0.96;
+
+ _dial.graphics.moveTo(Math.cos(startAngle) * r1, Math.sin(startAngle) * r1);
+ for(var i:Number = startAngle; i < endAngle; i += .1)
+ {
+ _dial.graphics.lineTo(Math.cos(i) * r1, Math.sin(i) * r1);
+ }
+ _dial.graphics.lineTo(Math.cos(endAngle) * r1, Math.sin(endAngle) * r1);
+
+ _dial.graphics.lineTo(Math.cos(endAngle) * r2, Math.sin(endAngle) * r2);
+ for(i = endAngle; i > startAngle; i -= .1)
+ {
+ _dial.graphics.lineTo(Math.cos(i) * r2, Math.sin(i) * r2);
+ }
+ _dial.graphics.lineTo(Math.cos(startAngle) * r2, Math.sin(startAngle) * r2);
+ _dial.graphics.lineTo(Math.cos(startAngle) * r1, Math.sin(startAngle) * r1);
+
+ }
+
+ /**
+ * Draws the tick marks on the dial.
+ */
+ protected function drawTicks(startAngle:Number, endAngle:Number):void
+ {
+ var r1:Number = _height * 1.05;
+ var r2:Number = _height * 0.96;
+ var r3:Number = _height * 1.13;
+ var tick:Number = 0;
+ for(var i:int = 0; i < 9; i++)
+ {
+ var angle:Number = startAngle + i * (endAngle - startAngle) / 8;
+ _dial.graphics.moveTo(Math.cos(angle) * r2, Math.sin(angle) * r2);
+ if(tick++ % 2 == 0)
+ {
+ _dial.graphics.lineTo(Math.cos(angle) * r3, Math.sin(angle) * r3);
+ }
+ else
+ {
+ _dial.graphics.lineTo(Math.cos(angle) * r1, Math.sin(angle) * r1);
+ }
+ }
+ }
+
+ /**
+ * Draws the needle.
+ */
+ protected function drawNeedle():void
+ {
+ _needle.graphics.clear();
+ _needle.graphics.beginFill(0xff0000);
+ _needle.graphics.drawRect(-0.5, -_height * 1.10, 1, _height * 1.10);
+ _needle.filters = [new DropShadowFilter(4, 0, 0, 1, 3, 3, .2)];
+
+ _needleMask.graphics.clear();
+ _needleMask.graphics.beginFill(0);
+ _needleMask.graphics.drawRect(0, 0, _width, _height);
+ _needleMask.graphics.endFill();
+ }
+
+ /**
+ * Updates the target rotation of the needle and starts an enterframe handler to spring it to that point.
+ */
+ protected function update():void
+ {
+ _value = Math.max(_value, _minimum);
+ _value = Math.min(_value, _maximum);
+ _targetRotation = -50 + _value / (_maximum - _minimum) * 100;
+ addEventListener(Event.ENTER_FRAME, onEnterFrame);
+ }
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Handles the enterFrame event to spring the needle to the target rotation.
+ */
+ protected function onEnterFrame(event:Event):void
+ {
+ var dist:Number = _targetRotation - _needle.rotation;
+ _velocity += dist * .05;
+ _velocity *= _damp;
+ if(Math.abs(_velocity) < .1 && Math.abs(dist) < .1)
+ {
+ _needle.rotation = _targetRotation;
+ removeEventListener(Event.ENTER_FRAME, onEnterFrame);
+ }
+ else
+ {
+ _needle.rotation += _velocity;
+ }
+ }
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the maximum value for the meter.
+ */
+ public function set maximum(value:Number):void
+ {
+ _maximum = value;
+ _maxLabel.text = _maximum.toString();
+ update();
+ }
+ public function get maximum():Number
+ {
+ return _maximum;
+ }
+
+ /**
+ * Gets / sets the minimum value for the meter.
+ */
+ public function set minimum(value:Number):void
+ {
+ _minimum = value;
+ _minLabel.text = _minimum.toString();
+ update();
+ }
+ public function get minimum():Number
+ {
+ return _minimum;
+ }
+
+ /**
+ * Gets / sets the current value for the meter.
+ */
+ public function set value(val:Number):void
+ {
+ _value = val;
+ update();
+ }
+ public function get value():Number
+ {
+ return _value;
+ }
+
+ /**
+ * Gets / sets the label shown on the meter.
+ */
+ public function set label(value:String):void
+ {
+ _labelText = value;
+ _label.text = _labelText;
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+
+ /**
+ * Gets / sets whether or not value labels will be shown for max and min values.
+ */
+ public function set showValues(value:Boolean):void
+ {
+ _showValues = value;
+ _minLabel.visible = _showValues;
+ _maxLabel.visible = _showValues;
+ }
+ public function get showValues():Boolean
+ {
+ return _showValues;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Panel.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Panel.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Panel.as
new file mode 100644
index 0000000..60d83fb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Panel.as
@@ -0,0 +1,153 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Shape;
+ import flash.display.Sprite;
+
+ public class Panel extends Component
+ {
+ private var _mask:Sprite;
+ private var _background:Shape;
+ private var _color:int = -1;
+ private var _shadow:Boolean = true;
+
+
+ /**
+ * Container for content added to this panel. This is masked, so best to add children to content, rather than directly to the panel.
+ */
+ public var content:Sprite;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Panel.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ */
+ public function Panel(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0)
+ {
+ super(parent, xpos, ypos);
+ }
+
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ setSize(100, 100);
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _background = new Shape();
+ addChild(_background);
+
+ _mask = new Sprite();
+ _mask.mouseEnabled = false;
+ addChild(_mask);
+
+ content = new Sprite();
+ addChild(content);
+ content.mask = _mask;
+
+ filters = [getShadow(2, true)];
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _background.graphics.clear();
+ if(_color == -1)
+ {
+ _background.graphics.beginFill(Style.PANEL);
+ }
+ else
+ {
+ _background.graphics.beginFill(_color);
+ }
+ _background.graphics.drawRect(0, 0, _width, _height);
+ _background.graphics.endFill();
+
+ _mask.graphics.clear();
+ _mask.graphics.beginFill(0xff0000);
+ _mask.graphics.drawRect(0, 0, _width, _height);
+ _mask.graphics.endFill();
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets whether or not this Panel will have an inner shadow.
+ */
+ public function set shadow(b:Boolean):void
+ {
+ _shadow = b;
+ if(_shadow)
+ {
+ filters = [getShadow(2, true)];
+ }
+ else
+ {
+ filters = [];
+ }
+ }
+ public function get shadow():Boolean
+ {
+ return _shadow;
+ }
+
+ /**
+ * Gets / sets the backgrond color of this panel.
+ */
+ public function set color(c:int):void
+ {
+ _color = c;
+ invalidate();
+ }
+ public function get color():int
+ {
+ return _color;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ProgressBar.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ProgressBar.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ProgressBar.as
new file mode 100644
index 0000000..f381dda
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/ProgressBar.as
@@ -0,0 +1,139 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+
+ public class ProgressBar extends Component
+ {
+ private var _back:Sprite;
+ private var _bar:Sprite;
+ private var _value:Number = 0;
+ private var _max:Number = 1;
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this ProgressBar.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ */
+ public function ProgressBar(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0)
+ {
+ super(parent, xpos, ypos);
+ }
+
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ setSize(100, 10);
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _back = new Sprite();
+ _back.filters = [getShadow(2, true)];
+ addChild(_back);
+
+ _bar = new Sprite();
+ _bar.x = 1;
+ _bar.y = 1;
+ _bar.filters = [getShadow(1)];
+ addChild(_bar);
+ }
+
+ /**
+ * Updates the size of the progress bar based on the current value.
+ */
+ protected function update():void
+ {
+ _bar.scaleX = _value / _max;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _back.graphics.clear();
+ _back.graphics.beginFill(Style.BACKGROUND);
+ _back.graphics.drawRect(0, 0, _width, _height);
+ _back.graphics.endFill();
+
+ _bar.graphics.clear();
+ _bar.graphics.beginFill(Style.PROGRESS_BAR);
+ _bar.graphics.drawRect(0, 0, _width - 2, _height - 2);
+ _bar.scaleX = 0;
+ _bar.graphics.endFill();
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the maximum value of the ProgressBar.
+ */
+ public function set maximum(m:Number):void
+ {
+ _max = m;
+ _value = Math.min(_value, _max);
+ update();
+ }
+ public function get maximum():Number
+ {
+ return _max;
+ }
+
+ /**
+ * Gets / sets the current value of the ProgressBar.
+ */
+ public function set value(v:Number):void
+ {
+ _value = Math.min(v, _max);
+ update();
+ }
+ public function get value():Number
+ {
+ return _value;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/PushButton.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/PushButton.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/PushButton.as
new file mode 100644
index 0000000..9f8e663
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/PushButton.as
@@ -0,0 +1,230 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.MouseEvent;
+
+ public class PushButton extends Component
+ {
+ private var _back:Sprite;
+ private var _face:Sprite;
+ private var _label:Label;
+ private var _labelText:String = "";
+ private var _over:Boolean = false;
+ private var _down:Boolean = false;
+ private var _selected:Boolean = false;
+ private var _toggle:Boolean = false;
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this PushButton.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label The string to use for the initial label of this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (click in this case).
+ */
+ public function PushButton(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, label:String = "", defaultHandler:Function = null)
+ {
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(MouseEvent.CLICK, defaultHandler);
+ }
+ this.label = label;
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ buttonMode = true;
+ useHandCursor = true;
+ setSize(100, 20);
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _back = new Sprite();
+ _back.filters = [getShadow(2, true)];
+ _back.mouseEnabled = false;
+ addChild(_back);
+
+ _face = new Sprite();
+ _face.mouseEnabled = false;
+ _face.filters = [getShadow(1)];
+ _face.x = 1;
+ _face.y = 1;
+ addChild(_face);
+
+ _label = new Label();
+ addChild(_label);
+
+ addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
+ addEventListener(MouseEvent.ROLL_OVER, onMouseOver);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _back.graphics.clear();
+ _back.graphics.beginFill(Style.BACKGROUND);
+ _back.graphics.drawRect(0, 0, _width, _height);
+ _back.graphics.endFill();
+
+ _face.graphics.clear();
+ _face.graphics.beginFill(Style.BUTTON_FACE);
+ _face.graphics.drawRect(0, 0, _width - 2, _height - 2);
+ _face.graphics.endFill();
+
+ _label.autoSize = true;
+ _label.text = _labelText;
+ if(_label.width > _width - 4)
+ {
+ _label.autoSize = false;
+ _label.width = _width - 4;
+ }
+ else
+ {
+ _label.autoSize = true;
+ }
+ _label.draw();
+ _label.move(_width / 2 - _label.width / 2, _height / 2 - _label.height / 2);
+
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Internal mouseOver handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onMouseOver(event:MouseEvent):void
+ {
+ _over = true;
+ addEventListener(MouseEvent.ROLL_OUT, onMouseOut);
+ }
+
+ /**
+ * Internal mouseOut handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onMouseOut(event:MouseEvent):void
+ {
+ _over = false;
+ if(!_down)
+ {
+ _face.filters = [getShadow(1)];
+ }
+ }
+
+ /**
+ * Internal mouseOut handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onMouseDown(event:MouseEvent):void
+ {
+ _down = true;
+ _face.filters = [getShadow(1, true)];
+ stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ }
+
+ /**
+ * Internal mouseUp handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onMouseUp(event:MouseEvent):void
+ {
+ if(_toggle && _over)
+ {
+ _selected = !_selected;
+ }
+ _down = _selected;
+ _face.filters = [getShadow(1, _selected)];
+ stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets / gets the label text shown on this Pushbutton.
+ */
+ public function set label(str:String):void
+ {
+ _labelText = str;
+ draw();
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+
+ public function set selected(value:Boolean):void
+ {
+ if(!_toggle)
+ {
+ value = false;
+ }
+
+ _selected = value;
+ _down = _selected;
+ _face.filters = [getShadow(1, _selected)];
+ }
+ public function get selected():Boolean
+ {
+ return _selected;
+ }
+
+ public function set toggle(value:Boolean):void
+ {
+ _toggle = value;
+ }
+ public function get toggle():Boolean
+ {
+ return _toggle;
+ }
+
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RadioButton.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RadioButton.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RadioButton.as
new file mode 100644
index 0000000..dba0e28
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RadioButton.as
@@ -0,0 +1,201 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.MouseEvent;
+
+ public class RadioButton extends Component
+ {
+ private var _back:Sprite;
+ private var _button:Sprite;
+ private var _selected:Boolean = false;
+ private var _label:Label;
+ private var _labelText:String = "";
+
+ private static var buttons:Array;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this RadioButton.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label The string to use for the initial label of this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (click in this case).
+ */
+ public function RadioButton(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, label:String = "", checked:Boolean = false, defaultHandler:Function = null)
+ {
+ RadioButton.addButton(this);
+ _selected = checked;
+ _labelText = label;
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(MouseEvent.CLICK, defaultHandler);
+ }
+ }
+
+ /**
+ * Static method to add the newly created RadioButton to the list of buttons in the group.
+ * @param rb The RadioButton to add.
+ */
+ private static function addButton(rb:RadioButton):void
+ {
+ if(buttons == null)
+ {
+ buttons = new Array();
+ }
+ buttons.push(rb);
+ }
+
+ /**
+ * Unselects all RadioButtons in the group, except the one passed.
+ * This could use some rethinking or better naming.
+ * @param rb The RadioButton to remain selected.
+ */
+ private static function clear(rb:RadioButton):void
+ {
+ for(var i:uint = 0; i < buttons.length; i++)
+ {
+ if(buttons[i] != rb)
+ {
+ buttons[i].selected = false;
+ }
+ }
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+
+ buttonMode = true;
+ useHandCursor = true;
+
+ addEventListener(MouseEvent.CLICK, onClick, false, 1);
+ selected = _selected;
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _back = new Sprite();
+ _back.filters = [getShadow(2, true)];
+ addChild(_back);
+
+ _button = new Sprite();
+ _button.filters = [getShadow(1)];
+ _button.visible = false;
+ addChild(_button);
+
+ _label = new Label(this, 0, 0, _labelText);
+ draw();
+
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _back.graphics.clear();
+ _back.graphics.beginFill(Style.BACKGROUND);
+ _back.graphics.drawCircle(5, 5, 5);
+ _back.graphics.endFill();
+
+ _button.graphics.clear();
+ _button.graphics.beginFill(Style.BUTTON_FACE);
+ _button.graphics.drawCircle(5, 5, 3);
+
+ _label.x = 12;
+ _label.y = (10 - _label.height) / 2;
+ _label.text = _labelText;
+ _label.draw();
+ _width = _label.width + 12;
+ _height = 10;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Internal click handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onClick(event:MouseEvent):void
+ {
+ selected = true;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets / gets the selected state of this CheckBox.
+ */
+ public function set selected(s:Boolean):void
+ {
+ _selected = s;
+ _button.visible = _selected;
+ if(_selected)
+ {
+ RadioButton.clear(this);
+ }
+ }
+ public function get selected():Boolean
+ {
+ return _selected;
+ }
+
+ /**
+ * Sets / gets the label text shown on this CheckBox.
+ */
+ public function set label(str:String):void
+ {
+ _labelText = str;
+ invalidate();
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RotarySelector.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RotarySelector.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RotarySelector.as
new file mode 100644
index 0000000..8c735a3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/RotarySelector.as
@@ -0,0 +1,286 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+
+ public class RotarySelector extends Component
+ {
+ public static const ALPHABETIC:String = "alphabetic";
+ public static const NUMERIC:String = "numeric";
+ public static const NONE:String = "none";
+ public static const ROMAN:String = "roman";
+
+
+ private var _label:Label;
+ private var _labelText:String = "";
+ private var _knob:Sprite;
+ private var _numChoices:int = 2;
+ private var _choice:Number = 0;
+ private var _labels:Sprite;
+ private var _labelMode:String = ALPHABETIC;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this CheckBox.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label String containing the label for this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (change in this case).
+ */
+ public function RotarySelector(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, label:String = "", defaultHandler:Function = null)
+ {
+ _labelText = label;
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(Event.CHANGE, defaultHandler);
+ }
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ setSize(60, 60);
+ }
+
+ /**
+ * Creates the children for this component
+ */
+ override protected function addChildren():void
+ {
+ _knob = new Sprite();
+ _knob.buttonMode = true;
+ _knob.useHandCursor = true;
+ addChild(_knob);
+
+ _label = new Label();
+ _label.autoSize = true;
+ addChild(_label);
+
+ _labels = new Sprite();
+ addChild(_labels);
+
+ _knob.addEventListener(MouseEvent.CLICK, onClick);
+ }
+
+ /**
+ * Decrements the index of the current choice.
+ */
+ protected function decrement():void
+ {
+ if(_choice > 0)
+ {
+ _choice--;
+ draw();
+ dispatchEvent(new Event(Event.CHANGE));
+ }
+ }
+
+ /**
+ * Increments the index of the current choice.
+ */
+ protected function increment():void
+ {
+ if(_choice < _numChoices - 1)
+ {
+ _choice++;
+ draw();
+ dispatchEvent(new Event(Event.CHANGE));
+ }
+ }
+
+ /**
+ * Removes old labels.
+ */
+ protected function resetLabels():void
+ {
+ while(_labels.numChildren > 0)
+ {
+ _labels.removeChildAt(0);
+ }
+ _labels.x = _width / 2 - 5;
+ _labels.y = _height / 2 - 10;
+ }
+
+ /**
+ * Draw the knob at the specified radius.
+ * @param radius The radius with which said knob will be drawn.
+ */
+ protected function drawKnob(radius:Number):void
+ {
+ _knob.graphics.clear();
+ _knob.graphics.beginFill(Style.BACKGROUND);
+ _knob.graphics.drawCircle(0, 0, radius);
+ _knob.graphics.endFill();
+
+ _knob.graphics.beginFill(Style.BUTTON_FACE);
+ _knob.graphics.drawCircle(0, 0, radius - 2);
+
+ _knob.x = _width / 2;
+ _knob.y = _height / 2;
+ }
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+
+ var radius:Number = Math.min(_width, _height) / 2;
+ drawKnob(radius);
+ resetLabels();
+
+ var arc:Number = Math.PI * 1.5 / _numChoices; // the angle between each choice
+ var start:Number = - Math.PI / 2 - arc * (_numChoices - 1) / 2; // the starting angle for choice 0
+
+ graphics.clear();
+ graphics.lineStyle(4, Style.BACKGROUND, .5);
+ for(var i:int = 0; i < _numChoices; i++)
+ {
+ var angle:Number = start + arc * i;
+ var sin:Number = Math.sin(angle);
+ var cos:Number = Math.cos(angle);
+
+ graphics.moveTo(_knob.x, _knob.y);
+ graphics.lineTo(_knob.x + cos * (radius + 2), _knob.y + sin * (radius + 2));
+
+ var lab:Label = new Label(_labels, cos * (radius + 10), sin * (radius + 10));
+ lab.mouseEnabled = true;
+ lab.buttonMode = true;
+ lab.useHandCursor = true;
+ lab.addEventListener(MouseEvent.CLICK, onLabelClick);
+ if(_labelMode == ALPHABETIC)
+ {
+ lab.text = String.fromCharCode(65 + i);
+ }
+ else if(_labelMode == NUMERIC)
+ {
+ lab.text = (i + 1).toString();
+ }
+ else if(_labelMode == ROMAN)
+ {
+ var chars:Array = ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X"];
+ lab.text = chars[i];
+ }
+ if(i != _choice)
+ {
+ lab.alpha = 0.5;
+ }
+ }
+
+ angle = start + arc * _choice;
+ graphics.lineStyle(4, Style.LABEL_TEXT);
+ graphics.moveTo(_knob.x, _knob.y);
+ graphics.lineTo(_knob.x + Math.cos(angle) * (radius + 2), _knob.y + Math.sin(angle) * (radius + 2));
+
+
+ _label.text = _labelText;
+ _label.draw();
+ _label.x = _width / 2 - _label.width / 2;
+ _label.y = _height + 2;
+ }
+
+
+
+ ///////////////////////////////////
+ // event handler
+ ///////////////////////////////////
+
+ /**
+ * Internal click handler.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onClick(event:MouseEvent):void
+ {
+ if(mouseX < _width / 2)
+ {
+ decrement();
+ }
+ else
+ {
+ increment();
+ }
+ }
+
+ protected function onLabelClick(event:Event):void
+ {
+ var lab:Label = event.target as Label;
+ choice = _labels.getChildIndex(lab);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the number of available choices (maximum of 10).
+ */
+ public function set numChoices(value:uint):void
+ {
+ _numChoices = Math.min(value, 10);
+ draw();
+ }
+ public function get numChoices():uint
+ {
+ return _numChoices;
+ }
+
+ /**
+ * Gets / sets the current choice, keeping it in range of 0 to numChoices - 1.
+ */
+ public function set choice(value:uint):void
+ {
+ _choice = Math.max(0, Math.min(_numChoices - 1, value));
+ draw();
+ dispatchEvent(new Event(Event.CHANGE));
+ }
+ public function get choice():uint
+ {
+ return _choice;
+ }
+
+ /**
+ * Specifies what will be used as labels for each choice. Valid values are "alphabetic", "numeric", and "none".
+ */
+ public function set labelMode(value:String):void
+ {
+ _labelMode = value;
+ draw();
+ }
+ public function get labelMode():String
+ {
+ return _labelMode;
+ }
+ }
+}
\ No newline at end of file
[02/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/module/module.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/module/module.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/module/module.mxml
new file mode 100644
index 0000000..b6f953f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/src/main/flex/module/module.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/pom.xml
new file mode 100644
index 0000000..ccde016
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/pom.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-moduleA-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swc</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/src/main/flex/AClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/src/main/flex/AClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/src/main/flex/AClass.as
new file mode 100644
index 0000000..0ff924a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleA/src/main/flex/AClass.as
@@ -0,0 +1,31 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+ import flexunit.framework.TestCase;
+
+ /**
+ * This is a well documented AS3 class =p
+ */
+ public class AClass {
+
+ public var tc:TestCase;
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/pom.xml
new file mode 100644
index 0000000..ff4dd46
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/pom.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-moduleB-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swc</packaging>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/src/main/flex/BClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/src/main/flex/BClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/src/main/flex/BClass.as
new file mode 100644
index 0000000..fe64559
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/moduleB/src/main/flex/BClass.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+
+ /**
+ * This is a well documented AS3 class =p
+ */
+ public class BClass {
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/pom.xml
new file mode 100644
index 0000000..b6dc294
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.aggregatedAsdoc/pom.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>asdoc</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <modules>
+ <module>moduleA</module>
+ <module>moduleB</module>
+ </modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/pom.xml
new file mode 100644
index 0000000..04dc840
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/pom.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-moduleA-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swc</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/src/main/flex/AClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/src/main/flex/AClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/src/main/flex/AClass.as
new file mode 100644
index 0000000..0ff924a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleA/src/main/flex/AClass.as
@@ -0,0 +1,31 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+ import flexunit.framework.TestCase;
+
+ /**
+ * This is a well documented AS3 class =p
+ */
+ public class AClass {
+
+ public var tc:TestCase;
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/pom.xml
new file mode 100644
index 0000000..9bbf47d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/pom.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-moduleB-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swc</packaging>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/src/main/flex/BClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/src/main/flex/BClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/src/main/flex/BClass.as
new file mode 100644
index 0000000..fe64559
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/moduleB/src/main/flex/BClass.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+
+ /**
+ * This is a well documented AS3 class =p
+ */
+ public class BClass {
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/pom.xml
new file mode 100644
index 0000000..5373b6f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos230Test.regularAsdoc/pom.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-230-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>asdoc</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <modules>
+ <module>moduleA</module>
+ <module>moduleB</module>
+ </modules>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/pom.xml
new file mode 100644
index 0000000..a2ca50b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexmojos-321</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/main/flex/main.mxml
new file mode 100644
index 0000000..c2aa779
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/main/flex/main.mxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ layout="absolute">
+
+ <mx:Script>
+ <![CDATA[
+
+ ]]>
+ </mx:Script>
+
+ <mx:Label text="Hello World"/>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..fac90b8
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos321Test.multiple/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,35 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package
+{
+ import org.flexunit.Assert;
+
+ public class AnnotatedTest
+ {
+
+ [Test]
+ public function dummyTest():void
+ {
+ }
+
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/pom.xml
new file mode 100644
index 0000000..2432ace
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/pom.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexmojos-334-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>FlexMaven/UntestedClass.as</sourceFile>
+ <coverage>true</coverage>
+ <coverageReportFormat>
+ <format>xml</format>
+ </coverageReportFormat>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/App.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/App.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/App.as
new file mode 100644
index 0000000..b70b5fb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/App.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package FlexMaven
+{
+
+ public class App
+ {
+
+ include "sampleInclude.as";
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/UntestedClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/UntestedClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/UntestedClass.as
new file mode 100644
index 0000000..ca8cf79
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/UntestedClass.as
@@ -0,0 +1,25 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package FlexMaven
+{
+
+ public class UntestedClass
+ {
+ private var app:App;
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/sampleInclude.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/sampleInclude.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/sampleInclude.as
new file mode 100644
index 0000000..7707a09
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/sampleInclude.as
@@ -0,0 +1,35 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+private static var bob:String="bob";
+
+public static function greeting(name:String):String
+{
+ if (name == "IAmAnIdiot")
+ {
+ return "NoYouAreNot" + bob;
+ }
+ else if (name == "alkdjfakldsfj")
+ {
+ return "adjfaklsdfjasklfj";
+ }
+ else if (name == "akldjfakldsfjasdklfjc,vnz")
+ {
+ return "akdfjla";
+ }
+ return "Hello, " + name;
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/unusedInclude.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/unusedInclude.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/unusedInclude.as
new file mode 100644
index 0000000..a05edaf
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/main/flex/FlexMaven/unusedInclude.as
@@ -0,0 +1,18 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+public static var used:Boolean=false;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/test/flex/FlexMaven/TestApp.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/test/flex/FlexMaven/TestApp.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/test/flex/FlexMaven/TestApp.as
new file mode 100644
index 0000000..389c591
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.disabledScanner/src/test/flex/FlexMaven/TestApp.as
@@ -0,0 +1,74 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package FlexMaven
+{
+
+ import flexunit.framework.TestCase;
+
+ public class TestApp extends TestCase
+ {
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting():void
+ {
+ var name:String="Buck Rogers";
+ var expectedGreeting:String="Hello, Buck Rogers";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting2():void
+ {
+ var name:String="IAmAnIdiot";
+ var expectedGreeting:String="NoYouAreNotbob";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting3():void
+ {
+ var name:String="alkdjfakldsfj";
+ var expectedGreeting:String="adjfaklsdfjasklfj";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting4():void
+ {
+ var name:String="akldjfakldsfjasdklfjc,vnz";
+ var expectedGreeting:String="akdfjla";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/pom.xml
new file mode 100644
index 0000000..78a5a4f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/pom.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexmojos-334-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>FlexMaven/UntestedClass.as</sourceFile>
+ <coverage>true</coverage>
+ <coverageReportFormat>
+ <format>xml</format>
+ </coverageReportFormat>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/App.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/App.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/App.as
new file mode 100644
index 0000000..b70b5fb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/App.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package FlexMaven
+{
+
+ public class App
+ {
+
+ include "sampleInclude.as";
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/UntestedClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/UntestedClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/UntestedClass.as
new file mode 100644
index 0000000..ca8cf79
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/UntestedClass.as
@@ -0,0 +1,25 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package FlexMaven
+{
+
+ public class UntestedClass
+ {
+ private var app:App;
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/sampleInclude.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/sampleInclude.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/sampleInclude.as
new file mode 100644
index 0000000..7707a09
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/sampleInclude.as
@@ -0,0 +1,35 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+private static var bob:String="bob";
+
+public static function greeting(name:String):String
+{
+ if (name == "IAmAnIdiot")
+ {
+ return "NoYouAreNot" + bob;
+ }
+ else if (name == "alkdjfakldsfj")
+ {
+ return "adjfaklsdfjasklfj";
+ }
+ else if (name == "akldjfakldsfjasdklfjc,vnz")
+ {
+ return "akdfjla";
+ }
+ return "Hello, " + name;
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/unusedInclude.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/unusedInclude.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/unusedInclude.as
new file mode 100644
index 0000000..a05edaf
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/main/flex/FlexMaven/unusedInclude.as
@@ -0,0 +1,18 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+public static var used:Boolean=false;
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/test/flex/FlexMaven/TestApp.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/test/flex/FlexMaven/TestApp.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/test/flex/FlexMaven/TestApp.as
new file mode 100644
index 0000000..389c591
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos334Test.linkReportScanner/src/test/flex/FlexMaven/TestApp.as
@@ -0,0 +1,74 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package FlexMaven
+{
+
+ import flexunit.framework.TestCase;
+
+ public class TestApp extends TestCase
+ {
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting():void
+ {
+ var name:String="Buck Rogers";
+ var expectedGreeting:String="Hello, Buck Rogers";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting2():void
+ {
+ var name:String="IAmAnIdiot";
+ var expectedGreeting:String="NoYouAreNotbob";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting3():void
+ {
+ var name:String="alkdjfakldsfj";
+ var expectedGreeting:String="adjfaklsdfjasklfj";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+
+ /**
+ * Tests our greeting() method
+ */
+ public function testGreeting4():void
+ {
+ var name:String="akldjfakldsfjasdklfjc,vnz";
+ var expectedGreeting:String="akdfjla";
+
+ var result:String=App.greeting(name);
+ assertEquals("Greeting is incorrect", expectedGreeting, result);
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/pom.xml
new file mode 100644
index 0000000..cc92531
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexmojos-350</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/main/flex/main.mxml
new file mode 100644
index 0000000..c2aa779
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/main/flex/main.mxml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
+ layout="absolute">
+
+ <mx:Script>
+ <![CDATA[
+
+ ]]>
+ </mx:Script>
+
+ <mx:Label text="Hello World"/>
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..fac90b8
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos350Test.orgFlexunit/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,35 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package
+{
+ import org.flexunit.Assert;
+
+ public class AnnotatedTest
+ {
+
+ [Test]
+ public function dummyTest():void
+ {
+ }
+
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/pom.xml
new file mode 100644
index 0000000..9f496ce
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/pom.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexmojos-872</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <packaging>swc</packaging>
+
+ <name>Test case for FLEXMOJOS-872</name>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/main/flex/main.mxml
new file mode 100644
index 0000000..14c4481
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/main/flex/main.mxml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile,
+ optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="This is a dummy class as Flexmojos needs at least one class to compile." />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithErrorsTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithErrorsTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithErrorsTest.as
new file mode 100644
index 0000000..5055f9c
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithErrorsTest.as
@@ -0,0 +1,22 @@
+package unittest {
+ import org.flexunit.Assert;
+
+ [RunWith("org.flexunit.runners.Parameterized")]
+ public class ParametrizedTestWithErrorsTest {
+
+ public static function providesData():Array {
+ var values:Array = new Array(100);
+ for (var i:int = 0; i < values.length; i++) {
+ values[i] = ["SomeData-" + i];
+ }
+ return values;
+ }
+
+ [Test(dataProvider="providesData")]
+ public function failingTest(testData:String):void {
+ if(testData == "SomeData-98") {
+ throw new Error("Failure");
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithFailuresTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithFailuresTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithFailuresTest.as
new file mode 100644
index 0000000..7f68afc
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithFailuresTest.as
@@ -0,0 +1,20 @@
+package unittest {
+ import org.flexunit.Assert;
+
+ [RunWith("org.flexunit.runners.Parameterized")]
+ public class ParametrizedTestWithFailuresTest {
+
+ public static function providesData():Array {
+ var values:Array = new Array(100);
+ for (var i:int = 0; i < values.length; i++) {
+ values[i] = ["SomeData-" + i];
+ }
+ return values;
+ }
+
+ [Test(dataProvider="providesData")]
+ public function failingTest(testData:String):void {
+ Assert.assertFalse(testData == "SomeData-98");
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithoutFailuresTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithoutFailuresTest.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithoutFailuresTest.as
new file mode 100644
index 0000000..08a53e4
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos872Test.testParametrizedTestsExecution/src/test/flex/unittest/ParametrizedTestWithoutFailuresTest.as
@@ -0,0 +1,20 @@
+package unittest {
+ import org.flexunit.Assert;
+
+ [RunWith("org.flexunit.runners.Parameterized")]
+ public class ParametrizedTestWithoutFailuresTest {
+
+ public static function providesData():Array {
+ var values:Array = new Array(100);
+ for (var i:int = 0; i < values.length; i++) {
+ values[i] = ["AnotherTestData-" + i];
+ }
+ return values;
+ }
+
+ [Test(dataProvider="providesData")]
+ public function notFailingTest(testData:String):void {
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/pom.xml
new file mode 100644
index 0000000..fc21b36
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/pom.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0013-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <id>package</id>
+ <goals>
+ <goal>test-swc</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/main/flex/com/adobe/example/Calculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/main/flex/com/adobe/example/Calculator.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/main/flex/com/adobe/example/Calculator.as
new file mode 100644
index 0000000..d848dce
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/main/flex/com/adobe/example/Calculator.as
@@ -0,0 +1,30 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+
+ public class Calculator
+ {
+ public function multiply(
+ numberOne : Number,
+ numberTwo : Number ) : Number
+ {
+ return numberOne * numberTwo;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculator.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculator.as
new file mode 100644
index 0000000..35dce99
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculator.as
@@ -0,0 +1,60 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculator extends TestCase
+ {
+ private var calculator : Calculator;
+
+ /**
+ * Constructor.
+ * @param methodName the name of the individual test to run.
+ */
+ public function TestCalculator( methodName : String = null )
+ {
+ super( methodName );
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#setUp().
+ */
+ override public function setUp() : void
+ {
+ calculator = new Calculator();
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#tearDown().
+ */
+ override public function tearDown() : void
+ {
+ calculator = null;
+ }
+
+
+ public function testMultiplyPass() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 8, result );
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculatorAgain.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculatorAgain.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculatorAgain.as
new file mode 100644
index 0000000..3fdcd7b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Issue0013Test.issue13/src/test/flex/com/adobe/example/TestCalculatorAgain.as
@@ -0,0 +1,59 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculatorAgain extends TestCase
+ {
+ private var calculator : Calculator;
+
+ /**
+ * Constructor.
+ * @param methodName the name of the individual test to run.
+ */
+ public function TestCalculatorAgain( methodName : String = null )
+ {
+ super( methodName );
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#setUp().
+ */
+ override public function setUp() : void
+ {
+ calculator = new Calculator();
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#tearDown().
+ */
+ override public function tearDown() : void
+ {
+ calculator = null;
+ }
+
+ public function testMultiplyPass() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 8, result );
+ }
+
+ }
+}
\ No newline at end of file
[03/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/AnotherFile.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/AnotherFile.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/AnotherFile.mxml
new file mode 100644
index 0000000..2dafc90
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/AnotherFile.mxml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+//Is empty because should not be used
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/Index.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/Index.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/Index.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/src/main/flex/Index.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/pom.xml
new file mode 100644
index 0000000..fac17f4
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.coverage.itest</groupId>
+ <artifactId>application-main</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/AnotherFile.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/AnotherFile.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/AnotherFile.mxml
new file mode 100644
index 0000000..2dafc90
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/AnotherFile.mxml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+//Is empty because should not be used
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Index.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Index.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Index.mxml
new file mode 100644
index 0000000..2dafc90
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Index.mxml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+//Is empty because should not be used
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-main/src/main/flex/Main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/pom.xml
new file mode 100644
index 0000000..1124c7a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.coverage.itest</groupId>
+ <artifactId>application-not-default</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/src/main/flex/MyCustomName.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/src/main/flex/MyCustomName.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/src/main/flex/MyCustomName.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-not-default/src/main/flex/MyCustomName.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/pom.xml
new file mode 100644
index 0000000..224ed65
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.example.groupId</groupId>
+ <artifactId>groupId</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/src/main/flex/com/example/groupId/Main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/src/main/flex/com/example/groupId/Main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/src/main/flex/com/example/groupId/Main.mxml
new file mode 100644
index 0000000..37c2dee
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupId/src/main/flex/com/example/groupId/Main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/pom.xml
new file mode 100644
index 0000000..035ea7f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.example</groupId>
+ <artifactId>groupIdArtifactId</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/src/main/flex/com/example/groupIdArtifactId/Main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/src/main/flex/com/example/groupIdArtifactId/Main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/src/main/flex/com/example/groupIdArtifactId/Main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/groupIdArtifactId/src/main/flex/com/example/groupIdArtifactId/Main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/pom.xml
new file mode 100644
index 0000000..d79decc
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/pom.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.coverage</groupId>
+ <artifactId>application-main-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>application-main</module>
+ <module>application-index</module>
+ <module>application-not-default</module>
+ <module>application-forced</module>
+ <module>groupIdArtifactId</module>
+ <module>groupId</module>
+ </modules>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/pom.xml
new file mode 100644
index 0000000..74961e0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/pom.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flashplayer-ignore-return-codes</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <locales>
+ <locale>en_US</locale>
+ </locales>
+ <flashPlayerReturnCodesToIgnore>100,200,300,0</flashPlayerReturnCodesToIgnore>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..0d138db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByPomConfiguration/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,40 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package {
+
+ import flexunit.framework.Assert;
+ import flash.errors.IOError;
+
+ public class AnnotatedTest {
+
+ [Test]
+ public function addition():void {
+ Assert.assertEquals(12, 7 + 5);
+ }
+
+ [Test(expects="flash.errors.IOError")]
+ public function doIOError():void {
+ //a test which causes an IOError }Or
+ throw new IOError();
+ }
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/pom.xml
new file mode 100644
index 0000000..53d1df0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/pom.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexunit4</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..0d138db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.features.FlashPlayerIgnoreReturnCodesTest.ignoreByProperty/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,40 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package {
+
+ import flexunit.framework.Assert;
+ import flash.errors.IOError;
+
+ public class AnnotatedTest {
+
+ [Test]
+ public function addition():void {
+ Assert.assertEquals(12, 7 + 5);
+ }
+
+ [Test(expects="flash.errors.IOError")]
+ public function doIOError():void {
+ //a test which causes an IOError }Or
+ throw new IOError();
+ }
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/pom.xml
new file mode 100644
index 0000000..a157084
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-130</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>dita-asdoc</goal>
+ <goal>asdoc</goal>
+ </goals>
+ <configuration>
+ <attach>true</attach>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/main.mxml
new file mode 100644
index 0000000..e2f21e7
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/main.mxml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+
+ <mx:Script>
+ <![CDATA[
+
+ import net.flexmojos.oss.it.AClass;
+
+ /**
+ * AClass
+ */
+ public var aVar:AClass;
+
+ ]]>
+ </mx:Script>
+
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/net/flexmojos/oss/it/AClass.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/net/flexmojos/oss/it/AClass.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/net/flexmojos/oss/it/AClass.as
new file mode 100644
index 0000000..27fd97a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos130Test.attachAsdoc/src/main/flex/net/flexmojos/oss/it/AClass.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+
+ /**
+ * This is a well documented AS3 class =p
+ */
+ public class AClass {
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/pom.xml
new file mode 100644
index 0000000..d901336
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest.test-special-version</groupId>
+ <artifactId>aggregator</artifactId>
+ <version>1.0</version>
+ </parent>
+
+ <artifactId>app</artifactId>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest.test-special-version</groupId>
+ <artifactId>lib</artifactId>
+ <version>RELEASE</version>
+ <type>swc</type>
+ <scope>rsl</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/src/main/flex/Main.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/src/main/flex/Main.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/src/main/flex/Main.as
new file mode 100644
index 0000000..7cb4d0f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/app/src/main/flex/Main.as
@@ -0,0 +1,31 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+import spark.components.Application;
+
+public class Main extends Application
+{
+ public function Main()
+ {
+ super();
+
+ var a:A = new A();
+ }
+}
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/pom.xml
new file mode 100644
index 0000000..ada0568
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/pom.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest.test-special-version</groupId>
+ <artifactId>aggregator</artifactId>
+ <version>1.0</version>
+ </parent>
+
+ <artifactId>lib</artifactId>
+ <packaging>swc</packaging>
+ <version>1.0</version>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>create-rsl</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/src/main/flex/A.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/src/main/flex/A.as b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/src/main/flex/A.as
new file mode 100644
index 0000000..3bbf9a1
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/lib/src/main/flex/A.as
@@ -0,0 +1,26 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+public class A
+{
+ public function A()
+ {
+ }
+}
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/pom.xml
new file mode 100644
index 0000000..eada98d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos136Test.resolveReleaseVersion/pom.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.test-special-version</groupId>
+ <artifactId>aggregator</artifactId>
+ <version>1.0</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>lib</module>
+ </modules>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/pom.xml
new file mode 100644
index 0000000..f2767ce
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/pom.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>flexmojos-159</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <localesCompiled>
+ <locale>en_US</locale>
+ </localesCompiled>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/src/main/flex/Main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/src/main/flex/Main.mxml
new file mode 100644
index 0000000..b6763e9
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos159Test.localizationFromLibrary/src/main/flex/Main.mxml
@@ -0,0 +1,25 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns="library://ns.adobe.com/flex/spark">
+ <fx:Metadata>
+ [ResourceBundle("TestBundle")]
+ </fx:Metadata>
+ <Button label="{resourceManager.getString('TestBundle', 'hello')}"/>
+</Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/pom.xml
new file mode 100644
index 0000000..46094e6
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/pom.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>test</groupId>
+ <artifactId>testAggregator</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>a</artifactId>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <linkReportAttach>true</linkReportAttach>
+ </configuration>
+ <!-- that isn't really needed, bug on maven 3, it needs package phase being executed! -->
+ <executions>
+ <execution>
+ <goals>
+ <goal>optimize-swf</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/src/main/flex/Main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/src/main/flex/Main.mxml
new file mode 100644
index 0000000..94d7447
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/a/src/main/flex/Main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/pom.xml
new file mode 100644
index 0000000..b648536
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>test</groupId>
+ <artifactId>testAggregator</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>b</artifactId>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>test</groupId>
+ <artifactId>a</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>xml</type>
+ <classifier>link-report</classifier>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/src/main/flex/Main.css
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/src/main/flex/Main.css b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/src/main/flex/Main.css
new file mode 100644
index 0000000..c245693
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/b/src/main/flex/Main.css
@@ -0,0 +1,21 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/* CSS file */
+Button{
+ color: #FF0000;
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/pom.xml
new file mode 100644
index 0000000..274180a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos167Test.linkReportResolve/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>test</groupId>
+ <artifactId>testAggregator</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>a</module>
+ <module>b</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/pom.xml
new file mode 100644
index 0000000..73b58a3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.issues.Flexmojos220Test.localizedModules/pom.xml
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexmojos-220</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <modules>
+ <module>module/module.mxml</module>
+ </modules>
+ <localesOutputPath>locales</localesOutputPath>
+ <localesRuntime>
+ <locale>en_US</locale>
+ </localesRuntime>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
[08/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/descriptor.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/descriptor.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/descriptor.xml
new file mode 100644
index 0000000..59bea3b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/descriptor.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/3.1">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+ See http://www.adobe.com/go/air_1.0_application_descriptor for complete documentation.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/1.0
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <versionNumber>1.0.0</versionNumber>
+
+ <!-- Description, displayed in the AIR application installer. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
+ <content>${output}</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <icon>
+ <image16x16>16.png</image16x16>
+ <image32x32>32.png</image32x32>
+ <image48x48>48.png</image48x48>
+ <image128x128>128.png</image128x128>
+ </icon>
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME type. Optional. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/sign.p12
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/sign.p12 b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/sign.p12
new file mode 100644
index 0000000..0be9fc3
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/sign.p12 differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..0d138db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,40 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package {
+
+ import flexunit.framework.Assert;
+ import flash.errors.IOError;
+
+ public class AnnotatedTest {
+
+ [Test]
+ public function addition():void {
+ Assert.assertEquals(12, 7 + 5);
+ }
+
+ [Test(expects="flash.errors.IOError")]
+ public function doIOError():void {
+ //a test which causes an IOError }Or
+ throw new IOError();
+ }
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/pom.xml
new file mode 100644
index 0000000..16d624f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>net.flexmojos.oss.itests</groupId>
+ <artifactId>asunit-example</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.asunit</groupId>
+ <artifactId>asunit</artifactId>
+ <version>20071011</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/test/flex/ExampleTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/test/flex/ExampleTest.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/test/flex/ExampleTest.as
new file mode 100644
index 0000000..08d37af
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AsUnitTest.testAsUnitExample/src/test/flex/ExampleTest.as
@@ -0,0 +1,44 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package {
+ import asunit.framework.TestCase;
+
+ public class ExampleTest extends TestCase {
+
+ /**
+ * Test of whether or not class properly instantiated
+ */
+ public function testInstantiated():void {
+ assertTrue("Example instantiated", true);
+ }
+
+ /**
+ * Test that is born to lose.
+ */
+ public function testFail():void {
+ assertFalse("failing test", false);
+ }
+
+ /**
+ * Test the addition method on example
+ */
+ public function testAddition():void {
+ assertEquals( "Expected:5", 5, 2 + 3 );
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/pom.xml
new file mode 100644
index 0000000..5c49712
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/pom.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.coverage</groupId>
+ <artifactId>attach-asdoc</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>asdoc</goal>
+ </goals>
+ <configuration>
+ <attach>true</attach>
+ </configuration>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Amarelo.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Amarelo.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Amarelo.as
new file mode 100644
index 0000000..6432561
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Amarelo.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is a dummy excluded class
+ */
+ public class Amarelo
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Azul.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Azul.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Azul.as
new file mode 100644
index 0000000..d1414eb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Azul.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is just a dummy class
+ */
+ public class Azul
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Verde.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Verde.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Verde.as
new file mode 100644
index 0000000..bb4a2f0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Verde.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is a another excluded class
+ */
+ public class Verde
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Vermelho.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Vermelho.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Vermelho.as
new file mode 100644
index 0000000..00ce38b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AttachAsdocTest.attachAsdoc/src/main/flex/net/flexmojos/oss/it/Vermelho.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is a another excluded class
+ */
+ public class Vermelho
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/pom.xml
new file mode 100644
index 0000000..176da90
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-flex-resources-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>swf</module>
+ <module>war</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/pom.xml
new file mode 100644
index 0000000..823c1f9
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/pom.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <rslUrls>
+ <rsl>rsls/{artifactId}-{version}.{extension}</rsl>
+ </rslUrls>
+ <modules>
+ <module>modules/module1.mxml</module>
+ <module>modules/module2.mxml</module>
+ </modules>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>swc</type>
+ <scope>rsl</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>rb.swc</type>
+ <!--
+ Even if compile is the default, in this case
+ you explicitly have to define it.
+ -->
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/main.mxml
new file mode 100644
index 0000000..f5ffa4d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/main.mxml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:itest="info.rvin.itest.*"
+ verticalAlign="top" layout="horizontal"
+ horizontalAlign="center" paddingTop="0">
+
+ <mx:Script>
+
+ private function loadModule(title:String, url:String):void
+ {
+ var p:ModulePanel = new ModulePanel();
+ p.title = title;
+ p.url = url;
+ this.addChild(p);
+ }
+ </mx:Script>
+
+ <mx:Component className="ModulePanel">
+ <mx:Panel>
+ <mx:Script>
+ [Bindable]
+ public var url:String;
+ </mx:Script>
+ <mx:ModuleLoader id="ml" url="{url}" width="100%" height="100%">
+ <mx:unload>
+ if (parent != null)
+ {
+ parent.removeChild(this);
+ }
+ </mx:unload>
+ </mx:ModuleLoader>
+ <mx:ControlBar>
+ <mx:Button label="unload" click="ml.unloadModule()"/>
+ </mx:ControlBar>
+ </mx:Panel>
+ </mx:Component>
+
+ <mx:ApplicationControlBar dock="true" horizontalAlign="center">
+ <mx:Button label="Load Module 1" click="loadModule('module 1', 'labels/label1.swf')"/>
+ <mx:Button label="Load Module 2" click="loadModule('module 2', 'labels/label2.swf')"/>
+ </mx:ApplicationControlBar>
+
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module1.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module1.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module1.mxml
new file mode 100644
index 0000000..66b9491
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module1.mxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Label text="this is module 1"/>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module2.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module2.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module2.mxml
new file mode 100644
index 0000000..aec57b3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/swf/src/main/flex/modules/module2.mxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Label text="this is module 2"/>
+
+</mx:Module>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/pom.xml
new file mode 100644
index 0000000..7317474
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/pom.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-war-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>war</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>copy-flex-resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>swf</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <classifier>module1</classifier>
+ <type>swf</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf</artifactId>
+ <version>1.0-SNAPSHOT-1</version>
+ <classifier>module2</classifier>
+ <type>swf</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/src/main/webapp/WEB-INF/web.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..fcfbe87
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResources/war/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ id="WebApp_ID" version="2.5">
+
+ <display-name>Copy War</display-name>
+
+ <welcome-file-list>
+ <welcome-file>copy-swf-1.0-SNAPSHOT.swf</welcome-file>
+ </welcome-file-list>
+
+</web-app>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/pom.xml
new file mode 100644
index 0000000..65a05b7
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-flex-resources-with-hash</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>swf</module>
+ <module>war</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/pom.xml
new file mode 100644
index 0000000..abceb58
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/pom.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <rslUrls>
+ <rsl>rsls/{artifactId}-{version}-{hash}.{extension}</rsl>
+ </rslUrls>
+ <modules>
+ <module>modules/module1.mxml</module>
+ <module>modules/module2.mxml</module>
+ </modules>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>swc</type>
+ <scope>rsl</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>rb.swc</type>
+ <!--
+ Even if compile is the default, in this case
+ you explicitly have to define it.
+ -->
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/main.mxml
new file mode 100644
index 0000000..f5ffa4d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/main.mxml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:itest="info.rvin.itest.*"
+ verticalAlign="top" layout="horizontal"
+ horizontalAlign="center" paddingTop="0">
+
+ <mx:Script>
+
+ private function loadModule(title:String, url:String):void
+ {
+ var p:ModulePanel = new ModulePanel();
+ p.title = title;
+ p.url = url;
+ this.addChild(p);
+ }
+ </mx:Script>
+
+ <mx:Component className="ModulePanel">
+ <mx:Panel>
+ <mx:Script>
+ [Bindable]
+ public var url:String;
+ </mx:Script>
+ <mx:ModuleLoader id="ml" url="{url}" width="100%" height="100%">
+ <mx:unload>
+ if (parent != null)
+ {
+ parent.removeChild(this);
+ }
+ </mx:unload>
+ </mx:ModuleLoader>
+ <mx:ControlBar>
+ <mx:Button label="unload" click="ml.unloadModule()"/>
+ </mx:ControlBar>
+ </mx:Panel>
+ </mx:Component>
+
+ <mx:ApplicationControlBar dock="true" horizontalAlign="center">
+ <mx:Button label="Load Module 1" click="loadModule('module 1', 'labels/label1.swf')"/>
+ <mx:Button label="Load Module 2" click="loadModule('module 2', 'labels/label2.swf')"/>
+ </mx:ApplicationControlBar>
+
+</mx:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module1.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module1.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module1.mxml
new file mode 100644
index 0000000..66b9491
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module1.mxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Label text="this is module 1"/>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module2.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module2.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module2.mxml
new file mode 100644
index 0000000..aec57b3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/swf/src/main/flex/modules/module2.mxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml">
+
+ <mx:Label text="this is module 2"/>
+
+</mx:Module>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/pom.xml
new file mode 100644
index 0000000..73451db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/pom.xml
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-war-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>war</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>copy-flex-resources</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>swf</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <classifier>module1</classifier>
+ <type>swf</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>copy-swf-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <classifier>module2</classifier>
+ <type>swf</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/src/main/webapp/WEB-INF/web.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..fcfbe87
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.CopyMojoTest.copyFlexResourcesWithHashRsls/war/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+ id="WebApp_ID" version="2.5">
+
+ <display-name>Copy War</display-name>
+
+ <welcome-file-list>
+ <welcome-file>copy-swf-1.0-SNAPSHOT.swf</welcome-file>
+ </welcome-file-list>
+
+</web-app>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/pom.xml
new file mode 100644
index 0000000..e6222fd
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/pom.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>flexunit4-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..0d138db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnit4Test.testFlexUnit4Example/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,40 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package {
+
+ import flexunit.framework.Assert;
+ import flash.errors.IOError;
+
+ public class AnnotatedTest {
+
+ [Test]
+ public function addition():void {
+ Assert.assertEquals(12, 7 + 5);
+ }
+
+ [Test(expects="flash.errors.IOError")]
+ public function doIOError():void {
+ //a test which causes an IOError }Or
+ throw new IOError();
+ }
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/pom.xml
new file mode 100644
index 0000000..b42b79f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/pom.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.adobe.samples</groupId>
+ <artifactId>calculator-api-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>tests</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1.2</version>
+ </plugin>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/src/com/adobe/example/Calculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/src/com/adobe/example/Calculator.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/src/com/adobe/example/Calculator.as
new file mode 100644
index 0000000..ac9a6da
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/src/com/adobe/example/Calculator.as
@@ -0,0 +1,43 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+
+ public class Calculator
+ {
+ public function multiply(
+ numberOne : Number,
+ numberTwo : Number ) : Number
+ {
+ return numberOne * numberTwo;
+ }
+
+ public function divide(
+ numberOne : Number,
+ numberTwo : Number ) : Number
+ {
+ if(numberTwo == 0) {
+ throw new Error("ZERO division");
+ }
+ return numberOne / numberTwo;
+ }
+ }
+}
+
+//
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator.as
new file mode 100644
index 0000000..e0eef5c
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator.as
@@ -0,0 +1,71 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculator extends TestCase
+ {
+ private var calculator : Calculator;
+
+ /**
+ * Constructor.
+ * @param methodName the name of the individual test to run.
+ */
+ public function TestCalculator( methodName : String = null )
+ {
+ super( methodName );
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#setUp().
+ */
+ override public function setUp() : void
+ {
+ calculator = new Calculator();
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#tearDown().
+ */
+ override public function tearDown() : void
+ {
+ calculator = null;
+ }
+
+ public function testMultiplyPass() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 8, result );
+ }
+
+ public function testMultiplyFail() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 10, result );
+ }
+
+ public function testError() : void
+ {
+ throw new Error("An error");
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator2.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator2.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator2.as
new file mode 100644
index 0000000..3e88962
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FlexUnitTest.testFlexUnitExample/tests/com/adobe/example/TestCalculator2.as
@@ -0,0 +1,43 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculator2 extends TestCase
+ {
+
+ public function testPass() : void
+ {
+ assertEquals( 8, 8 );
+ }
+
+ public function testFail() : void
+ {
+ assertEquals( 10, 8 );
+ }
+
+ public function testError() : void
+ {
+ throw new Error("An second error");
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/pom.xml
new file mode 100644
index 0000000..27ca8ed
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>net.flexmojos.oss.itests</groupId>
+ <artifactId>fluint-example-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>net.digitalprimates</groupId>
+ <artifactId>fluint</artifactId>
+ <version>r269</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
[07/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/test/flex/fluint/ExampleTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/test/flex/fluint/ExampleTest.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/test/flex/fluint/ExampleTest.as
new file mode 100644
index 0000000..9e06385
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.failFluint/src/test/flex/fluint/ExampleTest.as
@@ -0,0 +1,34 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package fluint
+{
+
+ import net.digitalprimates.fluint.tests.TestCase;
+
+ public class ExampleTest extends TestCase
+ {
+
+ public function testMath():void
+ {
+ var x:int=5 + 3;
+
+ assertEquals(53, x)
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/pom.xml
new file mode 100644
index 0000000..4337a92
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>net.flexmojos.oss.itests</groupId>
+ <artifactId>fluint-example-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>net.digitalprimates</groupId>
+ <artifactId>fluint</artifactId>
+ <version>r269</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/test/flex/fluint/ExampleTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/test/flex/fluint/ExampleTest.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/test/flex/fluint/ExampleTest.as
new file mode 100644
index 0000000..2feb48a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.FluintUnitTest.passFluint/src/test/flex/fluint/ExampleTest.as
@@ -0,0 +1,34 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package fluint
+{
+
+ import net.digitalprimates.fluint.tests.TestCase;
+
+ public class ExampleTest extends TestCase
+ {
+
+ public function testMath():void
+ {
+ var x:int=5 + 3;
+
+ assertEquals(8, x)
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/en_US/FlightReservation1.properties
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/en_US/FlightReservation1.properties b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/en_US/FlightReservation1.properties
new file mode 100644
index 0000000..9c010ce
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/en_US/FlightReservation1.properties
@@ -0,0 +1,75 @@
+#
+# Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+# Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+FILTER_PANEL_TITLE=Find Flights
+FILTER_PANEL_FROM=From:
+FILTER_PANEL_TO=To:
+FILTER_PANEL_TRIP_TYPE=Trip Type:
+FILTER_PANEL_DEPARTURE_DATE=Departure Date:
+FILTER_PANEL_RETURN_DATE=Return Date:
+FILTER_PANEL_PASSENGERS=Passengers:
+FILTER_PANEL_SERVICE=Service:
+FILTER_PANEL_SELECT=Select...
+FILTER_PANEL_ROUND_TRIP=Round Trip
+FILTER_PANEL_ONE_WAY=One Way
+FILTER_PANEL_ADULTS=Adults
+FILTER_PANEL_CHILDREN=Children
+FILTER_PANEL_COACH=Coach
+FILTER_PANEL_BUSINESS=Business
+FILTER_PANEL_FIRST_CLASS=First Class
+
+SELECTION_PANEL_TITLE=Select a Flight
+SELECTION_PANEL_DEPARTING_FLIGHTS=Departing Flights
+SELECTION_PANEL_RETURN_FLIGHTS=Return Flights
+SELECTION_PANEL_FLIGHT=Flight
+SELECTION_PANEL_TIME=Time
+SELECTION_PANEL_PRICE=Price
+
+SUMMARY_PANEL_TITLE=Summary
+SUMMARY_PANEL_FROM=From:
+SUMMARY_PANEL_TO=To:
+SUMMARY_PANEL_DEPARTURE_DATE=Departure Date:
+SUMMARY_PANEL_DEPARTURE_TIME=Departure Time:
+SUMMARY_PANEL_ARRIVAL_DATE=Arrival Date:
+SUMMARY_PANEL_ARRIVAL_TIME=Arrival Time:
+SUMMARY_PANEL_DURATION=Duration:
+SUMMARY_PANEL_DISTANCE=Distance:
+SUMMARY_PANEL_FLIGHT_NUMBER=Flight Number:
+SUMMARY_PANEL_PRICE=Price:
+SUMMARY_PANEL_TOTAL_PRICE=Total Price:
+SUMMARY_PANEL_BOOK_IT=Book It
+
+LAX=Los Angeles
+JFK=New York
+GRU=Sao Paulo
+CPT=Cape Town
+LHR=London
+SVO=Moscow
+DXB=Dubai
+DEL=New Delhi
+SHA=Shanghai
+NRT=Tokyo
+SYD=Sydney
+
+DATE_FORMAT=EEE, MMM D, YYYY
+TIME_FORMAT=L:NN A
+DURATION_FORMAT=Lh NNm
+DISTANCE_CONVERSION=0.621
+DISTANCE_FORMAT={0} miles
+CURRENCY_CONVERSION=1.0
+CURRENCY_PRECISION=2
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/ja_JP/FlightReservation1.properties
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/ja_JP/FlightReservation1.properties b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/ja_JP/FlightReservation1.properties
new file mode 100644
index 0000000..5865173
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/locale/ja_JP/FlightReservation1.properties
@@ -0,0 +1,75 @@
+#
+# Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+# Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
+FILTER_PANEL_TITLE=フライト検索
+FILTER_PANEL_FROM=出発地:
+FILTER_PANEL_TO=目的地:
+FILTER_PANEL_TRIP_TYPE=旅行タイプ:
+FILTER_PANEL_DEPARTURE_DATE=ご出発:
+FILTER_PANEL_RETURN_DATE=お帰り:
+FILTER_PANEL_PASSENGERS=人数:
+FILTER_PANEL_SERVICE=サービス:
+FILTER_PANEL_SELECT=選択してください...
+FILTER_PANEL_ROUND_TRIP=往復
+FILTER_PANEL_ONE_WAY=片道
+FILTER_PANEL_ADULTS=大人
+FILTER_PANEL_CHILDREN=子供
+FILTER_PANEL_COACH=エコノミー
+FILTER_PANEL_BUSINESS=ビジネス
+FILTER_PANEL_FIRST_CLASS=ファースト
+
+SELECTION_PANEL_TITLE=フライトを選択
+SELECTION_PANEL_DEPARTING_FLIGHTS=往路フライト
+SELECTION_PANEL_RETURN_FLIGHTS=復路フライト
+SELECTION_PANEL_FLIGHT=フライト
+SELECTION_PANEL_TIME=時間
+SELECTION_PANEL_PRICE=料金
+
+SUMMARY_PANEL_TITLE=確認
+SUMMARY_PANEL_FROM=出発地:
+SUMMARY_PANEL_TO=目的地:
+SUMMARY_PANEL_DEPARTURE_DATE=出発日:
+SUMMARY_PANEL_DEPARTURE_TIME=出発時間:
+SUMMARY_PANEL_ARRIVAL_DATE=到着日:
+SUMMARY_PANEL_ARRIVAL_TIME=到着時間:
+SUMMARY_PANEL_DURATION=飛行時間:
+SUMMARY_PANEL_DISTANCE=飛行距離:
+SUMMARY_PANEL_FLIGHT_NUMBER=フライトナンバー:
+SUMMARY_PANEL_PRICE=料金:
+SUMMARY_PANEL_TOTAL_PRICE=合計:
+SUMMARY_PANEL_BOOK_IT=予約する
+
+LAX=ロサンゼルス
+JFK=ニューヨーク
+GRU=サンパウロ
+CPT=ケープタウン
+LHR=ロンドン
+SVO=モスクワ
+DXB=ドバイ
+DEL=ニューデリー
+SHA=上海
+NRT=東京
+SYD=シドニー
+
+DATE_FORMAT=YYYY年MMMD日(EEE)
+TIME_FORMAT=L:NN A
+DURATION_FORMAT=L時間 NN分
+DISTANCE_CONVERSION=1.0
+DISTANCE_FORMAT={0} キロ
+CURRENCY_CONVERSION=119.3
+CURRENCY_PRECISION=0
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/pom.xml
new file mode 100644
index 0000000..71ff54b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.adobe.flex.samples</groupId>
+ <artifactId>FlightReservation1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>FlightReservation1.mxml</sourceFile>
+ <resourceBundlePath>${basedir}/locale/{locale}</resourceBundlePath>
+ <localesCompiled>
+ <locale>en_US</locale>
+ <locale>ja_JP</locale>
+ </localesCompiled>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/FlightReservation1.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/FlightReservation1.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/FlightReservation1.mxml
new file mode 100644
index 0000000..1b9cfe9
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/FlightReservation1.mxml
@@ -0,0 +1,1088 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="1000" height="520"
+ preinitialize="application_preinitializeHandler(event)"
+ initialize="application_initializeHandler(event)"
+ viewSourceURL="srcview/index.html">
+
+ <mx:Metadata>
+ [ResourceBundle("FlightReservation1")]
+ </mx:Metadata>
+
+ <mx:XML id="flights" source="Flights.xml"/>
+
+ <mx:XML id="timezones" source="Timezones.xml"/>
+
+ <mx:DateFormatter id="dateFormatter"
+ formatString="{resourceManager.getString(MY_BUNDLE, 'DATE_FORMAT')}"/>
+
+ <mx:DateFormatter id="timeFormatter"
+ formatString="{resourceManager.getString(MY_BUNDLE, 'TIME_FORMAT')}"/>
+
+ <mx:DateFormatter id="durationFormatter"
+ formatString="{resourceManager.getString(MY_BUNDLE, 'DURATION_FORMAT')}"/>
+
+ <mx:CurrencyFormatter id="priceFormatter"
+ precision="{resourceManager.getString(MY_BUNDLE, 'CURRENCY_PRECISION')}"/>
+
+ <mx:Script>
+ <![CDATA[
+
+ //
+ // Constants
+ //
+
+ /**
+ * The name of the resource bundle
+ * containing the application-specific resources.
+ */
+ private static const MY_BUNDLE:String = "FlightReservation1";
+
+ /**
+ * Speed in km/hr, used to determine
+ * flight durations based on route distance.
+ */
+ private static const SPEED:Number = 1000;
+
+ //
+ // Variables
+ //
+
+ /**
+ * The locales which this application supports.
+ * This is the dataProvider for the Language combobox.
+ */
+ private var locales:Array = [ "en_US", "ja_JP" ];
+
+ /**
+ * The initial locale that the application uses.
+ * We attempt to load this from a local SharedObject at startup,
+ * but default to "en_US" if this SharedObject doesn't exist.
+ */
+ private var initialLocale:String = "en_US";
+
+ //
+ // Methods: Processing of XML data
+ //
+
+ /**
+ * Walks the <route> tags in flights.xml to build
+ * an Array of airport codes for departures,
+ * sorted by localized city name.
+ * This is used as the dataProvider for the "From:" ComboBox.
+ */
+ private function getDepartureCodes():Array
+ {
+ var codes:Array = [];
+
+ var n:int = flights.route.length();
+ for (var i:int = 0; i < n; i++)
+ {
+ var route:XML = flights.route[i];
+ var fromCode:String = route.@from.toString();
+ if (codes.indexOf(fromCode) == -1)
+ codes.push(fromCode);
+ }
+
+ return codes;
+ }
+
+ /**
+ * Given a departure airport code, walks the <route> tags
+ * in flights.xml to build an Array of airport codes for arrivals,
+ * sorted by localized city name.
+ * This is used as the dataProvider for the "To:" ComboBox.
+ * Note that this Array contains only those places you
+ * can fly to, based on where you are flying from.
+ */
+ private function getArrivalCodes(departureCode:String):Array
+ {
+ var codes:Array = [];
+
+ var n:int = flights.route.length();
+ for (var i:int = 0; i < n; i++)
+ {
+ var route:XML = flights.route[i];
+ var fromCode:String = route.@from.toString();
+ var toCode:String = route.@to.toString();
+ if ((fromCode == departureCode || departureCode == null) &&
+ route.flight.length() > 0 &&
+ codes.indexOf(toCode) == -1)
+ {
+ codes.push(toCode);
+ }
+ }
+
+ return codes;
+ }
+
+ /**
+ * Given a <flight>, returns its locale departure time as a Date.
+ */
+ private function getDepartureTime(flight:XML):Date
+ {
+ var departs:String = flight.@departs;
+ // 'departs' will be a 4-character 24-hour time
+ // such as "0800" or "1630".
+ var hour:int = int(departs.substring(0, 2));
+ var minute:int = int(departs.substring(2, 4));
+ var time:Date = new Date(0, 0, 0, hour, minute);
+ return time;
+ }
+
+ /**
+ * Given an airport code like "JFK", returns the number
+ * of milliseconds by which the local timezone differs from GMT.
+ */
+ private function getTimezoneDelta(airportCode:String):Number
+ {
+ var delta:String =
+ timezones.timezone.(@where == airportCode).@delta;
+ var sign:String = delta.substring(0, 1);
+ var hh:String = delta.substring(1, 3);
+ var mm:String = delta.substring(3, 5);
+ var milliseconds:int = (60 * int(hh) + int(mm)) * 60 * 1000;
+ if (sign == "-")
+ milliseconds = -milliseconds;
+ return milliseconds;
+ }
+
+ /**
+ * Given a <route> and a <flight> on that route,
+ * returns the locale arrival time as a Date.
+ */
+ private function getArrivalTime(route:XML, flight:XML):Date
+ {
+ var departureTime:Number = getDepartureTime(flight).getTime();
+
+ var departureDelta:Number = getTimezoneDelta(route.@from);
+ var arrivalDelta:Number = getTimezoneDelta(route.@to);
+
+ var distance:Number = route.@distance; // in km
+ var duration:Number =
+ distance / SPEED * 60 * 60 * 1000; // in milliseconds
+
+ var arrivalTime:Number = departureTime - departureDelta +
+ duration + arrivalDelta;
+
+ return new Date(arrivalTime);
+ }
+
+ //
+ // Methods: Locale-specific formatting
+ //
+
+ /**
+ * Formats a price, using locale-dependent currency.
+ * The price="..." attribute in flights.xml
+ * is in U.S. dollars and the CURRENCY_CONVERSION resource
+ * converts dollars to the unit appropriate for the locale.
+ */
+ private function formatPrice(price:Number):String
+ {
+ var currencyConversionFactor:Number =
+ resourceManager.getNumber(MY_BUNDLE, "CURRENCY_CONVERSION");
+
+ return priceFormatter.format(price * currencyConversionFactor);
+ }
+
+ /**
+ * Formats the Arrival Time info in the Summary panel.
+ */
+ private function formatArrivalTime(route:XML, flight:XML):String
+ {
+ var departureTime:Date = getDepartureTime(flight);
+ var arrivalTime:Date = getArrivalTime(route, flight);
+
+ var s:String = timeFormatter.format(arrivalTime);
+ if (arrivalTime.day != departureTime.day)
+ s += " (next day)";
+ return s;
+ }
+
+ /**
+ * Formats the Duration info in the Summary panel
+ * using a locale-dependent format.
+ * The passed-in duration of the flight is specified
+ * in fractional hours, and has been calculated
+ * from the flight distance in flights.xml by assuming
+ * that the plane's speed is the constant SPEED.
+ */
+ private function formatDuration(duration:Number):String
+ {
+ var hours:int = int(duration);
+ var minutes:int = int((duration - Math.floor(duration)) * 60);
+ var d:Date = new Date(0, 0, 0, hours, minutes);
+
+ return durationFormatter.format(d);
+ }
+
+ /**
+ * Formats the Distance info in the Summary panel,
+ * using locale-dependent units (miles, kilometers, etc.)
+ * The distance="..." attribute in flights.xml
+ * is in kilometers and the DISTANCE_CONVERSION resource
+ * converts kilometers to the unit appropriate for the locale.
+ */
+ private function formatDistance(km:Number):String
+ {
+ var distanceConversionFactor:Number =
+ resourceManager.getNumber(MY_BUNDLE, "DISTANCE_CONVERSION");
+
+ return resourceManager.getString(
+ MY_BUNDLE, "DISTANCE_FORMAT",
+ [ int(km * distanceConversionFactor) ]);
+ }
+
+ //
+ // Methods: Support for the Language combobox
+ //
+
+ /**
+ * The labelFunction for the Language combobox.
+ * It takes a locale such as "en_US"
+ * and produces the localized string "English".
+ */
+ private function languageComboBoxLabelFunction(item:Object):String
+ {
+ var locale:String = String(item);
+ return resourceManager.getString(MY_BUNDLE, locale);
+ }
+
+ /**
+ * Comparison function for sorting the 'locales' Array,
+ * which is the dataProvider for the Language combobox.
+ * The sort order is locale-dependent,
+ * because the localized language names for the locales
+ * are presented in alphabetical order.
+ */
+ private function localeCompareFunction(item1:Object, item2:Object):int
+ {
+ var language1:String = languageComboBoxLabelFunction(item1);
+ var language2:String = languageComboBoxLabelFunction(item2);
+
+ if (language1 < language2)
+ return -1;
+ if (language1 > language2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * Repopulates the Language combobox with localized language names
+ * for the supported locales, alphabetized by language name.
+ */
+ private function updateLanguageComboBox():void
+ {
+ var oldSelectedItem:Object = languageComboBox.selectedItem;
+
+ // Repopulate the combobox with locales,
+ // re-sorting by localized language name.
+ locales.sort(localeCompareFunction);
+ languageComboBox.dataProvider = locales;
+
+ languageComboBox.selectedItem = oldSelectedItem;
+ }
+
+ /**
+ * Switches the user interface to display in a different locale.
+ * This method is called when the user changes the selection
+ * in the Language combobox.
+ */
+ private function switchLocale(newLocale:String):void
+ {
+ resourceManager.localeChain = [ newLocale ];
+
+ updateLanguageComboBox();
+
+ updateDepartureCityComboBox();
+ updateArrivalCityComboBox();
+
+ departureDateField.selectedDate = departureDateField.selectedDate;
+ returnDateField.selectedDate = returnDateField.selectedDate;
+
+ updateSummary();
+ }
+
+ //
+ // Methods: Support for the From and To comboboxes
+ //
+
+ /**
+ * The labelFunction for the From and To comboboxes.
+ * It takes an airport code such as "JFK"
+ * and returns a localized string like "New York (JFK)".
+ */
+ private function cityLabelFunction(item:Object):String
+ {
+ var airportCode:String = String(item);
+ var city:String =
+ resourceManager.getString(MY_BUNDLE, airportCode);
+ return city + " (" + airportCode + ")";
+ }
+
+ /**
+ * Comparison function for sorting the From and To comboboxes.
+ * The sort order is locale-dependent,
+ * because the localized city names for the airport codes
+ * are presented in alphabetical order.
+ */
+ private function cityCompareFunction(item1:Object, item2:Object):int
+ {
+ var label1:String = cityLabelFunction(item1);
+ var label2:String = cityLabelFunction(item2);
+
+ if (label1 < label2)
+ return -1;
+ if (label1 > label2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * Repopulates the From combobox
+ * with airport codes sorted by city name.
+ * Called when the app starts
+ * and when the user changes the language.
+ */
+ private function updateDepartureCityComboBox():void
+ {
+ var oldSelectedItem:Object = departureCityComboBox.selectedItem;
+
+ // Repopulate athe combobox with airport codes,
+ // re-sorting by localized city name.
+ var dp:Array = getDepartureCodes();
+ dp.sort(cityCompareFunction);
+ departureCityComboBox.dataProvider = dp;
+
+ // Restore the previously selected item if there was one.
+ departureCityComboBox.selectedItem = oldSelectedItem;
+ }
+
+ /**
+ * Repopulates the To combobox with airport codes sorted by city name.
+ * Called when the app starts and when the user changes
+ * the From city or the language.
+ */
+ private function updateArrivalCityComboBox():void
+ {
+ var oldSelectedItem:Object = arrivalCityComboBox.selectedItem;
+
+ var departureCode:String =
+ departureCityComboBox.selectedItem as String;
+
+ // Repopulate the combobox with airport codes,
+ // re-sorting by localized city name.
+ var dp:Array = getArrivalCodes(departureCode);
+ dp.sort(cityCompareFunction);
+ arrivalCityComboBox.dataProvider = dp;
+
+ // Restore the previously selected item if there was one
+ // and it isn't the same as the From city.
+ if (oldSelectedItem &&
+ oldSelectedItem != departureCityComboBox.selectedItem)
+ {
+ arrivalCityComboBox.selectedItem = oldSelectedItem;
+ }
+ }
+
+ /**
+ * Based on the selections in the From and To comboxes,
+ * returns the <route> from the From city to the To city.
+ */
+ private function getDepartingRoute():XML
+ {
+ if (!departureCityComboBox.selectedItem ||
+ !arrivalCityComboBox.selectedItem)
+ {
+ return null;
+ }
+
+ var departureCode:String =
+ departureCityComboBox.selectedItem as String;
+
+ var arrivalCode:String =
+ arrivalCityComboBox.selectedItem as String;
+
+ return flights.route.(@from == departureCode &&
+ @to == arrivalCode)[0];
+ }
+
+ /**
+ * Based on the selections in the From and To comboxes,
+ * returns the <route> from the To city to the From city.
+ */
+ private function getReturnRoute():XML
+ {
+ if (!departureCityComboBox.selectedItem ||
+ !arrivalCityComboBox.selectedItem)
+ {
+ return null;
+ }
+
+ var departureCode:String =
+ departureCityComboBox.selectedItem as String;
+
+ var arrivalCode:String =
+ arrivalCityComboBox.selectedItem as String;
+
+ return flights.route.(@from == arrivalCode &&
+ @to == departureCode)[0];
+ }
+
+ //
+ // Methods: Support for the Departing Date and Return Date datefields
+ //
+
+ /**
+ * The labelFunction for the Departure Date and Return Date.
+ * It takes a Date and returns a locale-dependent String
+ * like "Wed, Apr 4, 2007".
+ */
+ private function dateFieldLabelFunction(date:Date):String
+ {
+ return dateFormatter.format(date);
+ }
+
+ /**
+ * The parseFunction for the Departure Date.
+ * When you use a labelFunction, you must also use parseFunction
+ * even though nothing needs to be parsed.
+ */
+ public function departureDateFieldParseFunction(
+ value:String, inputFormat:String):Date
+ {
+ return departureDateField.selectedDate;
+ }
+
+ /**
+ * The parseFunction for the Return Date.
+ * When you use a labelFunction, you must also use parseFunction
+ * even though nothing needs to be parsed.
+ */
+ public function returnDateFieldParseFunction(
+ value:String, inputFormat:String):Date
+ {
+ return returnDateField.selectedDate;
+ }
+
+ //
+ // Methods: Support for the Departing Flights
+ // and Return Flights datagrids.
+ //
+
+ /**
+ * The labelFunction for the Time column of the datagrids.
+ * It takes a <flight> and returns a locale-dependent String
+ * like "4:15 PM".
+ */
+ private function timeColumnLabelFunction(
+ item:Object,
+ column:DataGridColumn):String
+ {
+ var flight:XML = XML(item);
+ return timeFormatter.format(getDepartureTime(flight));
+ }
+
+ /**
+ * Comparison function for sorting the Time column of the datagrids.
+ */
+ private function timeColumnSortCompareFunction(
+ item1:Object, item2:Object):int
+ {
+ var time1:String = item1.@departs;
+ var time2:String = item2.@departs;
+
+ if (time1 < time2)
+ return -1;
+ else if (time1 > time2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * The labelFunction for the Price column of the datagrids.
+ * It takes a <flight> and returns a locale-dependent String
+ * like "$1234.56" in the appropriate currency.
+ */
+ private function priceColumnLabelFunction(
+ item:Object,
+ column:DataGridColumn = null):String
+ {
+ var flight:XML = XML(item);
+ var price:Number = Number(flight.@price);
+
+ if (serviceRadioButtonGroup.selectedValue == "business")
+ price *= 2;
+ else if (serviceRadioButtonGroup.selectedValue == "firstClass")
+ price *= 3;
+
+ return formatPrice(price);
+ }
+
+ /**
+ * Comparison function for sorting the Price column of the datagrids.
+ */
+ private function priceColumnSortCompareFunction(
+ item1:Object, item2:Object):int
+ {
+ var price1:Number = item1.@price;
+ var price2:Number = item2.@price;
+
+ if (price1 < price2)
+ return -1;
+ else if (price1 > price2)
+ return 1;
+ return 0;
+ }
+
+ /**
+ * Updates the DataGrid displaying departing flights.
+ * This method is called when the user changes
+ * the departure date, return date,
+ * depature city, or return city.
+ */
+ private function updateDepartingFlights():void
+ {
+ // Find the <route> from the 'From' city to the 'To' city.
+ var route:XML = getDepartingRoute();
+
+ // Display the <flight> children of that <route>.
+ departingFlightsDataGrid.dataProvider = route ? route.flight : null;
+ }
+
+ /**
+ * Updates the DataGrid displaying return flights.
+ * This method is called when the user changes
+ * the departure date, return date,
+ * depature city, or return city.
+ */
+ private function updateReturnFlights():void
+ {
+ // Find the <route> from the 'To' city to the 'From' city.
+ var route:XML = getReturnRoute();
+
+ // Display the <flight> children of that <route>.
+ returnFlightsDataGrid.dataProvider = route ? route.flight : null;
+ }
+
+ //
+ // Methods: Support for the Summary panel
+ //
+
+ /**
+ * Updates the departure and return summaries.
+ */
+ private function updateSummary():void
+ {
+ var departingRoute:XML = getDepartingRoute();
+ var returnRoute:XML = getReturnRoute();
+
+ var departingFlight:XML =
+ XML(departingFlightsDataGrid.selectedItem);
+ var returnFlight:XML =
+ XML(returnFlightsDataGrid.selectedItem);
+
+ if (departingFlightsDataGrid.selectedItem)
+ {
+ summaryDepartingFromCity.text =
+ departureCityComboBox.selectedLabel;
+ summaryDepartingToCity.text =
+ arrivalCityComboBox.selectedLabel;
+
+ summaryDepartingDate.text =
+ dateFormatter.format(departureDateField.selectedDate);
+ summaryDepartingTime.text =
+ timeFormatter.format(getDepartureTime(departingFlight));
+ summaryDepartingArrivalTime.text =
+ formatArrivalTime(departingRoute, departingFlight);
+
+ var departingDistance:Number = departingRoute.@distance;
+ summaryDepartingDuration.text =
+ formatDuration(departingDistance / SPEED);
+ summaryDepartingDistance.text =
+ formatDistance(departingDistance);
+
+ summaryDepartingFlightID.text = departingFlight.@id;
+ }
+ else
+ {
+ summaryDepartingFromCity.text = "";
+ summaryDepartingToCity.text = "";
+ summaryDepartingDate.text = "";
+ summaryDepartingTime.text = "";
+ summaryDepartingArrivalTime.text = "";
+ summaryDepartingDuration.text = "";
+ summaryDepartingDistance.text = "";
+ summaryDepartingFlightID.text = "";
+ }
+
+ if (returnFlightsDataGrid.selectedItem)
+ {
+ summaryReturnFromCity.text =
+ arrivalCityComboBox.selectedLabel;
+ summaryReturnToCity.text =
+ departureCityComboBox.selectedLabel;
+
+ summaryReturnDate.text =
+ dateFormatter.format(returnDateField.selectedDate);
+ summaryReturnTime.text =
+ timeFormatter.format(getDepartureTime(returnFlight));
+ summaryReturnArrivalTime.text =
+ formatArrivalTime(returnRoute, returnFlight);
+
+ var returnDistance:Number = returnRoute.@distance;
+ summaryReturnDuration.text =
+ formatDuration(returnDistance / SPEED);
+ summaryReturnDistance.text =
+ formatDistance(returnDistance);
+
+ summaryReturnFlightID.text = returnFlight.@id;
+ }
+ else
+ {
+ summaryReturnFromCity.text = "";
+ summaryReturnToCity.text = "";
+ summaryReturnDate.text = "";
+ summaryReturnTime.text = "";
+ summaryReturnArrivalTime.text = "";
+ summaryReturnDuration.text = "";
+ summaryReturnDistance.text = "";
+ summaryReturnFlightID.text = "";
+ }
+
+ var totalPrice:Number = Number(departingFlight.@price);
+ if (travelTypeRadioButtonGroup.selectedValue == "roundTrip")
+ totalPrice += Number(returnFlight.@price);
+ totalPrice *= adultNumericStepper.value +
+ childNumericStepper.value / 2;
+ if (serviceRadioButtonGroup.selectedValue == "business")
+ totalPrice *= 2;
+ else if (serviceRadioButtonGroup.selectedValue == "firstClass")
+ totalPrice *= 3;
+ totalPriceLabel.text = formatPrice(totalPrice);
+
+ bookItButton.enabled =
+ travelTypeRadioButtonGroup.selectedValue == "roundTrip" &&
+ departingFlightsDataGrid.selectedItem &&
+ returnFlightsDataGrid.selectedItem ||
+ travelTypeRadioButtonGroup.selectedValue == "oneWay" &&
+ departingFlightsDataGrid.selectedItem;
+ }
+
+ //
+ // Event handlers
+ //
+
+ /**
+ * Called when the application starts,
+ * before any children have been created.
+ */
+ private function application_preinitializeHandler(event:Event):void
+ {
+ // If the app has already run, it should have saved
+ // the last selected locale in a local SharedObject.
+ var sharedObject:SharedObject = SharedObject.getLocal("savedData");
+ if (sharedObject &&
+ sharedObject.data &&
+ sharedObject.data["locale"])
+ {
+ initialLocale = sharedObject.data["locale"];
+ }
+
+ resourceManager.localeChain = [ initialLocale ];
+ }
+
+ /**
+ * Called when the application starts,
+ * after its children have been created.
+ */
+ private function application_initializeHandler(event:Event):void
+ {
+ updateLanguageComboBox();
+ languageComboBox.selectedItem = initialLocale;
+
+ updateDepartureCityComboBox();
+ updateArrivalCityComboBox();
+
+ var now:Date = new Date();
+ var today:Date = new Date(now.getFullYear(),
+ now.getMonth(),
+ now.getDate());
+
+ // Departure date can be today or later.
+ departureDateField.selectableRange = { rangeStart: today };
+ departureDateField.selectedDate = today;
+
+ // Return date can be today or later.
+ returnDateField.selectableRange = { rangeStart: today };
+ returnDateField.selectedDate = today;
+
+ updateDepartingFlights();
+ updateReturnFlights();
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects "English" or "Japanese"
+ * from the Language combobox.
+ */
+ private function languageComboBox_changeHandler(event:Event):void
+ {
+ var newLocale:String = String(languageComboBox.selectedItem);
+
+ // Save the new locale in a local SharedObject
+ // so that we can start up the application in this locale
+ // the next time it is launched.
+ var sharedObject:SharedObject = SharedObject.getLocal("savedData");
+ sharedObject.data["locale"] = newLocale;
+
+ switchLocale(newLocale);
+ }
+
+ /**
+ * Called when the user selects a departure city
+ * in the "From" combobox.
+ */
+ private function departureCityComboBox_changeHandler(event:Event):void
+ {
+ // Change the To combobox to display only cities
+ // with flights arriving from the new departure city.
+ updateArrivalCityComboBox();
+
+ updateDepartingFlights();
+ updateReturnFlights();
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects an arrival city
+ * in the "To" combobox.
+ */
+ private function arrivalCityComboBox_changeHandler(event:Event):void
+ {
+ updateDepartingFlights();
+ updateReturnFlights();
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects the "Round Trip" or "One Way"
+ * radio button.
+ */
+ private function travelTypeRadioButtonGroup_changeHandler(
+ event:Event):void
+ {
+ var b:Boolean =
+ travelTypeRadioButtonGroup.selectedValue == "roundTrip";
+
+ returnDateField.enabled = b;
+
+ returnFlightsLabel.visible = b;
+ returnFlightsDataGrid.visible = b;
+ arrivalSummaryForm.visible = b;
+ hRule.visible = b;
+
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the Departure Date.
+ */
+ private function departureDateField_changeHandler(event:Event):void
+ {
+ returnDateField.selectableRange =
+ { rangeStart: departureDateField.selectedDate };
+
+ // The Return Date can't be earlier than the Departure Date.
+ if (departureDateField.selectedDate > returnDateField.selectedDate)
+ returnDateField.selectedDate = departureDateField.selectedDate;
+
+ updateDepartingFlights();
+ updateReturnFlights();
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the Return Date.
+ */
+ private function returnDateField_changeHandler(event:Event):void
+ {
+ updateReturnFlights();
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the number of adults.
+ */
+ private function adultNumericStepper_changeHandler(event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user changes the number of children.
+ */
+ private function childNumericStepper_changeHandler(event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects a departing flight.
+ */
+ private function departingFlightsDataGrid_changeHandler(
+ event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects a return flight.
+ */
+ private function returnFlightsDataGrid_changeHandler(event:Event):void
+ {
+ updateSummary();
+ }
+
+ /**
+ * Called when the user selects the "Coach", "Business",
+ * or "First Class" radio button.
+ */
+ private function serviceRadioButtonGroup_changeHandler(event:Event):void
+ {
+ departingFlightsDataGrid.invalidateList();
+ returnFlightsDataGrid.invalidateList();
+
+ updateSummary();
+ }
+
+ ]]>
+ </mx:Script>
+
+ <mx:Style>
+
+ FormItemLabel
+ {
+ fontWeight: bold;
+ }
+
+ .myHighlight
+ {
+ color:#990000;
+ }
+
+ </mx:Style>
+
+ <mx:ApplicationControlBar width="100%" height="30">
+ <mx:Label fontSize="14" fontWeight="bold"
+ text="{resourceManager.getString(MY_BUNDLE, 'APP_TITLE')}"/>
+ <mx:Spacer width="100%"/>
+ <mx:Label text="{resourceManager.getString(MY_BUNDLE, 'LANGUAGE_LABEL')}"/>
+ <mx:ComboBox id="languageComboBox"
+ labelFunction="languageComboBoxLabelFunction"
+ change="languageComboBox_changeHandler(event)"/>
+ </mx:ApplicationControlBar>
+
+ <mx:HBox id="myHB" width="100%" height="100%" horizontalAlign="center">
+
+ <mx:Panel width="100%" height="100%"
+ title="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_TITLE')}">
+ <mx:Form width="100%" verticalGap="15">
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_FROM')}">
+ <mx:ComboBox id="departureCityComboBox" width="170" rowCount="11"
+ prompt="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_SELECT')}"
+ labelFunction="cityLabelFunction"
+ change="departureCityComboBox_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_TO')}">
+ <mx:ComboBox id="arrivalCityComboBox" width="170" rowCount="11"
+ prompt="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_SELECT')}"
+ labelFunction="cityLabelFunction"
+ change="arrivalCityComboBox_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_TRIP_TYPE')}">
+ <mx:RadioButtonGroup id="travelTypeRadioButtonGroup" selectedValue="roundTrip"
+ change="travelTypeRadioButtonGroup_changeHandler(event)"/>
+ <mx:RadioButton id="roundTripRadioButton" groupName="travelTypeRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_ROUND_TRIP')}"
+ value="roundTrip"/>
+ <mx:RadioButton id="oneWayRadioButton" groupName="travelTypeRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_ONE_WAY')}"
+ value="oneWay"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_DEPARTURE_DATE')}">
+ <mx:DateField id="departureDateField" width="185"
+ labelFunction="dateFieldLabelFunction"
+ parseFunction="departureDateFieldParseFunction"
+ change="departureDateField_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_RETURN_DATE')}">
+ <mx:DateField id="returnDateField" width="185"
+ labelFunction="dateFieldLabelFunction"
+ parseFunction="returnDateFieldParseFunction"
+ change="returnDateField_changeHandler(event)"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_PASSENGERS')}"
+ direction="horizontal">
+ <mx:VBox verticalGap="0">
+ <mx:NumericStepper id="adultNumericStepper" width="80"
+ maximum="10" value="1"
+ change="adultNumericStepper_changeHandler(event)"/>
+ <mx:Label text="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_ADULTS')}"/>
+ </mx:VBox>
+ <mx:VBox verticalGap="0" >
+ <mx:NumericStepper id="childNumericStepper" width="80"
+ maximum="10"
+ change="childNumericStepper_changeHandler(event)"/>
+ <mx:Label text="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_CHILDREN')}"/>
+ </mx:VBox>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_SERVICE')}">
+ <mx:RadioButtonGroup id="serviceRadioButtonGroup" selectedValue="coach"
+ change="serviceRadioButtonGroup_changeHandler(event)"/>
+ <mx:RadioButton id="coachRadioButton" groupName="serviceRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_COACH')}"
+ value="coach"/>
+ <mx:RadioButton id="businessRadioButton" groupName="serviceRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_BUSINESS')}"
+ value="business"/>
+ <mx:RadioButton id="firstClassButton" groupName="serviceRadioButtonGroup"
+ label="{resourceManager.getString(MY_BUNDLE, 'FILTER_PANEL_FIRST_CLASS')}"
+ value="firstClass"/>
+ </mx:FormItem>
+ </mx:Form>
+ </mx:Panel>
+
+ <mx:Panel width="100%" height="100%" paddingTop="8" paddingLeft="8" paddingRight="8"
+ title="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_TITLE')}">
+ <mx:Label id="departingFlightsLabel" fontWeight="bold"
+ text="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_DEPARTING_FLIGHTS')}"/>
+ <mx:DataGrid id="departingFlightsDataGrid" width="100%" height="154"
+ resizableColumns="false"
+ change="departingFlightsDataGrid_changeHandler(event)">
+ <mx:columns>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_FLIGHT')}"
+ dataField="@id" sortable="false"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_TIME')}"
+ textAlign="right"
+ labelFunction="timeColumnLabelFunction"
+ sortCompareFunction="timeColumnSortCompareFunction"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_PRICE')}"
+ textAlign="right"
+ labelFunction="priceColumnLabelFunction"
+ sortCompareFunction="priceColumnSortCompareFunction"/>
+ </mx:columns>
+ </mx:DataGrid>
+ <mx:Label id="returnFlightsLabel" fontWeight="bold"
+ text="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_RETURN_FLIGHTS')}"/>
+ <mx:DataGrid id="returnFlightsDataGrid" width="100%" height="154"
+ resizableColumns="false"
+ change="returnFlightsDataGrid_changeHandler(event)">
+ <mx:columns>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_FLIGHT')}"
+ dataField="@id" sortable="false"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_TIME')}"
+ textAlign="right"
+ labelFunction="timeColumnLabelFunction"
+ sortCompareFunction="timeColumnSortCompareFunction"/>
+ <mx:DataGridColumn headerText="{resourceManager.getString(MY_BUNDLE, 'SELECTION_PANEL_PRICE')}"
+ textAlign="right"
+ labelFunction="priceColumnLabelFunction"
+ sortCompareFunction="priceColumnSortCompareFunction"/>
+ </mx:columns>
+ </mx:DataGrid>
+ </mx:Panel>
+
+ <mx:Panel width="100%" height="100%" paddingTop="8" verticalGap="0"
+ title="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TITLE')}">
+ <mx:Form id="departureSummaryForm" paddingTop="0" paddingBottom="0" verticalGap="0">
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FROM')}">
+ <mx:Label id="summaryDepartingFromCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TO')}">
+ <mx:Label id="summaryDepartingToCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_DATE')}">
+ <mx:Label id="summaryDepartingDate" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_TIME')}">
+ <mx:Label id="summaryDepartingTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_ARRIVAL_TIME')}">
+ <mx:Label id="summaryDepartingArrivalTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DURATION')}">
+ <mx:Label id="summaryDepartingDuration" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DISTANCE')}">
+ <mx:Label id="summaryDepartingDistance" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FLIGHT_NUMBER')}">
+ <mx:Label id="summaryDepartingFlightID" styleName="myHighlight"/>
+ </mx:FormItem>
+ </mx:Form>
+ <mx:HRule width="100%"/>
+ <mx:Form id="arrivalSummaryForm" paddingTop="0" paddingBottom="0" verticalGap="0">
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FROM')}">
+ <mx:Label id="summaryReturnFromCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TO')}">
+ <mx:Label id="summaryReturnToCity" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_DATE')}">
+ <mx:Label id="summaryReturnDate" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DEPARTURE_TIME')}">
+ <mx:Label id="summaryReturnTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_ARRIVAL_TIME')}">
+ <mx:Label id="summaryReturnArrivalTime" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DURATION')}">
+ <mx:Label id="summaryReturnDuration" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_DISTANCE')}">
+ <mx:Label id="summaryReturnDistance" styleName="myHighlight"/>
+ </mx:FormItem>
+ <mx:FormItem label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_FLIGHT_NUMBER')}">
+ <mx:Label id="summaryReturnFlightID" styleName="myHighlight"/>
+ </mx:FormItem>
+ </mx:Form>
+ <mx:HRule id="hRule" width="100%"/>
+ <mx:VBox width="100%" height="100%"
+ horizontalAlign="center" verticalAlign="middle" verticalGap="10">
+ <mx:HBox width="100%">
+ <mx:Label width="50%" text="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_TOTAL_PRICE')}"
+ textAlign="right" fontWeight="bold"/>
+ <mx:Label id="totalPriceLabel" width="50%" fontWeight="bold" styleName="myHighlight"/>
+ </mx:HBox>
+ <mx:Button id="bookItButton" enabled="false" styleName="myHighlight"
+ label="{resourceManager.getString(MY_BUNDLE, 'SUMMARY_PANEL_BOOK_IT')}"/>
+ </mx:VBox>
+ </mx:Panel>
+
+ </mx:HBox>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Flights.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Flights.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Flights.xml
new file mode 100644
index 0000000..c97dfb8
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Flights.xml
@@ -0,0 +1,488 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<flights>
+
+ <!-- from Los Angeles -->
+ <route from="LAX" to="JFK" distance="3971">
+ <flight id="WW873" departs="0758" price="467.42"/>
+ <flight id="WW625" departs="0941" price="389.08"/>
+ <flight id="WW928" departs="1151" price="440.85"/>
+ <flight id="WW486" departs="1401" price="320.69"/>
+ <flight id="WW615" departs="1541" price="470.88"/>
+ <flight id="WW956" departs="1820" price="394.79"/>
+ <flight id="WW171" departs="1953" price="446.29"/>
+ <flight id="WW608" departs="2158" price="388.45"/>
+ </route>
+ <route from="LAX" to="GRU" distance="9912">
+ <flight id="WW439" departs="1138" price="897.71"/>
+ <flight id="WW214" departs="1743" price="997.37"/>
+ </route>
+ <route from="LAX" to="CPT" distance="16047"/>
+ <route from="LAX" to="LHR" distance="8754">
+ <flight id="WW445" departs="0842" price="785.54"/>
+ <flight id="WW593" departs="1109" price="1004.56"/>
+ <flight id="WW774" departs="1331" price="947.60"/>
+ <flight id="WW293" departs="1628" price="868.55"/>
+ <flight id="WW218" departs="1908" price="818.03"/>
+ <flight id="WW283" departs="2113" price="879.87"/>
+ </route>
+ <route from="LAX" to="SVO" distance="9751">
+ <flight id="WW942" departs="1058" price="1042.76"/>
+ <flight id="WW229" departs="1808" price="1168.89"/>
+ </route>
+ <route from="LAX" to="DXB" distance="13391">
+ <flight id="WW591" departs="1233" price="1230.28"/>
+ <flight id="WW176" departs="1800" price="1514.15"/>
+ </route>
+ <route from="LAX" to="DEL" distance="12866">
+ <flight id="WW220" departs="1217" price="1358.19"/>
+ <flight id="WW368" departs="1802" price="1067.30"/>
+ </route>
+ <route from="LAX" to="SHA" distance="10436">
+ <flight id="WW628" departs="0958" price="899.94"/>
+ <flight id="WW686" departs="1322" price="961.75"/>
+ <flight id="WW578" departs="1612" price="1027.25"/>
+ <flight id="WW269" departs="2014" price="954.07"/>
+ </route>
+ <route from="LAX" to="NRT" distance="8748">
+ <flight id="WW614" departs="0940" price="769.92"/>
+ <flight id="WW414" departs="1232" price="793.94"/>
+ <flight id="WW564" departs="1621" price="780.86"/>
+ <flight id="WW145" departs="2011" price="1012.91"/>
+ </route>
+ <route from="LAX" to="SYD" distance="12053">
+ <flight id="WW941" departs="1151" price="1231.12"/>
+ <flight id="WW555" departs="1803" price="1304.17"/>
+ </route>
+
+ <!-- from New York -->
+ <route from="JFK" to="LAX" distance="3971">
+ <flight id="WW166" departs="0803" price="436.60"/>
+ <flight id="WW848" departs="0959" price="385.59"/>
+ <flight id="WW466" departs="1141" price="402.74"/>
+ <flight id="WW603" departs="1356" price="329.08"/>
+ <flight id="WW241" departs="1543" price="353.71"/>
+ <flight id="WW256" departs="1755" price="354.26"/>
+ <flight id="WW147" departs="1954" price="401.23"/>
+ <flight id="WW928" departs="2213" price="449.26"/>
+ </route>
+ <route from="JFK" to="GRU" distance="7658">
+ <flight id="WW277" departs="0931" price="840.35"/>
+ <flight id="WW375" departs="1313" price="623.34"/>
+ <flight id="WW739" departs="1616" price="621.91"/>
+ <flight id="WW897" departs="2012" price="837.22"/>
+ </route>
+ <route from="JFK" to="CPT" distance="12531">
+ <flight id="WW735" departs="1204" price="1008.81"/>
+ <flight id="WW618" departs="1908" price="1420.30"/>
+ </route>
+ <route from="JFK" to="LHR" distance="5537">
+ <flight id="WW629" departs="0742" price="533.42"/>
+ <flight id="WW744" departs="1005" price="505.94"/>
+ <flight id="WW173" departs="1150" price="535.46"/>
+ <flight id="WW643" departs="1348" price="550.26"/>
+ <flight id="WW955" departs="1619" price="494.34"/>
+ <flight id="WW893" departs="1735" price="502.92"/>
+ <flight id="WW897" departs="1956" price="525.35"/>
+ <flight id="WW600" departs="2200" price="658.62"/>
+ </route>
+ <route from="JFK" to="SVO" distance="7477">
+ <flight id="WW833" departs="0953" price="713.29"/>
+ <flight id="WW734" departs="1309" price="634.66"/>
+ <flight id="WW812" departs="1716" price="864.98"/>
+ <flight id="WW546" departs="1946" price="671.24"/>
+ </route>
+ <route from="JFK" to="DXB" distance="10993">
+ <flight id="WW337" departs="0941" price="1012.47"/>
+ <flight id="WW778" departs="1259" price="1265.14"/>
+ <flight id="WW927" departs="1619" price="955.94"/>
+ <flight id="WW458" departs="1955" price="1076.04"/>
+ </route>
+ <route from="JFK" to="DEL" distance="11748">
+ <flight id="WW167" departs="1107" price="1023.98"/>
+ <flight id="WW646" departs="1754" price="1250.35"/>
+ </route>
+ <route from="JFK" to="SHA" distance="11869">
+ <flight id="WW376" departs="1153" price="984.96"/>
+ <flight id="WW523" departs="1804" price="1057.97"/>
+ </route>
+ <route from="JFK" to="NRT" distance="10823">
+ <flight id="WW129" departs="1255" price="897.62"/>
+ <flight id="WW157" departs="1844" price="1192.06"/>
+ </route>
+ <route from="JFK" to="SYD" distance="16002"/>
+ <route from="GRU" to="LAX" distance="9912">
+ <flight id="WW437" departs="1115" price="812.01"/>
+ <flight id="WW232" departs="1822" price="1075.21"/>
+ </route>
+
+ <!-- from Sao Paulo -->
+ <route from="GRU" to="JFK" distance="7658">
+ <flight id="WW609" departs="0859" price="616.38"/>
+ <flight id="WW663" departs="1320" price="830.22"/>
+ <flight id="WW839" departs="1626" price="781.31"/>
+ <flight id="WW520" departs="2027" price="736.87"/>
+ </route>
+ <route from="GRU" to="CPT" distance="6326">
+ <flight id="WW878" departs="1154" price="561.28"/>
+ <flight id="WW617" departs="1846" price="563.72"/>
+ </route>
+ <route from="GRU" to="LHR" distance="9454">
+ <flight id="WW177" departs="1158" price="853.85"/>
+ <flight id="WW173" departs="1851" price="786.32"/>
+ </route>
+ <route from="GRU" to="SVO" distance="11774"/>
+ <route from="GRU" to="DXB" distance="12205"/>
+ <route from="GRU" to="DEL" distance="14389"/>
+ <route from="GRU" to="SHA" distance="18522"/>
+ <route from="GRU" to="NRT" distance="18480"/>
+ <route from="GRU" to="SYD" distance="13359"/>
+
+ <!-- from Cape Town -->
+ <route from="CPT" to="LAX" distance="16047"/>
+ <route from="CPT" to="JFK" distance="12531">
+ <flight id="WW790" departs="1106" price="1272.32"/>
+ <flight id="WW686" departs="1846" price="1291.36"/>
+ </route>
+ <route from="CPT" to="GRU" distance="6326">
+ <flight id="WW526" departs="1230" price="530.37"/>
+ <flight id="WW827" departs="1810" price="575.49"/>
+ </route>
+ <route from="CPT" to="LHR" distance="9664">
+ <flight id="WW154" departs="1223" price="954.73"/>
+ <flight id="WW224" departs="1656" price="978.31"/>
+ </route>
+ <route from="CPT" to="SVO" distance="10150"/>
+ <route from="CPT" to="DXB" distance="7645">
+ <flight id="WW918" departs="1058" price="890.62"/>
+ <flight id="WW753" departs="1718" price="810.14"/>
+ </route>
+ <route from="CPT" to="DEL" distance="9291">
+ <flight id="WW387" departs="1050" price="970.09"/>
+ <flight id="WW793" departs="1654" price="830.94"/>
+ </route>
+ <route from="CPT" to="SHA" distance="12961"/>
+ <route from="CPT" to="NRT" distance="14789"/>
+ <route from="CPT" to="SYD" distance="11000"/>
+
+ <!-- from London -->
+ <route from="LHR" to="LAX" distance="8754">
+ <flight id="WW518" departs="0849" price="940.26"/>
+ <flight id="WW566" departs="1131" price="945.00"/>
+ <flight id="WW612" departs="1331" price="728.87"/>
+ <flight id="WW808" departs="1633" price="1026.67"/>
+ <flight id="WW351" departs="1855" price="843.81"/>
+ <flight id="WW937" departs="2103" price="1008.75"/>
+ </route>
+ <route from="LHR" to="JFK" distance="5537">
+ <flight id="WW712" departs="0806" price="555.33"/>
+ <flight id="WW320" departs="0937" price="658.79"/>
+ <flight id="WW868" departs="1151" price="472.34"/>
+ <flight id="WW944" departs="1343" price="492.23"/>
+ <flight id="WW134" departs="1553" price="540.28"/>
+ <flight id="WW351" departs="1814" price="528.59"/>
+ <flight id="WW948" departs="2018" price="486.19"/>
+ <flight id="WW789" departs="2214" price="566.93"/>
+ </route>
+ <route from="LHR" to="GRU" distance="9454">
+ <flight id="WW786" departs="1130" price="1109.52"/>
+ <flight id="WW670" departs="1826" price="1006.91"/>
+ </route>
+ <route from="LHR" to="CPT" distance="9664">
+ <flight id="WW561" departs="1137" price="974.54"/>
+ <flight id="WW197" departs="1753" price="1062.80"/>
+ </route>
+ <route from="LHR" to="SVO" distance="2506">
+ <flight id="WW604" departs="1210" price="226.72"/>
+ <flight id="WW555" departs="1840" price="288.35"/>
+ </route>
+ <route from="LHR" to="DXB" distance="5492">
+ <flight id="WW635" departs="0909" price="645.00"/>
+ <flight id="WW591" departs="1338" price="556.98"/>
+ <flight id="WW128" departs="1623" price="552.51"/>
+ <flight id="WW359" departs="1941" price="479.16"/>
+ </route>
+ <route from="LHR" to="DEL" distance="6727">
+ <flight id="WW463" departs="0953" price="797.72"/>
+ <flight id="WW855" departs="1323" price="608.34"/>
+ <flight id="WW718" departs="1726" price="606.64"/>
+ <flight id="WW185" departs="2002" price="750.22"/>
+ </route>
+ <route from="LHR" to="SHA" distance="9206">
+ <flight id="WW483" departs="0949" price="1030.93"/>
+ <flight id="WW731" departs="1323" price="978.76"/>
+ <flight id="WW950" departs="1639" price="888.00"/>
+ <flight id="WW525" departs="2032" price="790.05"/>
+ </route>
+ <route from="LHR" to="NRT" distance="9585">
+ <flight id="WW947" departs="0920" price="936.53"/>
+ <flight id="WW572" departs="1325" price="858.46"/>
+ <flight id="WW796" departs="1700" price="883.97"/>
+ <flight id="WW225" departs="2031" price="1148.69"/>
+ </route>
+ <route from="LHR" to="SYD" distance="17009"/>
+
+ <!-- from Moscow -->
+ <route from="SVO" to="LAX" distance="9751">
+ <flight id="WW676" departs="1209" price="1051.68"/>
+ <flight id="WW671" departs="1721" price="1020.87"/>
+ </route>
+ <route from="SVO" to="JFK" distance="7477">
+ <flight id="WW544" departs="0859" price="624.11"/>
+ <flight id="WW431" departs="1321" price="671.30"/>
+ <flight id="WW527" departs="1609" price="853.27"/>
+ <flight id="WW715" departs="2025" price="658.59"/>
+ </route>
+ <route from="SVO" to="GRU" distance="11774"/>
+ <route from="SVO" to="CPT" distance="10150"/>
+ <route from="SVO" to="LHR" distance="2506">
+ <flight id="WW365" departs="1203" price="238.82"/>
+ <flight id="WW523" departs="1840" price="249.54"/>
+ </route>
+ <route from="SVO" to="DXB" distance="3708">
+ <flight id="WW516" departs="0907" price="326.06"/>
+ <flight id="WW614" departs="1244" price="368.77"/>
+ <flight id="WW704" departs="1641" price="438.98"/>
+ <flight id="WW351" departs="2049" price="352.96"/>
+ </route>
+ <route from="SVO" to="DEL" distance="4361">
+ <flight id="WW281" departs="1255" price="352.67"/>
+ <flight id="WW156" departs="1806" price="517.02"/>
+ </route>
+ <route from="SVO" to="SHA" distance="6813">
+ <flight id="WW610" departs="1128" price="763.01"/>
+ <flight id="WW409" departs="1831" price="768.98"/>
+ </route>
+ <route from="SVO" to="NRT" distance="7502">
+ <flight id="WW451" departs="1248" price="601.10"/>
+ <flight id="WW495" departs="1831" price="634.93"/>
+ </route>
+ <route from="SVO" to="SYD" distance="14505"/>
+
+ <!-- from Dubai -->
+ <route from="DXB" to="LAX" distance="13391">
+ <flight id="WW770" departs="1220" price="1188.01"/>
+ <flight id="WW661" departs="1734" price="1319.57"/>
+ </route>
+ <route from="DXB" to="JFK" distance="10993"/>
+ <route from="DXB" to="GRU" distance="12205"/>
+ <route from="DXB" to="CPT" distance="7645">
+ <flight id="WW883" departs="1244" price="668.70"/>
+ <flight id="WW328" departs="1835" price="832.14"/>
+ </route>
+ <route from="DXB" to="LHR" distance="5492">
+ <flight id="WW116" departs="1251" price="577.34"/>
+ <flight id="WW600" departs="1902" price="472.03"/>
+ </route>
+ <route from="DXB" to="SVO" distance="3708">
+ <flight id="WW371" departs="0917" price="330.75"/>
+ <flight id="WW105" departs="1231" price="338.65"/>
+ <flight id="WW769" departs="1647" price="303.56"/>
+ <flight id="WW345" departs="2056" price="387.22"/>
+ </route>
+ <route from="DXB" to="DEL" distance="2187">
+ <flight id="WW417" departs="1007" price="199.29"/>
+ <flight id="WW590" departs="1316" price="224.32"/>
+ <flight id="WW685" departs="1648" price="223.25"/>
+ <flight id="WW409" departs="2023" price="220.64"/>
+ </route>
+ <route from="DXB" to="SHA" distance="6403">
+ <flight id="WW927" departs="1010" price="752.48"/>
+ <flight id="WW170" departs="1234" price="563.95"/>
+ <flight id="WW269" departs="1650" price="665.83"/>
+ <flight id="WW571" departs="1948" price="712.35"/>
+ </route>
+ <route from="DXB" to="NRT" distance="7977">
+ <flight id="WW153" departs="1006" price="775.69"/>
+ <flight id="WW421" departs="1243" price="767.43"/>
+ <flight id="WW507" departs="1700" price="957.18"/>
+ <flight id="WW644" departs="1952" price="695.43"/>
+ </route>
+ <route from="DXB" to="SYD" distance="12038"/>
+ <route from="DEL" to="LAX" distance="12866">
+ <flight id="WW104" departs="1251" price="1236.72"/>
+ <flight id="WW409" departs="1715" price="1248.10"/>
+ </route>
+
+ <!-- from New Delhi -->
+ <route from="DEL" to="JFK" distance="11748">
+ <flight id="WW512" departs="1222" price="996.52"/>
+ <flight id="WW590" departs="1650" price="1184.59"/>
+ </route>
+ <route from="DEL" to="GRU" distance="14389"/>
+ <route from="DEL" to="CPT" distance="9291">
+ <flight id="WW760" departs="1134" price="854.58"/>
+ <flight id="WW543" departs="1845" price="1003.12"/>
+ </route>
+ <route from="DEL" to="LHR" distance="6727">
+ <flight id="WW336" departs="0907" price="796.51"/>
+ <flight id="WW161" departs="1240" price="576.68"/>
+ <flight id="WW255" departs="1720" price="643.23"/>
+ <flight id="WW957" departs="1941" price="762.12"/>
+ </route>
+ <route from="DEL" to="SVO" distance="4361">
+ <flight id="WW404" departs="1230" price="421.63"/>
+ <flight id="WW847" departs="1808" price="387.57"/>
+ </route>
+ <route from="DEL" to="DXB" distance="2187">
+ <flight id="WW338" departs="0946" price="187.21"/>
+ <flight id="WW794" departs="1310" price="261.33"/>
+ <flight id="WW321" departs="1619" price="237.60"/>
+ <flight id="WW497" departs="1946" price="198.43"/>
+ </route>
+ <route from="DEL" to="SHA" distance="4243">
+ <flight id="WW437" departs="0918" price="489.28"/>
+ <flight id="WW274" departs="1251" price="501.82"/>
+ <flight id="WW331" departs="1721" price="423.81"/>
+ <flight id="WW877" departs="1956" price="485.38"/>
+ </route>
+ <route from="DEL" to="NRT" distance="5904">
+ <flight id="WW877" departs="0920" price="560.20"/>
+ <flight id="WW748" departs="1251" price="662.45"/>
+ <flight id="WW726" departs="1640" price="544.14"/>
+ <flight id="WW650" departs="2012" price="497.42"/>
+ </route>
+ <route from="DEL" to="SYD" distance="10427">
+ <flight id="WW824" departs="1117" price="1144.39"/>
+ <flight id="WW117" departs="1727" price="1124.35"/>
+ </route>
+
+ <!-- from Shanghai -->
+ <route from="SHA" to="LAX" distance="10436">
+ <flight id="WW239" departs="0857" price="1244.22"/>
+ <flight id="WW566" departs="1323" price="944.68"/>
+ <flight id="WW928" departs="1634" price="947.97"/>
+ <flight id="WW943" departs="2104" price="1241.41"/>
+ </route>
+ <route from="SHA" to="JFK" distance="11869">
+ <flight id="WW501" departs="1130" price="1229.58"/>
+ <flight id="WW346" departs="1907" price="951.51"/>
+ </route>
+ <route from="SHA" to="GRU" distance="18522"/>
+ <route from="SHA" to="CPT" distance="12961"/>
+ <route from="SHA" to="LHR" distance="9206">
+ <flight id="WW550" departs="0918" price="765.98"/>
+ <flight id="WW794" departs="1317" price="994.45"/>
+ <flight id="WW212" departs="1608" price="806.07"/>
+ <flight id="WW796" departs="2004" price="1096.53"/>
+ </route>
+ <route from="SHA" to="SVO" distance="6813">
+ <flight id="WW958" departs="1234" price="774.18"/>
+ <flight id="WW342" departs="1908" price="574.98"/>
+ </route>
+ <route from="SHA" to="DXB" distance="6403">
+ <flight id="WW725" departs="0906" price="588.83"/>
+ <flight id="WW505" departs="1232" price="672.98"/>
+ <flight id="WW432" departs="1642" price="622.66"/>
+ <flight id="WW846" departs="1941" price="743.98"/>
+ </route>
+ <route from="SHA" to="DEL" distance="4243">
+ <flight id="WW272" departs="0855" price="456.56"/>
+ <flight id="WW282" departs="1347" price="492.06"/>
+ <flight id="WW809" departs="1655" price="384.65"/>
+ <flight id="WW687" departs="2047" price="508.49"/>
+ </route>
+ <route from="SHA" to="NRT" distance="1834">
+ <flight id="WW116" departs="0838" price="213.69"/>
+ <flight id="WW230" departs="1132" price="209.21"/>
+ <flight id="WW743" departs="1350" price="163.64"/>
+ <flight id="WW488" departs="1619" price="150.55"/>
+ <flight id="WW732" departs="1915" price="203.68"/>
+ <flight id="WW275" departs="2118" price="216.18"/>
+ </route>
+ <route from="SHA" to="SYD" distance="7885">
+ <flight id="WW429" departs="1251" price="733.03"/>
+ <flight id="WW988" departs="1735" price="835.20"/>
+ </route>
+
+ <!-- from Tokyo -->
+ <route from="NRT" to="LAX" distance="8748">
+ <flight id="WW160" departs="0908" price="895.40"/>
+ <flight id="WW998" departs="1254" price="1046.53"/>
+ <flight id="WW207" departs="1610" price="1046.85"/>
+ <flight id="WW833" departs="2039" price="931.84"/>
+ </route>
+ <route from="NRT" to="JFK" distance="10823">
+ <flight id="WW198" departs="1132" price="1099.64"/>
+ <flight id="WW783" departs="1729" price="1159.15"/>
+ </route>
+ <route from="NRT" to="GRU" distance="18480"/>
+ <route from="NRT" to="CPT" distance="14789"/>
+ <route from="NRT" to="LHR" distance="9585">
+ <flight id="WW778" departs="0947" price="861.80"/>
+ <flight id="WW523" departs="1236" price="1068.30"/>
+ <flight id="WW933" departs="1620" price="806.16"/>
+ <flight id="WW115" departs="1942" price="1013.28"/>
+ </route>
+ <route from="NRT" to="SVO" distance="7502">
+ <flight id="WW239" departs="1243" price="870.87"/>
+ <flight id="WW718" departs="1717" price="817.57"/>
+ </route>
+ <route from="NRT" to="DXB" distance="7977">
+ <flight id="WW492" departs="0941" price="827.91"/>
+ <flight id="WW881" departs="1230" price="672.40"/>
+ <flight id="WW311" departs="1613" price="712.96"/>
+ <flight id="WW645" departs="1948" price="647.39"/>
+ </route>
+ <route from="NRT" to="DEL" distance="5904">
+ <flight id="WW657" departs="0943" price="642.77"/>
+ <flight id="WW701" departs="1322" price="482.63"/>
+ <flight id="WW918" departs="1631" price="545.27"/>
+ <flight id="WW196" departs="2002" price="503.27"/>
+ </route>
+ <route from="NRT" to="SHA" distance="1834">
+ <flight id="WW227" departs="0823" price="160.94"/>
+ <flight id="WW768" departs="1059" price="210.22"/>
+ <flight id="WW174" departs="1352" price="212.06"/>
+ <flight id="WW869" departs="1639" price="151.08"/>
+ <flight id="WW519" departs="1838" price="173.23"/>
+ <flight id="WW146" departs="2129" price="152.51"/>
+ </route>
+ <route from="NRT" to="SYD" distance="7827">
+ <flight id="WW349" departs="1108" price="703.57"/>
+ <flight id="WW611" departs="1829" price="908.15"/>
+ </route>
+
+ <!-- from Sydney -->
+ <route from="SYD" to="LAX" distance="12053">
+ <flight id="WW792" departs="1134" price="1256.68"/>
+ <flight id="WW192" departs="1708" price="1089.62"/>
+ </route>
+ <route from="SYD" to="JFK" distance="16002"/>
+ <route from="SYD" to="GRU" distance="13359"/>
+ <route from="SYD" to="CPT" distance="11000"/>
+ <route from="SYD" to="LHR" distance="17009"/>
+ <route from="SYD" to="SVO" distance="14505"/>
+ <route from="SYD" to="DXB" distance="12038"/>
+ <route from="SYD" to="DEL" distance="10427">
+ <flight id="WW619" departs="1115" price="1189.47"/>
+ <flight id="WW988" departs="1741" price="1143.81"/>
+ </route>
+ <route from="SYD" to="SHA" distance="7885">
+ <flight id="WW113" departs="1135" price="923.03"/>
+ <flight id="WW294" departs="1750" price="841.27"/>
+ </route>
+ <route from="SYD" to="NRT" distance="7827">
+ <flight id="WW986" departs="1110" price="635.02"/>
+ <flight id="WW665" departs="1836" price="806.74"/>
+ </route>
+
+</flights>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Timezones.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Timezones.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Timezones.xml
new file mode 100644
index 0000000..2ab933b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testCompiledLocalization/src/Timezones.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<timezones>
+ <timezone where="LAX" delta="-0800"/> <!-- Los Angeles, USA -->
+ <timezone where="JFK" delta="-0500"/> <!-- New York, USA -->
+ <timezone where="GRU" delta="-0300"/> <!-- Sao Paulo, Brazil -->
+ <timezone where="CPT" delta="+0200"/> <!-- Cape Town, South Africa -->
+ <timezone where="LHR" delta="+0000"/> <!-- London, England -->
+ <timezone where="SVO" delta="+0300"/> <!-- Moscow, Russia -->
+ <timezone where="DXB" delta="+0400"/> <!-- Dubai, United Arab Emirates -->
+ <timezone where="DEL" delta="+0530"/> <!-- New Delhi, India -->
+ <timezone where="SHA" delta="+0800"/> <!-- Shanghai, China -->
+ <timezone where="NRT" delta="+0900"/> <!-- Tokyo, Japan -->
+ <timezone where="SYD" delta="+1000"/> <!-- Sydney, Australia -->
+</timezones>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/pom.xml
new file mode 100644
index 0000000..c09da3d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/pom.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>l10n-app</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <localesCompiled>
+ <locale>en_US</locale>
+ <locale>ja_JP</locale>
+ </localesCompiled>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>l10n-lib</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>l10n-lib</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>rb.swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/src/main/flex/FlexMojosLocaleApp.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/src/main/flex/FlexMojosLocaleApp.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/src/main/flex/FlexMojosLocaleApp.mxml
new file mode 100644
index 0000000..05b44a0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/app/src/main/flex/FlexMojosLocaleApp.mxml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
+
+ xmlns:view="com.xyz.view.*"
+ >
+
+ <mx:Script>
+ <![CDATA[
+ [Bindable]
+ private var _locales:Array = [ "en_US", "ja_JP" ];
+
+ private function onChangeLocale(event:Event):void {
+ resourceManager.localeChain = [ localeComboBox.selectedItem, 'en_US' ];
+ }
+
+
+ ]]>
+ </mx:Script>
+
+ <mx:ComboBox id="localeComboBox"
+ dataProvider="{_locales}"
+ change="onChangeLocale(event)"/>
+
+ <view:MainView />
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/pom.xml
new file mode 100644
index 0000000..981ef16
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.L10NTest.testLocalizedLibraryAndApplication/lib/pom.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>l10n-lib</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <localesRuntime>
+ <locale>en_US</locale>
+ <locale>ja_JP</locale>
+ </localesRuntime>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
[09/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/ComplexStyles.css
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/ComplexStyles.css b/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/ComplexStyles.css
new file mode 100644
index 0000000..f22a89d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/ComplexStyles.css
@@ -0,0 +1,38 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/* styles/runtime/assets/ComplexStyles.css */
+Application {
+ theme-color: #9DBAEB;
+}
+Button {
+ fontFamily: Tahoma;
+ color: #000000;
+ fontSize: 11;
+ fontWeight: normal;
+ text-roll-over-color: #000000;
+}
+
+.noMargins {
+ margin-right: 0;
+ margin-left: 0;
+ margin-top: 0;
+ margin-bottom: 0;
+ horizontal-gap: 0;
+ vertical-gap: 0;
+}
+
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/pom.xml
new file mode 100644
index 0000000..3213974
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/pom.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest.coverage</groupId>
+ <artifactId>asdoc-inclusion-exclusion</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <namespaces>
+ <namespace>
+ <uri>http://asdoc.flexmojos.info/mxml</uri>
+ <manifest>${basedir}/src/main/resources/manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>http://it.flexmojos.info/mxml</uri>
+ <manifest>${basedir}/src/main/resources/nd-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+ <docAllNamespaces>true</docAllNamespaces>
+ <docClasses>
+ <include>Documentable</include>
+ </docClasses>
+ <excludeClasses>
+ <class>net.flexmojos.oss.it.Amarelo</class>
+ <class>net.flexmojos.oss.it.Vermelho</class>
+ </excludeClasses>
+ <headlessServer>true</headlessServer>
+ <!-- footer with comma, issue 82 -->
+ <footer>Something to be show, on footer</footer>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/Documentable.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/Documentable.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/Documentable.as
new file mode 100644
index 0000000..f3aa026
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/Documentable.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+ /**
+ * This is just a documentable class
+ */
+ public class Documentable
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Amarelo.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Amarelo.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Amarelo.as
new file mode 100644
index 0000000..6432561
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Amarelo.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is a dummy excluded class
+ */
+ public class Amarelo
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Azul.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Azul.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Azul.as
new file mode 100644
index 0000000..d1414eb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Azul.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is just a dummy class
+ */
+ public class Azul
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Verde.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Verde.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Verde.as
new file mode 100644
index 0000000..bb4a2f0
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Verde.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is a another excluded class
+ */
+ public class Verde
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Vermelho.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Vermelho.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Vermelho.as
new file mode 100644
index 0000000..00ce38b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/flex/net/flexmojos/oss/it/Vermelho.as
@@ -0,0 +1,28 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.it
+{
+ /**
+ * This is a another excluded class
+ */
+ public class Vermelho
+ {
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/manifest.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/manifest.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/manifest.xml
new file mode 100644
index 0000000..7d7e8d8
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/manifest.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<componentPackage>
+ <component id="Azul" class="net.flexmojos.oss.it.Azul"/>
+ <component id="Amarelo" class="net.flexmojos.oss.it.Amarelo"/>
+</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/nd-manifest.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/nd-manifest.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/nd-manifest.xml
new file mode 100644
index 0000000..55b84d7
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocInclusionExclusion/src/main/resources/nd-manifest.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<componentPackage>
+ <component id="Vermelho" class="net.flexmojos.oss.it.Vermelho"/>
+ <component id="Verde" class="net.flexmojos.oss.it.Verde"/>
+</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/pom.xml
new file mode 100644
index 0000000..84bf879
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/pom.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>com.adobe.samples</groupId>
+ <artifactId>calculator-api-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>tests</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1.2</version>
+ </plugin>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/src/com/adobe/example/Calculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/src/com/adobe/example/Calculator.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/src/com/adobe/example/Calculator.as
new file mode 100644
index 0000000..ac9a6da
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/src/com/adobe/example/Calculator.as
@@ -0,0 +1,43 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+
+ public class Calculator
+ {
+ public function multiply(
+ numberOne : Number,
+ numberTwo : Number ) : Number
+ {
+ return numberOne * numberTwo;
+ }
+
+ public function divide(
+ numberOne : Number,
+ numberTwo : Number ) : Number
+ {
+ if(numberTwo == 0) {
+ throw new Error("ZERO division");
+ }
+ return numberOne / numberTwo;
+ }
+ }
+}
+
+//
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator.as
new file mode 100644
index 0000000..e0eef5c
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator.as
@@ -0,0 +1,71 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculator extends TestCase
+ {
+ private var calculator : Calculator;
+
+ /**
+ * Constructor.
+ * @param methodName the name of the individual test to run.
+ */
+ public function TestCalculator( methodName : String = null )
+ {
+ super( methodName );
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#setUp().
+ */
+ override public function setUp() : void
+ {
+ calculator = new Calculator();
+ }
+
+ /**
+ * @see flexunit.framework.TestCase#tearDown().
+ */
+ override public function tearDown() : void
+ {
+ calculator = null;
+ }
+
+ public function testMultiplyPass() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 8, result );
+ }
+
+ public function testMultiplyFail() : void
+ {
+ var result : Number = calculator.multiply( 2, 4 );
+ assertEquals( 10, result );
+ }
+
+ public function testError() : void
+ {
+ throw new Error("An error");
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator2.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator2.as b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator2.as
new file mode 100644
index 0000000..3e88962
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0015CoverageTest.testAsdocReport/tests/com/adobe/example/TestCalculator2.as
@@ -0,0 +1,43 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile,
+ * optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <marvin (at) flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.adobe.example
+{
+ import flexunit.framework.TestCase;
+ import com.adobe.example.Calculator;
+
+ public class TestCalculator2 extends TestCase
+ {
+
+ public function testPass() : void
+ {
+ assertEquals( 8, 8 );
+ }
+
+ public function testFail() : void
+ {
+ assertEquals( 10, 8 );
+ }
+
+ public function testError() : void
+ {
+ throw new Error("An second error");
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/pom.xml
new file mode 100644
index 0000000..1c5c132
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/pom.xml
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>hello-world-no-inherit</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swf</packaging>
+
+ <properties>
+ <isIt>false</isIt>
+ </properties>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <locales>
+ <locale>en_US</locale>
+ </locales>
+ <defines>
+ <property>
+ <name>CFG::IT</name>
+ <value>${isIt}</value>
+ </property>
+ </defines>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <repositories>
+ <repository>
+ <id>flexmojos-repository</id>
+ <url>http://svn.sonatype.org/flexmojos/repository/</url>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>flexmojos-repository</id>
+ <url>http://svn.sonatype.org/flexmojos/repository/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/src/main/flex/main.mxml
new file mode 100644
index 0000000..488cf2b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.IT0091HelloWordTest.asdoc/src/main/flex/main.mxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+ <!--
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ -->
+
+ <!--
+ http://www.apache.org/licenses/LICENSE-2.0
+ -->
+
+ <!--
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="kill()">
+ <mx:Label text="Hello World w/o inherit =D" />
+
+ <mx:Script>
+ <![CDATA[
+ private function kill():void
+ {
+ CFG::IT {
+ System.exit( 3539 );
+ }
+ }
+ ]]>
+ </mx:Script>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/pom.xml
new file mode 100644
index 0000000..34da87d
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>net.flexmojos.oss.itests</groupId>
+ <artifactId>advancedflex-example</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>advancedflex</groupId>
+ <artifactId>debugger</artifactId>
+ <version>0.2alpha2</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample1.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample1.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample1.as
new file mode 100644
index 0000000..19c3b43
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample1.as
@@ -0,0 +1,35 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package {
+ import advancedflex.debugger.aut.framework.Assert;
+ import advancedflex.debugger.aut.framework.TestCase;
+ import advancedflex.debugger.aut.framework.ns.*;
+
+ public class TestCaseSample1 extends TestCase {
+ //test only.
+ test function a():void {
+ console.print("aa");
+ }
+ //test and check time if it is timeout.
+ time function b():int {
+ console.print("bb");
+ //if used time > return value,it will throw error.
+ return 10;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample2.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample2.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample2.as
new file mode 100644
index 0000000..29d88db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AdvancedFlexTest.testAdvancedFlexUnitExample/src/test/flex/TestCaseSample2.as
@@ -0,0 +1,33 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package {
+ import advancedflex.debugger.aut.framework.TestCase;
+ import advancedflex.debugger.aut.framework.ns.*;
+
+ public class TestCaseSample2 extends TestCase {
+ //test only.
+ test function cc():void {
+ console.print("aaa");
+ }
+ //test and check time if it is timeout.
+ time function dd():int {
+ console.print("bbb");
+ return 10;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/REMARK.txt
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/REMARK.txt b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/REMARK.txt
new file mode 100644
index 0000000..90e8cfa
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/REMARK.txt
@@ -0,0 +1 @@
+This compilation sort of locked up and Falcon never returned.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/pom.xml
new file mode 100644
index 0000000..aa23310
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest</groupId>
+ <artifactId>simple-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>air</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <configuration>
+ <storepass>flexmojos</storepass>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air-swf</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>swf</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air-swc</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/descriptor.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/descriptor.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/descriptor.xml
new file mode 100644
index 0000000..e5297fa
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/descriptor.xml
@@ -0,0 +1,153 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<application xmlns="http://ns.adobe.com/air/application/3.1">
+
+<!-- Adobe AIR Application Descriptor File Template.
+
+ Specifies parameters for identifying, installing, and launching AIR applications.
+ See http://www.adobe.com/go/air_1.0_application_descriptor for complete documentation.
+
+ xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/1.0
+ The last segment of the namespace specifies the version
+ of the AIR runtime required for this application to run.
+
+ minimumPatchLevel - The minimum patch level of the AIR runtime required to run
+ the application. Optional.
+-->
+
+ <!-- The application identifier string, unique to this application. Required. -->
+ <id>main</id>
+
+ <!-- Used as the filename for the application. Required. -->
+ <filename>main</filename>
+
+ <!-- The name that is displayed in the AIR application installer. Optional. -->
+ <name>main</name>
+
+ <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
+ <versionNumber>1.0.0</versionNumber>
+
+ <!-- Description, displayed in the AIR application installer. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- Copyright information. Optional -->
+ <!-- <copyright></copyright> -->
+
+ <!-- Settings for the application's initial window. Required. -->
+ <initialWindow>
+ <!-- The main SWF or HTML file of the application. Required. -->
+ <!-- Note: In Flex Builder, the SWF reference is set automatically. -->
+ <content>${output}</content>
+
+ <!-- The title of the main window. Optional. -->
+ <!-- <title></title> -->
+
+ <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
+ <!-- <systemChrome></systemChrome> -->
+
+ <!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
+ <!-- <transparent></transparent> -->
+
+ <!-- Whether the window is initially visible. Optional. Default false. -->
+ <!-- <visible></visible> -->
+
+ <!-- Whether the user can minimize the window. Optional. Default true. -->
+ <!-- <minimizable></minimizable> -->
+
+ <!-- Whether the user can maximize the window. Optional. Default true. -->
+ <!-- <maximizable></maximizable> -->
+
+ <!-- Whether the user can resize the window. Optional. Default true. -->
+ <!-- <resizable></resizable> -->
+
+ <!-- The window's initial width. Optional. -->
+ <!-- <width></width> -->
+
+ <!-- The window's initial height. Optional. -->
+ <!-- <height></height> -->
+
+ <!-- The window's initial x position. Optional. -->
+ <!-- <x></x> -->
+
+ <!-- The window's initial y position. Optional. -->
+ <!-- <y></y> -->
+
+ <!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
+ <!-- <minSize></minSize> -->
+
+ <!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
+ <!-- <maxSize></maxSize> -->
+ </initialWindow>
+
+ <!-- The subpath of the standard default installation location to use. Optional. -->
+ <!-- <installFolder></installFolder> -->
+
+ <!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
+ <!-- <programMenuFolder></programMenuFolder> -->
+
+ <!-- The icon the system uses for the application. For at least one resolution,
+ specify the path to a PNG file included in the AIR package. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- Whether the application handles the update when a user double-clicks an update version
+ of the AIR file (true), or the default AIR application installer handles the update (false).
+ Optional. Default false. -->
+ <!-- <customUpdateUI></customUpdateUI> -->
+
+ <!-- Whether the application can be launched when the user clicks a link in a web browser.
+ Optional. Default false. -->
+ <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
+
+ <!-- Listing of file types for which the application can register. Optional. -->
+ <!-- <fileTypes> -->
+
+ <!-- Defines one file type. Optional. -->
+ <!-- <fileType> -->
+
+ <!-- The name that the system displays for the registered file type. Required. -->
+ <!-- <name></name> -->
+
+ <!-- The extension to register. Required. -->
+ <!-- <extension></extension> -->
+
+ <!-- The description of the file type. Optional. -->
+ <!-- <description></description> -->
+
+ <!-- The MIME type. Optional. -->
+ <!-- <contentType></contentType> -->
+
+ <!-- The icon to display for the file type. Optional. -->
+ <!-- <icon>
+ <image16x16></image16x16>
+ <image32x32></image32x32>
+ <image48x48></image48x48>
+ <image128x128></image128x128>
+ </icon> -->
+
+ <!-- </fileType> -->
+ <!-- </fileTypes> -->
+
+</application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/sign.p12
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/sign.p12 b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/sign.p12
new file mode 100644
index 0000000..0be9fc3
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/air/src/main/resources/sign.p12 differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/pom.xml
new file mode 100644
index 0000000..436ee9c
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/pom.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>air</module>
+ <module>swf</module>
+ <module>swc</module>
+ </modules>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- Flex SDK dependencies -->
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Air SDK dependencies -->
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>air</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Air runtime dependencies -->
+ <dependency>
+ <groupId>com.adobe.air</groupId>
+ <artifactId>framework</artifactId>
+ <version>13.0</version>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/pom.xml
new file mode 100644
index 0000000..c3cdcfc
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/pom.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest</groupId>
+ <artifactId>simple-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air-swc</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swc</packaging>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/src/main/flex/Label.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/src/main/flex/Label.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/src/main/flex/Label.mxml
new file mode 100644
index 0000000..942b47e
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swc/src/main/flex/Label.mxml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Label xmlns:mx="http://www.adobe.com/2006/mxml" text="Hello World"/>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/pom.xml
new file mode 100644
index 0000000..cc3157a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/pom.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>info.rvin.itest</groupId>
+ <artifactId>simple-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air-swf</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>swf</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simple-air-swc</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/src/main/flex/main.mxml
new file mode 100644
index 0000000..2abd6e2
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.airApp/swf/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:local="*">
+ <local:Label/>
+</mx:WindowedApplication>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/pom.xml
new file mode 100644
index 0000000..13f05c5
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/pom.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>native-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>air</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <storepass>flexmojos</storepass>
+ <packages>
+ <pack>air</pack>
+ <!-- <pack>${os.packages}</pack> -->
+ <!-- <pack>apk</pack> -->
+ </packages>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.air</groupId>
+ <artifactId>compiler</artifactId>
+ <version>13.0</version>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- Flex SDK dependencies -->
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Air SDK dependencies -->
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>air</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Air runtime dependencies -->
+ <dependency>
+ <groupId>com.adobe.air</groupId>
+ <artifactId>framework</artifactId>
+ <version>13.0</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/flex/main.mxml
new file mode 100644
index 0000000..ef2f69a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/flex/main.mxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+</mx:WindowedApplication>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/descriptor.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/descriptor.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/descriptor.xml
new file mode 100644
index 0000000..5f87c47
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/descriptor.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<application xmlns="http://ns.adobe.com/air/application/3.1">
+ <id>main</id>
+ <filename>main</filename>
+ <name>main</name>
+ <versionNumber>1.0</versionNumber>
+ <versionLabel>v1</versionLabel>
+
+ <initialWindow>
+ <content>${output}</content>
+ </initialWindow>
+</application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/sign.p12
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/sign.p12 b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/sign.p12
new file mode 100644
index 0000000..0be9fc3
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/main/resources/sign.p12 differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/test/flex/AnnotatedTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/test/flex/AnnotatedTest.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/test/flex/AnnotatedTest.as
new file mode 100644
index 0000000..0d138db
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.nativeAir/src/test/flex/AnnotatedTest.as
@@ -0,0 +1,40 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * @author Seven
+ */
+package {
+
+ import flexunit.framework.Assert;
+ import flash.errors.IOError;
+
+ public class AnnotatedTest {
+
+ [Test]
+ public function addition():void {
+ Assert.assertEquals(12, 7 + 5);
+ }
+
+ [Test(expects="flash.errors.IOError")]
+ public function doIOError():void {
+ //a test which causes an IOError }Or
+ throw new IOError();
+ }
+ }
+
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/pom.xml
new file mode 100644
index 0000000..724aa7a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/pom.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>simplify-air</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>air</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <storepass>flexmojos</storepass>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.air</groupId>
+ <artifactId>compiler</artifactId>
+ <version>13.0</version>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <!-- Flex SDK dependencies -->
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Air SDK dependencies -->
+ <dependency>
+ <groupId>org.apache.flex.framework</groupId>
+ <artifactId>air</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <!-- Air runtime dependencies -->
+ <dependency>
+ <groupId>com.adobe.air</groupId>
+ <artifactId>framework</artifactId>
+ <version>13.0</version>
+ <type>pom</type>
+ </dependency>
+
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/flex/main.mxml
new file mode 100644
index 0000000..ef2f69a
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/flex/main.mxml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+</mx:WindowedApplication>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/128.png
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/128.png b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/128.png
new file mode 100644
index 0000000..ae719ca
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/128.png differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/16.png
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/16.png b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/16.png
new file mode 100644
index 0000000..2d0df00
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/16.png differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/32.png
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/32.png b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/32.png
new file mode 100644
index 0000000..a551a29
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/32.png differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/48.png
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/48.png b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/48.png
new file mode 100644
index 0000000..92943cd
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.tests.concept.AirTest.simplify/src/main/resources/48.png differ
[04/10] Added the compilable version of all test projects that fail
with falcon and did not fail with the default compiler.
Posted by cd...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Slider.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Slider.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Slider.as
new file mode 100644
index 0000000..50078f1
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Slider.as
@@ -0,0 +1,352 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+ import flash.geom.Rectangle;
+
+ public class Slider extends Component
+ {
+ protected var _handle:Sprite;
+ private var _back:Sprite;
+ private var _backClick:Boolean = false;
+ protected var _value:Number = 0;
+ protected var _max:Number = 100;
+ protected var _min:Number = 0;
+ protected var _orientation:String;
+ protected var _tick:Number = 1;
+
+ public static const HORIZONTAL:String = "horizontal";
+ public static const VERTICAL:String = "vertical";
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Slider.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param defaultHandler The event handling function to handle the default event for this component (change in this case).
+ */
+ public function Slider(orientation:String = Slider.HORIZONTAL, parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, defaultHandler:Function = null)
+ {
+ _orientation = orientation;
+ super(parent, xpos, ypos);
+ if(defaultHandler != null)
+ {
+ addEventListener(Event.CHANGE, defaultHandler);
+ }
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+
+ if(_orientation == HORIZONTAL)
+ {
+ setSize(100, 10);
+ }
+ else
+ {
+ setSize(10, 100);
+ }
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _back = new Sprite();
+ _back.filters = [getShadow(2, true)];
+ addChild(_back);
+
+ _handle = new Sprite();
+ _handle.filters = [getShadow(1)];
+ _handle.addEventListener(MouseEvent.MOUSE_DOWN, onDrag);
+ _handle.buttonMode = true;
+ _handle.useHandCursor = true;
+ addChild(_handle);
+ }
+
+ /**
+ * Draws the back of the slider.
+ */
+ protected function drawBack():void
+ {
+ _back.graphics.clear();
+ _back.graphics.beginFill(Style.BACKGROUND);
+ _back.graphics.drawRect(0, 0, _width, _height);
+ _back.graphics.endFill();
+
+ if(_backClick)
+ {
+ _back.addEventListener(MouseEvent.MOUSE_DOWN, onBackClick);
+ }
+ else
+ {
+ _back.removeEventListener(MouseEvent.MOUSE_DOWN, onBackClick);
+ }
+ }
+
+ /**
+ * Draws the handle of the slider.
+ */
+ protected function drawHandle():void
+ {
+ _handle.graphics.clear();
+ _handle.graphics.beginFill(Style.BUTTON_FACE);
+ if(_orientation == HORIZONTAL)
+ {
+ _handle.graphics.drawRect(1, 1, _height - 2, _height - 2);
+ }
+ else
+ {
+ _handle.graphics.drawRect(1, 1, _width - 2, _width - 2);
+ }
+ _handle.graphics.endFill();
+ positionHandle();
+ }
+
+ /**
+ * Adjusts value to be within minimum and maximum.
+ */
+ protected function correctValue():void
+ {
+ if(_max > _min)
+ {
+ _value = Math.min(_value, _max);
+ _value = Math.max(_value, _min);
+ }
+ else
+ {
+ _value = Math.max(_value, _max);
+ _value = Math.min(_value, _min);
+ }
+ }
+
+ /**
+ * Adjusts position of handle when value, maximum or minimum have changed.
+ * TODO: Should also be called when slider is resized.
+ */
+ protected function positionHandle():void
+ {
+ var range:Number;
+ if(_orientation == HORIZONTAL)
+ {
+ range = width - height;
+ _handle.x = (_value - _min) / (_max - _min) * range;
+ }
+ else
+ {
+ range = height - width;
+ _handle.y = _height - _width - (_value - _min) / (_max - _min) * range;
+ }
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ drawBack();
+ drawHandle();
+ }
+
+ /**
+ * Convenience method to set the three main parameters in one shot.
+ * @param min The minimum value of the slider.
+ * @param max The maximum value of the slider.
+ * @param value The value of the slider.
+ */
+ public function setSliderParams(min:Number, max:Number, value:Number):void
+ {
+ this.minimum = min;
+ this.maximum = max;
+ this.value = value;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Handler called when user clicks the background of the slider, causing the handle to move to that point. Only active if backClick is true.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onBackClick(event:MouseEvent):void
+ {
+ if(_orientation == HORIZONTAL)
+ {
+ _handle.x = mouseX - height / 2;
+ _handle.x = Math.max(_handle.x, 0);
+ _handle.x = Math.min(_handle.x, width - height);
+ _value = _handle.x / (width - height) * (_max - _min) + _min;
+ }
+ else
+ {
+ _handle.y = mouseY - width / 2;
+ _handle.y = Math.max(_handle.y, 0);
+ _handle.y = Math.min(_handle.y, height - width);
+ _value = (_height - _width - _handle.y) / (height - width) * (_max - _min) + _min;
+ }
+ dispatchEvent(new Event(Event.CHANGE));
+
+ }
+
+ /**
+ * Internal mouseDown handler. Starts dragging the handle.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onDrag(event:MouseEvent):void
+ {
+ stage.addEventListener(MouseEvent.MOUSE_UP, onDrop);
+ stage.addEventListener(MouseEvent.MOUSE_MOVE, onSlide);
+ if(_orientation == HORIZONTAL)
+ {
+ _handle.startDrag(false, new Rectangle(0, 0, width - height, 0));
+ }
+ else
+ {
+ _handle.startDrag(false, new Rectangle(0, 0, 0, height - width));
+ }
+ }
+
+ /**
+ * Internal mouseUp handler. Stops dragging the handle.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onDrop(event:MouseEvent):void
+ {
+ stage.removeEventListener(MouseEvent.MOUSE_UP, onDrop);
+ stage.removeEventListener(MouseEvent.MOUSE_MOVE, onSlide);
+ stopDrag();
+ }
+
+ /**
+ * Internal mouseMove handler for when the handle is being moved.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onSlide(event:MouseEvent):void
+ {
+ var oldValue:Number = _value;
+ if(_orientation == HORIZONTAL)
+ {
+ _value = _handle.x / (width - height) * (_max - _min) + _min;
+ }
+ else
+ {
+ _value = (_height - _width - _handle.y) / (height - width) * (_max - _min) + _min;
+ }
+ if(_value != oldValue)
+ {
+ dispatchEvent(new Event(Event.CHANGE));
+ }
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets / gets whether or not a click on the background of the slider will move the handler to that position.
+ */
+ public function set backClick(b:Boolean):void
+ {
+ _backClick = b;
+ invalidate();
+ }
+ public function get backClick():Boolean
+ {
+ return _backClick;
+ }
+
+ /**
+ * Sets / gets the current value of this slider.
+ */
+ public function set value(v:Number):void
+ {
+ _value = v;
+ correctValue();
+ positionHandle();
+ }
+ public function get value():Number
+ {
+ return Math.round(_value / _tick) * _tick;
+ }
+
+ /**
+ * Gets / sets the maximum value of this slider.
+ */
+ public function set maximum(m:Number):void
+ {
+ _max = m;
+ correctValue();
+ positionHandle();
+ }
+ public function get maximum():Number
+ {
+ return _max;
+ }
+
+ /**
+ * Gets / sets the minimum value of this slider.
+ */
+ public function set minimum(m:Number):void
+ {
+ _min = m;
+ correctValue();
+ positionHandle();
+ }
+ public function get minimum():Number
+ {
+ return _min;
+ }
+
+ /**
+ * Gets / sets the tick value of this slider. This round the value to the nearest multiple of this number.
+ */
+ public function set tick(t:Number):void
+ {
+ _tick = t;
+ }
+ public function get tick():Number
+ {
+ return _tick;
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Style.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Style.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Style.as
new file mode 100644
index 0000000..29e8059
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Style.as
@@ -0,0 +1,30 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ public class Style
+ {
+ public static var BACKGROUND:uint = 0xCCCCCC;
+ public static var BUTTON_FACE:uint = 0xFFFFFF;
+ public static var INPUT_TEXT:uint = 0x333333;
+ public static var LABEL_TEXT:uint = 0x666666;
+ public static var DROPSHADOW:uint = 0x000000;
+ public static var PANEL:uint = 0xF3F3F3;
+ public static var PROGRESS_BAR:uint = 0xFFFFFF;
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Text.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Text.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Text.as
new file mode 100644
index 0000000..d460f1c
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Text.as
@@ -0,0 +1,154 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.events.Event;
+ import flash.text.TextField;
+ import flash.text.TextFieldType;
+ import flash.text.TextFormat;
+
+ public class Text extends Component
+ {
+ private var _tf:TextField;
+ private var _text:String = "";
+ private var _editable:Boolean = true;
+ private var _panel:Panel;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Label.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param text The initial text to display in this component.
+ */
+ public function Text(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0, text:String = "")
+ {
+ _text = text;
+ super(parent, xpos, ypos);
+ setSize(200, 100);
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _panel = new Panel(this);
+ _panel.color = 0xffffff;
+
+ _tf = new TextField();
+ _tf.x = 2;
+ _tf.y = 2;
+ _tf.height = _height;
+ _tf.embedFonts = true;
+ _tf.multiline = true;
+ _tf.wordWrap = true;
+ _tf.selectable = true;
+ _tf.type = TextFieldType.INPUT;
+ _tf.defaultTextFormat = new TextFormat("PF Ronda Seven", 8, Style.LABEL_TEXT);
+ _tf.addEventListener(Event.CHANGE, onChange);
+ addChild(_tf);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+
+ _panel.setSize(_width, _height);
+
+ _tf.width = _width - 4;
+ _tf.height = _height - 4;
+ _tf.text = _text;
+ if(_editable)
+ {
+ _tf.mouseEnabled = true;
+ _tf.selectable = true;
+ _tf.type = TextFieldType.INPUT;
+ }
+ else
+ {
+ _tf.mouseEnabled = false;
+ _tf.selectable = false;
+ _tf.type = TextFieldType.DYNAMIC;
+ }
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ protected function onChange(event:Event):void
+ {
+ _text = _tf.text;
+ dispatchEvent(event);
+ }
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the text of this Label.
+ */
+ public function set text(t:String):void
+ {
+ _text = t;
+ invalidate();
+ }
+ public function get text():String
+ {
+ return _text;
+ }
+
+ /**
+ * Gets / sets whether or not this text component will be editable.
+ */
+ public function set editable(b:Boolean):void
+ {
+ _editable = b;
+ invalidate();
+ }
+ public function get editable():Boolean
+ {
+ return _editable;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/UISlider.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/UISlider.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/UISlider.as
new file mode 100644
index 0000000..f5eebbf
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/UISlider.as
@@ -0,0 +1,232 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.events.Event;
+
+ public class UISlider extends Component
+ {
+ protected var _label:Label;
+ protected var _valueLabel:Label;
+ protected var _slider:Slider;
+ private var _precision:int = 1;
+ protected var _sliderClass:Class;
+ private var _labelText:String;
+ private var _tick:Number = 1;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this UISlider.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label The initial string to display as this component's label.
+ * @param defaultHandler The event handling function to handle the default event for this component (change in this case).
+ */
+ public function UISlider(parent:DisplayObjectContainer = null, x:Number = 0, y:Number = 0, label:String = "", defaultEventHandler:Function = null)
+ {
+ _labelText = label;
+ super(parent, x, y);
+ if(defaultEventHandler != null)
+ {
+ addEventListener(Event.CHANGE, defaultEventHandler);
+ }
+ formatValueLabel();
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _label = new Label(this, 0, 0);
+ _slider = new _sliderClass(this, 0, 0, onSliderChange);
+ _valueLabel = new Label(this);
+ }
+
+ /**
+ * Formats the value of the slider to a string based on the current level of precision.
+ */
+ protected function formatValueLabel():void
+ {
+ var mult:Number = Math.pow(10, _precision);
+ var val:String = (Math.round(_slider.value * mult) / mult).toString();
+ var parts:Array = val.split(".");
+ if(parts[1] == null)
+ {
+ if(_precision > 0)
+ {
+ val += "."
+ }
+ for(var i:uint = 0; i < _precision; i++)
+ {
+ val += "0";
+ }
+ }
+ else if(parts[1].length < _precision)
+ {
+ for(i = 0; i < _precision - parts[1].length; i++)
+ {
+ val += "0";
+ }
+ }
+ _valueLabel.text = val;
+ positionLabel();
+ }
+
+ /**
+ * Positions the label when it has changed. Implemented in child classes.
+ */
+ protected function positionLabel():void
+ {
+
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of this component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _label.text = _labelText
+ _label.draw();
+ formatValueLabel();
+ }
+
+ /**
+ * Convenience method to set the three main parameters in one shot.
+ * @param min The minimum value of the slider.
+ * @param max The maximum value of the slider.
+ * @param value The value of the slider.
+ */
+ public function setSliderParams(min:Number, max:Number, value:Number):void
+ {
+ _slider.setSliderParams(min, max, value);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Handler called when the slider's value changes.
+ * @param event The Event passed by the slider.
+ */
+ protected function onSliderChange(event:Event):void
+ {
+ formatValueLabel();
+ dispatchEvent(new Event(Event.CHANGE));
+ }
+
+
+
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Sets / gets the current value of this slider.
+ */
+ public function set value(v:Number):void
+ {
+ _slider.value = v;
+ formatValueLabel();
+ }
+ public function get value():Number
+ {
+ return _slider.value;
+ }
+
+ /**
+ * Gets / sets the maximum value of this slider.
+ */
+ public function set maximum(m:Number):void
+ {
+ _slider.maximum = m;
+ }
+ public function get maximum():Number
+ {
+ return _slider.maximum;
+ }
+
+ /**
+ * Gets / sets the minimum value of this slider.
+ */
+ public function set minimum(m:Number):void
+ {
+ _slider.minimum = m;
+ }
+ public function get minimum():Number
+ {
+ return _slider.minimum;
+ }
+
+ /**
+ * Gets / sets the number of decimals to format the value label. Does not affect the actual value of the slider, just the number shown.
+ */
+ public function set labelPrecision(decimals:int):void
+ {
+ _precision = decimals;
+ }
+ public function get labelPrecision():int
+ {
+ return _precision;
+ }
+
+ /**
+ * Gets / sets the text shown in this component's label.
+ */
+ public function set label(str:String):void
+ {
+ _labelText = str;
+// invalidate();
+ draw();
+ }
+ public function get label():String
+ {
+ return _labelText;
+ }
+
+ /**
+ * Gets / sets the tick value of this slider. This round the value to the nearest multiple of this number.
+ */
+ public function set tick(t:Number):void
+ {
+ _tick = t;
+ _slider.tick = _tick;
+ }
+ public function get tick():Number
+ {
+ return _tick;
+ }
+
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VBox.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VBox.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VBox.as
new file mode 100644
index 0000000..4d1ff79
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VBox.as
@@ -0,0 +1,88 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package com.bit101.components
+{
+ import flash.display.DisplayObject;
+ import flash.display.DisplayObjectContainer;
+ import flash.events.Event;
+
+ public class VBox extends Component
+ {
+ private var _spacing:Number = 5;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this PushButton.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ */
+ public function VBox(parent:DisplayObjectContainer = null, xpos:Number = 0, ypos:Number = 0)
+ {
+ super(parent, xpos, ypos);
+ }
+
+ /**
+ * Override of addChild to force layout;
+ */
+ override public function addChild(child:DisplayObject) : DisplayObject
+ {
+ super.addChild(child);
+ child.addEventListener(Event.RESIZE, onResize);
+ invalidate();
+ return child;
+ }
+
+ /**
+ * Internal handler for resize event of any attached component. Will redo the layout based on new size.
+ */
+ protected function onResize(event:Event):void
+ {
+ invalidate();
+ }
+
+ /**
+ * Draws the visual ui of the component, in this case, laying out the sub components.
+ */
+ override public function draw() : void
+ {
+ var ypos:Number = 0;
+ for(var i:int = 0; i < numChildren; i++)
+ {
+ var child:DisplayObject = getChildAt(i);
+ child.y = ypos;
+ ypos += child.height;
+ ypos += _spacing;
+ }
+ }
+
+ /**
+ * Gets / sets the spacing between each sub component.
+ */
+ public function set spacing(s:Number):void
+ {
+ _spacing = s;
+ invalidate();
+ }
+ public function get spacing():Number
+ {
+ return _spacing;
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VSlider.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VSlider.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VSlider.as
new file mode 100644
index 0000000..81ac337
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VSlider.as
@@ -0,0 +1,36 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+
+ public class VSlider extends Slider
+ {
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Slider.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param defaultHandler The event handling function to handle the default event for this component.
+ */
+ public function VSlider(parent:DisplayObjectContainer=null, xpos:Number=0, ypos:Number=0, defaultHandler:Function = null)
+ {
+ super(Slider.VERTICAL, parent, xpos, ypos, defaultHandler);
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VUISlider.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VUISlider.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VUISlider.as
new file mode 100644
index 0000000..165ce97
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/VUISlider.as
@@ -0,0 +1,93 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.events.Event;
+
+ public class VUISlider extends UISlider
+ {
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this VUISlider.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param label The string to use as the label for this component.
+ * @param defaultHandler The event handling function to handle the default event for this component.
+ */
+ public function VUISlider(parent:DisplayObjectContainer = null, x:Number = 0, y:Number = 0, label:String = "", defaultEventHandler:Function = null)
+ {
+ _sliderClass = VSlider;
+ super(parent, x, y, label, defaultEventHandler);
+ }
+
+ /**
+ * Initializes this component.
+ */
+ protected override function init():void
+ {
+ super.init();
+ setSize(20, 146);
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ override public function draw():void
+ {
+ super.draw();
+ _label.x = width / 2 - _label.width / 2;
+
+ _slider.x = width / 2 - _slider.width / 2;
+ _slider.y = _label.height + 5;
+ _slider.height = height - _label.height - _valueLabel.height - 10;
+
+ _valueLabel.x = width / 2 - _valueLabel.width / 2;
+ _valueLabel.y = _slider.y + _slider.height + 5;
+ }
+
+ override protected function positionLabel():void
+ {
+ _valueLabel.x = width / 2 - _valueLabel.width / 2;
+ }
+
+
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ override public function get width():Number
+ {
+ if(_label == null) return _width;
+ return Math.max(_width, _label.width);
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/WheelMenu.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/WheelMenu.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/WheelMenu.as
new file mode 100644
index 0000000..215d616
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/WheelMenu.as
@@ -0,0 +1,431 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+ import flash.filters.DropShadowFilter;
+
+ public class WheelMenu extends Component
+ {
+ private var _borderColor:uint = 0xcccccc;
+ private var _buttons:Array;
+ private var _color:uint = 0xffffff;
+ private var _highlightColor:uint = 0xeeeeee;
+ private var _iconRadius:Number;
+ private var _innerRadius:Number;
+ private var _items:Array;
+ private var _numButtons:int;
+ private var _outerRadius:Number;
+ private var _selectedIndex:int = -1;
+ private var _startingAngle:Number = -90;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this component.
+ * @param numButtons The number of segments in the menu
+ * @param outerRadius The radius of the menu as a whole.
+ * @parem innerRadius The radius of the inner circle at the center of the menu.
+ * @param defaultHandler The event handling function to handle the default event for this component (select in this case).
+ */
+ public function WheelMenu(parent:DisplayObjectContainer, numButtons:int, outerRadius:Number = 80, iconRadius:Number = 60, innerRadius:Number = 10, defaultHandler:Function = null)
+ {
+ _numButtons = numButtons;
+ _outerRadius = outerRadius;
+ _iconRadius = iconRadius;
+ _innerRadius = innerRadius;
+ super(parent);
+
+ if(defaultHandler != null)
+ {
+ addEventListener(Event.SELECT, defaultHandler);
+ }
+ }
+
+ ///////////////////////////////////
+ // protected methods
+ ///////////////////////////////////
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ _items = new Array();
+ makeButtons();
+
+ filters = [new DropShadowFilter(4, 45, 0, 1, 4, 4, .2, 4)];
+ hide();
+ }
+
+ /**
+ * Creates the buttons that make up the wheel menu.
+ */
+ protected function makeButtons():void
+ {
+ _buttons = new Array();
+ for(var i:int = 0; i < _numButtons; i++)
+ {
+ var btn:ArcButton = new ArcButton(Math.PI * 2 / _numButtons, _outerRadius, _iconRadius, _innerRadius);
+ btn.id = i;
+ btn.rotation = _startingAngle + 360 / _numButtons * i;
+ btn.addEventListener(Event.SELECT, onSelect);
+ addChild(btn);
+ _buttons.push(btn);
+ }
+ }
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Hides the menu.
+ */
+ public function hide():void
+ {
+ visible = false;
+ stage.removeEventListener(MouseEvent.MOUSE_UP, onStageMouseUp);
+ }
+
+ /**
+ * Sets the icon / text and data for a specific menu item.
+ * @param index The index of the item to set icon/text and data for.
+ * @iconOrLabel Either a display object instance, a class that extends DisplayObject, or text to show in a label.
+ * @data Any data to associate with the item.
+ */
+ public function setItem(index:int, iconOrLabel:Object, data:Object = null):void
+ {
+ _buttons[index].setIcon(iconOrLabel);
+ _items[index] = data;
+ }
+
+ /**
+ * Shows the menu - placing it on top level of parent and centering around mouse.
+ */
+ public function show():void
+ {
+ parent.addChild(this);
+ x = Math.round(parent.mouseX)
+ y = Math.round(parent.mouseY);
+ _selectedIndex = -1;
+ visible = true;
+ stage.addEventListener(MouseEvent.MOUSE_UP, onStageMouseUp);
+ }
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Called when one of the buttons is selected. Sets selected index and dispatches select event.
+ */
+ protected function onSelect(event:Event):void
+ {
+ _selectedIndex = event.target.id;
+ dispatchEvent(new Event(Event.SELECT));
+ }
+
+ /**
+ * Called when mouse is released. Hides menu.
+ */
+ protected function onStageMouseUp(event:MouseEvent):void
+ {
+ hide();
+ }
+
+ ///////////////////////////////////
+ // getter / setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets the color of the border around buttons.
+ */
+ public function set borderColor(value:uint):void
+ {
+ _borderColor = value;
+ for(var i:int = 0; i < _numButtons; i++)
+ {
+ _buttons[i].borderColor = _borderColor;
+ }
+ }
+ public function get borderColor():uint
+ {
+ return _borderColor;
+ }
+
+ /**
+ * Gets / sets the base color of buttons.
+ */
+ public function set color(value:uint):void
+ {
+ _color = value;
+ for(var i:int = 0; i < _numButtons; i++)
+ {
+ _buttons[i].color = _color;
+ }
+ }
+ public function get color():uint
+ {
+ return _color;
+ }
+
+ /**
+ * Gets / sets the highlighted color of buttons.
+ */
+ public function set highlightColor(value:uint):void
+ {
+ _highlightColor = value;
+ for(var i:int = 0; i < _numButtons; i++)
+ {
+ _buttons[i].selectedColor = _highlightColor;
+ }
+ }
+ public function get highlightColor():uint
+ {
+ return _highlightColor;
+ }
+
+ /**
+ * Gets the selected index.
+ */
+ public function get selectedIndex():int
+ {
+ return _selectedIndex;
+ }
+
+ /**
+ * Gets the selected item.
+ */
+ public function get selectedItem():Object
+ {
+ return _items[_selectedIndex];
+ }
+
+
+
+ }
+}
+
+
+/**
+ * ArcButton class. Internal class only used by WheelMenu.
+ */
+import flash.display.DisplayObject;
+import flash.display.Sprite;
+import flash.events.Event;
+import flash.events.MouseEvent;
+import flash.utils.getDefinitionByName;
+import flash.display.Shape;
+import com.bit101.components.Label;
+
+class ArcButton extends Sprite
+{
+ public var id:int;
+
+ private var _arc:Number;
+ private var _bg:Shape;
+ private var _borderColor:uint = 0xcccccc;
+ private var _color:uint = 0xffffff;
+ private var _highlightColor:uint = 0xeeeeee;
+ private var _icon:DisplayObject;
+ private var _iconHolder:Sprite;
+ private var _iconRadius:Number;
+ private var _innerRadius:Number;
+ private var _outerRadius:Number;
+
+ /**
+ * Constructor.
+ * @param arc The radians of the arc to draw.
+ * @param outerRadius The outer radius of the arc.
+ * @param innerRadius The inner radius of the arc.
+ */
+ public function ArcButton(arc:Number, outerRadius:Number, iconRadius:Number, innerRadius:Number)
+ {
+ _arc = arc;
+ _outerRadius = outerRadius;
+ _iconRadius = iconRadius;
+ _innerRadius = innerRadius;
+
+ _bg = new Shape();
+ addChild(_bg);
+
+ _iconHolder = new Sprite();
+ addChild(_iconHolder);
+
+ drawArc(0xffffff);
+ addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
+ addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
+ addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ }
+
+ ///////////////////////////////////
+ // private methods
+ ///////////////////////////////////
+
+ /**
+ * Draws an arc of the specified color.
+ * @param color The color to draw the arc.
+ */
+ protected function drawArc(color:uint):void
+ {
+ _bg.graphics.clear();
+ _bg.graphics.lineStyle(2, _borderColor);
+ _bg.graphics.beginFill(color);
+ _bg.graphics.moveTo(_innerRadius, 0);
+ _bg.graphics.lineTo(_outerRadius, 0);
+ for(var i:Number = 0; i < _arc; i += .05)
+ {
+ _bg.graphics.lineTo(Math.cos(i) * _outerRadius, Math.sin(i) * _outerRadius);
+ }
+ _bg.graphics.lineTo(Math.cos(_arc) * _outerRadius, Math.sin(_arc) * _outerRadius);
+ _bg.graphics.lineTo(Math.cos(_arc) * _innerRadius, Math.sin(_arc) * _innerRadius);
+ for(i = _arc; i > 0; i -= .05)
+ {
+ _bg.graphics.lineTo(Math.cos(i) * _innerRadius, Math.sin(i) * _innerRadius);
+ }
+ _bg.graphics.lineTo(_innerRadius, 0);
+
+ graphics.endFill();
+ }
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Sets the icon or label of this button.
+ * @param iconOrLabel Either a display object instance, a class that extends DisplayObject, or text to show in a label.
+ */
+ public function setIcon(iconOrLabel:Object):void
+ {
+ if(iconOrLabel == null) return;
+ while(_iconHolder.numChildren > 0) _iconHolder.removeChildAt(0);
+ if(iconOrLabel is Class)
+ {
+ _icon = new iconOrLabel() as DisplayObject;
+ }
+ else if(iconOrLabel is DisplayObject)
+ {
+ _icon = iconOrLabel as DisplayObject;
+ }
+ else if(iconOrLabel is String)
+ {
+ _icon = new Label(null, 0, 0, iconOrLabel as String);
+ (_icon as Label).draw();
+ }
+ if(_icon != null)
+ {
+ var angle:Number = _bg.rotation * Math.PI / 180;
+ _icon.x = Math.round(-_icon.width / 2);
+ _icon.y = Math.round(-_icon.height / 2);
+ _iconHolder.addChild(_icon);
+ _iconHolder.x = Math.round(Math.cos(angle + _arc / 2) * _iconRadius);
+ _iconHolder.y = Math.round(Math.sin(angle + _arc / 2) * _iconRadius);
+ }
+ }
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Called when mouse moves over this button. Draws highlight.
+ */
+ protected function onMouseOver(event:MouseEvent):void
+ {
+ drawArc(_highlightColor);
+ }
+
+ /**
+ * Called when mouse moves out of this button. Draw base color.
+ */
+ protected function onMouseOut(event:MouseEvent):void
+ {
+ drawArc(_color);
+ }
+
+ /**
+ * Called when mouse is released over this button. Dispatches select event.
+ */
+ protected function onMouseUp(event:MouseEvent):void
+ {
+ dispatchEvent(new Event(Event.SELECT));
+ }
+
+
+ ///////////////////////////////////
+ // getter / setters
+ ///////////////////////////////////
+
+ /**
+ * Sets / gets border color.
+ */
+ public function set borderColor(value:uint):void
+ {
+ _borderColor = value;
+ drawArc(_color);
+ }
+ public function get borderColor():uint
+ {
+ return _borderColor;
+ }
+
+ /**
+ * Sets / gets base color.
+ */
+ public function set color(value:uint):void
+ {
+ _color = value;
+ drawArc(_color);
+ }
+ public function get color():uint
+ {
+ return _color;
+ }
+
+ /**
+ * Sets / gets highlight color.
+ */
+ public function set highlightColor(value:uint):void
+ {
+ _highlightColor = value;
+ }
+ public function get highlightColor():uint
+ {
+ return _highlightColor;
+ }
+
+ /**
+ * Overrides rotation by rotating arc only, allowing label / icon to be unrotated.
+ */
+ override public function set rotation(value:Number):void
+ {
+ _bg.rotation = value;
+ }
+ override public function get rotation():Number
+ {
+ return _bg.rotation;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Window.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Window.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Window.as
new file mode 100644
index 0000000..5699992
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.ManifestTest.manifestCreation/src/com/bit101/components/Window.as
@@ -0,0 +1,284 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.bit101.components
+{
+ import flash.display.DisplayObjectContainer;
+ import flash.display.Sprite;
+ import flash.events.Event;
+ import flash.events.MouseEvent;
+
+ public class Window extends Component
+ {
+ private var _title:String;
+ private var _titleBar:Panel;
+ private var _titleLabel:Label;
+ private var _panel:Panel;
+ private var _color:int = -1;
+ private var _shadow:Boolean = true;
+ private var _draggable:Boolean = true;
+ private var _minimizeButton:Sprite;
+ private var _hasMinimizeButton:Boolean = false;
+ private var _minimized:Boolean = false;
+
+
+ /**
+ * Constructor
+ * @param parent The parent DisplayObjectContainer on which to add this Panel.
+ * @param xpos The x position to place this component.
+ * @param ypos The y position to place this component.
+ * @param title The string to display in the title bar.
+ */
+ public function Window(parent:DisplayObjectContainer=null, xpos:Number=0, ypos:Number=0, title:String="Window")
+ {
+ _title = title;
+ super(parent, xpos, ypos);
+ }
+
+ /**
+ * Initializes the component.
+ */
+ override protected function init():void
+ {
+ super.init();
+ setSize(100, 100);
+ }
+
+ /**
+ * Creates and adds the child display objects of this component.
+ */
+ override protected function addChildren():void
+ {
+ _titleBar = new Panel(this);
+ _titleBar.buttonMode = true;
+ _titleBar.useHandCursor = true;
+ _titleBar.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
+ _titleBar.height = 20;
+ _titleLabel = new Label(_titleBar.content, 5, 1, _title);
+
+ _panel = new Panel(this, 0, 20);
+ _panel.visible = !_minimized;
+
+ _minimizeButton = new Sprite();
+ _minimizeButton.graphics.beginFill(0, 0);
+ _minimizeButton.graphics.drawRect(-10, -10, 20, 20);
+ _minimizeButton.graphics.endFill();
+ _minimizeButton.graphics.beginFill(0, .35);
+ _minimizeButton.graphics.moveTo(-5, -3);
+ _minimizeButton.graphics.lineTo(5, -3);
+ _minimizeButton.graphics.lineTo(0, 4);
+ _minimizeButton.graphics.lineTo(-5, -3);
+ _minimizeButton.graphics.endFill();
+ _minimizeButton.x = 10;
+ _minimizeButton.y = 10;
+ _minimizeButton.useHandCursor = true;
+ _minimizeButton.buttonMode = true;
+ _minimizeButton.addEventListener(MouseEvent.CLICK, onMinimize);
+
+ filters = [getShadow(4, false)];
+ }
+
+
+
+
+ ///////////////////////////////////
+ // public methods
+ ///////////////////////////////////
+
+ /**
+ * Draws the visual ui of the component.
+ */
+ override public function draw():void
+ {
+ super.draw();
+ _titleBar.color = _color;
+ _panel.color = _color;
+ _titleBar.width = width;
+ _titleLabel.x = _hasMinimizeButton ? 20 : 5;
+ _panel.setSize(_width, _height - 20);
+ }
+
+
+ ///////////////////////////////////
+ // event handlers
+ ///////////////////////////////////
+
+ /**
+ * Internal mouseDown handler. Starts a drag.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onMouseDown(event:MouseEvent):void
+ {
+ this.startDrag();
+ stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ parent.addChild(this);
+ }
+
+ /**
+ * Internal mouseUp handler. Stops the drag.
+ * @param event The MouseEvent passed by the system.
+ */
+ protected function onMouseUp(event:MouseEvent):void
+ {
+ this.stopDrag();
+ stage.removeEventListener(MouseEvent.MOUSE_UP, onMouseUp);
+ }
+
+ protected function onMinimize(event:MouseEvent):void
+ {
+ minimized = !minimized;
+ }
+
+ ///////////////////////////////////
+ // getter/setters
+ ///////////////////////////////////
+
+ /**
+ * Gets / sets whether or not this Window will have a drop shadow.
+ */
+ public function set shadow(b:Boolean):void
+ {
+ _shadow = b;
+ if(_shadow)
+ {
+ filters = [getShadow(4, false)];
+ }
+ else
+ {
+ filters = [];
+ }
+ }
+ public function get shadow():Boolean
+ {
+ return _shadow;
+ }
+
+ /**
+ * Gets / sets the background color of this panel.
+ */
+ public function set color(c:int):void
+ {
+ _color = c;
+ invalidate();
+ }
+ public function get color():int
+ {
+ return _color;
+ }
+
+ /**
+ * Gets / sets the title shown in the title bar.
+ */
+ public function set title(t:String):void
+ {
+ _title = t;
+ _titleLabel.text = _title;
+ }
+ public function get title():String
+ {
+ return _title;
+ }
+
+ /**
+ * Container for content added to this panel. This is just a reference to the content of the internal Panel, which is masked, so best to add children to content, rather than directly to the window.
+ */
+ public function get content():DisplayObjectContainer
+ {
+ return _panel.content;
+ }
+
+ /**
+ * Sets / gets whether or not the window will be draggable by the title bar.
+ */
+ public function set draggable(b:Boolean):void
+ {
+ _draggable = b;
+ _titleBar.buttonMode = _draggable;
+ _titleBar.useHandCursor = _draggable;
+ if(_draggable)
+ {
+ _titleBar.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
+ }
+ else
+ {
+ _titleBar.removeEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
+ }
+ }
+ public function get draggable():Boolean
+ {
+ return _draggable;
+ }
+
+ /**
+ * Gets / sets whether or not the window will show a minimize button that will toggle the window open and closed. A closed window will only show the title bar.
+ */
+ public function set hasMinimizeButton(b:Boolean):void
+ {
+ _hasMinimizeButton = b;
+ if(_hasMinimizeButton)
+ {
+ addChild(_minimizeButton);
+ }
+ else if(contains(_minimizeButton))
+ {
+ removeChild(_minimizeButton);
+ }
+ invalidate();
+ }
+ public function get hasMinimizeButton():Boolean
+ {
+ return _hasMinimizeButton;
+ }
+
+ /**
+ * Gets / sets whether the window is closed. A closed window will only show its title bar.
+ */
+ public function set minimized(value:Boolean):void
+ {
+ _minimized = value;
+ _panel.visible = !_minimized;
+ if(_minimized)
+ {
+ _minimizeButton.rotation = -90;
+ }
+ else
+ {
+ _minimizeButton.rotation = 0;
+ }
+ dispatchEvent(new Event(Event.RESIZE));
+ }
+ public function get minimized():Boolean
+ {
+ return _minimized;
+ }
+
+ /**
+ * Gets the height of the component. A minimized window's height will only be that of its title bar.
+ */
+ override public function get height():Number
+ {
+ if(_panel.visible)
+ {
+ return super.height;
+ }
+ else
+ {
+ return 20;
+ }
+ }
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/pom.xml
new file mode 100644
index 0000000..8022f48
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/pom.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>metadata-test</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <name>Metadata Test project</name>
+ <description>Some kind of description text for test flex-metadata bugs</description>
+
+ <developers>
+ <developer>
+ <id>velo.br</id>
+ <name>Marvin Herman Froeder</name>
+ <email>velo.br at gmail.com</email>
+ <roles>
+ <role>Author Developer</role>
+ </roles>
+ <timezone>-3</timezone>
+ </developer>
+ <developer>
+ <id>joost</id>
+ <name>Joost den Boer</name>
+ <email>jdboer at e-id.nl</email>
+ <url>http://joost.claroquesi.info</url>
+ <organization>E-id! Internet Strategies B.V.</organization>
+ <organizationUrl>http://www.e-id.nl</organizationUrl>
+ <roles>
+ <role>Developer Documentation</role>
+ </roles>
+ <timezone>+1</timezone>
+ </developer>
+ <developer>
+ <id>logan</id>
+ <name>Logan Allred</name>
+ <email>RedBugz at gmail.com</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+ </developers>
+
+ <contributors>
+ <contributor>
+ <name>Justin</name>
+ </contributor>
+ </contributors>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <metadata>
+ <description>Some kind of description text for test flex-metadata bugs</description>
+ <localizedTitles>
+ <en-us>title for en-us locale from metadata</en-us>
+ </localizedTitles>
+ </metadata>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.MetadataTest.testMetadataTest/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/pom.xml
new file mode 100644
index 0000000..c602340
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>optimized-application</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>optimize-swf</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/src/main/flex/HelloWorld.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/src/main/flex/HelloWorld.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/src/main/flex/HelloWorld.as
new file mode 100644
index 0000000..4b39ba2
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedApplication/src/main/flex/HelloWorld.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+ public class HelloWorld
+ {
+ public function HelloWorld()
+ {
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/pom.xml
new file mode 100644
index 0000000..9ca3e37
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/pom.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>optimized-flex-library</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>create-rsl</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/src/main/flex/HelloWorld.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/src/main/flex/HelloWorld.as b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/src/main/flex/HelloWorld.as
new file mode 100644
index 0000000..4b39ba2
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.OptimizationTest.testOptimizedFlexLibrary/src/main/flex/HelloWorld.as
@@ -0,0 +1,27 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package
+{
+ public class HelloWorld
+ {
+ public function HelloWorld()
+ {
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/pom.xml
new file mode 100644
index 0000000..53aa151
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/pom.xml
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>hello-world</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <properties>
+ <isIt>false</isIt>
+ </properties>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <defines>
+ <property>
+ <name>CFG::IT</name>
+ <value>${isIt}</value>
+ </property>
+ </defines>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>org.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>4.1.0</version>
+ <classifier>flex4</classifier>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/src/main/flex/main.mxml
new file mode 100644
index 0000000..257fdab
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.concept.TestSwfTest.testSwf/src/main/flex/main.mxml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+ <!--
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ -->
+
+ <!--
+ http://www.apache.org/licenses/LICENSE-2.0
+ -->
+
+ <!--
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="kill()">
+ <mx:Label text="Hello World" />
+
+ <mx:Script>
+ <![CDATA[
+ private function kill():void
+ {
+ CFG::IT {
+ System.exit( 3539 );
+ }
+ }
+ ]]>
+ </mx:Script>
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/pom.xml
new file mode 100644
index 0000000..e68fbc2
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/pom.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.coverage.itest</groupId>
+ <artifactId>application-forced</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>Forced.mxml</sourceFile>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Forced.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Forced.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Forced.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Forced.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Index.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Index.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Index.mxml
new file mode 100644
index 0000000..2dafc90
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Index.mxml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+//Is empty because should not be used
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Main.mxml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Main.mxml
new file mode 100644
index 0000000..2dafc90
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-forced/src/main/flex/Main.mxml
@@ -0,0 +1,20 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+//Is empty because should not be used
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/pom.xml b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/pom.xml
new file mode 100644
index 0000000..0118247
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.tests.coverage.SourceFileResolverTest.testSourceFileResolver/application-index/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.coverage.itest</groupId>
+ <artifactId>application-index</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
[10/10] git commit: [flex-falcon] [refs/heads/feature-flexmojos] -
Added the compilable version of all test projects that fail with falcon and
did not fail with the default compiler.
Posted by cd...@apache.org.
Added the compilable version of all test projects that fail with falcon and did not fail with the default compiler.
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b6e082df
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b6e082df
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b6e082df
Branch: refs/heads/feature-flexmojos
Commit: b6e082df2f8f590b495f50a29479c70f32824744
Parents: c932239
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Oct 22 16:43:14 2014 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Oct 22 16:43:15 2014 +0200
----------------------------------------------------------------------
build.xml | 4 -
compiler/build.xml | 60 -
.../pom.xml | 68 ++
.../src/main/flex/main.mxml | 33 +
.../pom.xml | 68 ++
.../src/main/flex/main.mxml | 33 +
.../pom.xml | 68 ++
.../src/main/flex/main.mxml | 33 +
.../pom.xml | 68 ++
.../src/main/flex/main.mxml | 33 +
.../pom.xml | 68 ++
.../src/main/flex/main.mxml | 33 +
.../pom.xml | 74 ++
.../src/main/flex/Application.mxml | 27 +
.../src/main/flex/module1/AnModule.mxml | 25 +
.../src/main/flex/module2/OtherModule.as | 30 +
.../pom.xml | 64 ++
.../src/main/flex/issue29.mxml | 24 +
.../src/main/flex/pusssa.ttf | Bin 0 -> 36928 bytes
.../src/main/flex/styles.css | 30 +
.../flex/pom.xml | 82 ++
.../flex/src/main/flex/main.mxml | 23 +
.../net/flexmojos/oss/generator/SimpleChild.as | 14 +
.../net/flexmojos/oss/generator/SimplePojo.as | 14 +
.../flex/src/test/flex/tests/InheritTest.as | 40 +
.../java/pom.xml | 42 +
.../flexmojos/oss/generator/SimpleChild.java | 34 +
.../net/flexmojos/oss/generator/SimplePojo.java | 54 +
.../pom.xml | 34 +
.../pom.xml | 76 ++
.../src/main/flex/main.mxml | 36 +
.../pom.xml | 67 ++
.../src/main/flex/ComplexStyles.css | 38 +
.../src/main/flex/main.mxml | 23 +
.../pom.xml | 91 ++
.../src/main/flex/Documentable.as | 28 +
.../main/flex/net/flexmojos/oss/it/Amarelo.as | 28 +
.../src/main/flex/net/flexmojos/oss/it/Azul.as | 28 +
.../src/main/flex/net/flexmojos/oss/it/Verde.as | 28 +
.../main/flex/net/flexmojos/oss/it/Vermelho.as | 28 +
.../src/main/resources/manifest.xml | 24 +
.../src/main/resources/nd-manifest.xml | 24 +
.../pom.xml | 87 ++
.../src/com/adobe/example/Calculator.as | 43 +
.../tests/com/adobe/example/TestCalculator.as | 71 ++
.../tests/com/adobe/example/TestCalculator2.as | 43 +
.../pom.xml | 96 ++
.../src/main/flex/main.mxml | 53 +
.../pom.xml | 72 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/TestCaseSample1.as | 35 +
.../src/test/flex/TestCaseSample2.as | 33 +
.../REMARK.txt | 1 +
.../air/pom.xml | 72 ++
.../air/src/main/resources/descriptor.xml | 153 +++
.../air/src/main/resources/sign.p12 | Bin 0 -> 2482 bytes
.../pom.xml | 80 ++
.../swc/pom.xml | 37 +
.../swc/src/main/flex/Label.mxml | 20 +
.../swf/pom.xml | 46 +
.../swf/src/main/flex/main.mxml | 23 +
.../pom.xml | 100 ++
.../src/main/flex/main.mxml | 22 +
.../src/main/resources/descriptor.xml | 34 +
.../src/main/resources/sign.p12 | Bin 0 -> 2482 bytes
.../src/test/flex/AnnotatedTest.as | 40 +
.../pom.xml | 92 ++
.../src/main/flex/main.mxml | 22 +
.../src/main/resources/128.png | Bin 0 -> 2665 bytes
.../src/main/resources/16.png | Bin 0 -> 531 bytes
.../src/main/resources/32.png | Bin 0 -> 926 bytes
.../src/main/resources/48.png | Bin 0 -> 1363 bytes
.../src/main/resources/descriptor.xml | 153 +++
.../src/main/resources/sign.p12 | Bin 0 -> 2482 bytes
.../src/test/flex/AnnotatedTest.as | 40 +
.../pom.xml | 72 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/ExampleTest.as | 44 +
.../pom.xml | 75 ++
.../main/flex/net/flexmojos/oss/it/Amarelo.as | 28 +
.../src/main/flex/net/flexmojos/oss/it/Azul.as | 28 +
.../src/main/flex/net/flexmojos/oss/it/Verde.as | 28 +
.../main/flex/net/flexmojos/oss/it/Vermelho.as | 28 +
.../pom.xml | 35 +
.../swf/pom.xml | 100 ++
.../swf/src/main/flex/main.mxml | 61 +
.../swf/src/main/flex/modules/module1.mxml | 25 +
.../swf/src/main/flex/modules/module2.mxml | 25 +
.../war/pom.xml | 92 ++
.../war/src/main/webapp/WEB-INF/web.xml | 33 +
.../pom.xml | 35 +
.../swf/pom.xml | 101 ++
.../swf/src/main/flex/main.mxml | 61 +
.../swf/src/main/flex/modules/module1.mxml | 25 +
.../swf/src/main/flex/modules/module2.mxml | 25 +
.../war/pom.xml | 93 ++
.../war/src/main/webapp/WEB-INF/web.xml | 33 +
.../pom.xml | 73 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/AnnotatedTest.as | 40 +
.../pom.xml | 87 ++
.../src/com/adobe/example/Calculator.as | 43 +
.../tests/com/adobe/example/TestCalculator.as | 71 ++
.../tests/com/adobe/example/TestCalculator2.as | 43 +
.../pom.xml | 72 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/fluint/ExampleTest.as | 34 +
.../pom.xml | 72 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/fluint/ExampleTest.as | 34 +
.../locale/en_US/FlightReservation1.properties | 75 ++
.../locale/ja_JP/FlightReservation1.properties | 75 ++
.../pom.xml | 72 ++
.../src/FlightReservation1.mxml | 1088 ++++++++++++++++++
.../src/Flights.xml | 488 ++++++++
.../src/Timezones.xml | 33 +
.../app/pom.xml | 83 ++
.../app/src/main/flex/FlexMojosLocaleApp.mxml | 45 +
.../lib/pom.xml | 71 ++
.../src/main/flex/com/xyz/view/MainView.mxml | 33 +
.../lib/src/main/locales/en_US/text.properties | 19 +
.../lib/src/main/locales/ja_JP/text.properties | 19 +
.../pom.xml | 35 +
.../locale/en_US/FlightReservation2.properties | 75 ++
.../locale/ja_JP/FlightReservation2.properties | 75 ++
.../pom.xml | 71 ++
.../src/FlightReservation2.mxml | 1082 +++++++++++++++++
.../src/Flights.xml | 488 ++++++++
.../src/Timezones.xml | 33 +
.../pom.xml | 84 ++
.../src/assets/pf_ronda_seven.ttf | Bin 0 -> 22392 bytes
.../src/com/bit101/components/CheckBox.as | 162 +++
.../src/com/bit101/components/ColorChooser.as | 337 ++++++
.../src/com/bit101/components/Component.as | 204 ++++
.../src/com/bit101/components/HBox.as | 85 ++
.../src/com/bit101/components/HSlider.as | 37 +
.../src/com/bit101/components/HUISlider.as | 86 ++
.../src/com/bit101/components/IndicatorLight.as | 208 ++++
.../src/com/bit101/components/InputText.as | 189 +++
.../src/com/bit101/components/Knob.as | 332 ++++++
.../src/com/bit101/components/Label.as | 131 +++
.../src/com/bit101/components/Meter.as | 326 ++++++
.../src/com/bit101/components/Panel.as | 153 +++
.../src/com/bit101/components/ProgressBar.as | 139 +++
.../src/com/bit101/components/PushButton.as | 230 ++++
.../src/com/bit101/components/RadioButton.as | 201 ++++
.../src/com/bit101/components/RotarySelector.as | 286 +++++
.../src/com/bit101/components/Slider.as | 352 ++++++
.../src/com/bit101/components/Style.as | 30 +
.../src/com/bit101/components/Text.as | 154 +++
.../src/com/bit101/components/UISlider.as | 232 ++++
.../src/com/bit101/components/VBox.as | 88 ++
.../src/com/bit101/components/VSlider.as | 36 +
.../src/com/bit101/components/VUISlider.as | 93 ++
.../src/com/bit101/components/WheelMenu.as | 431 +++++++
.../src/com/bit101/components/Window.as | 284 +++++
.../pom.xml | 118 ++
.../src/main/flex/main.mxml | 23 +
.../pom.xml | 72 ++
.../src/main/flex/HelloWorld.as | 27 +
.../pom.xml | 72 ++
.../src/main/flex/HelloWorld.as | 27 +
.../pom.xml | 88 ++
.../src/main/flex/main.mxml | 53 +
.../application-forced/pom.xml | 67 ++
.../src/main/flex/Forced.mxml | 23 +
.../application-forced/src/main/flex/Index.mxml | 20 +
.../application-forced/src/main/flex/Main.mxml | 20 +
.../application-index/pom.xml | 64 ++
.../src/main/flex/AnotherFile.mxml | 20 +
.../application-index/src/main/flex/Index.mxml | 23 +
.../application-main/pom.xml | 64 ++
.../src/main/flex/AnotherFile.mxml | 20 +
.../application-main/src/main/flex/Index.mxml | 20 +
.../application-main/src/main/flex/Main.mxml | 23 +
.../application-not-default/pom.xml | 64 ++
.../src/main/flex/MyCustomName.mxml | 23 +
.../groupId/pom.xml | 64 ++
.../src/main/flex/com/example/groupId/Main.mxml | 23 +
.../groupIdArtifactId/pom.xml | 64 ++
.../com/example/groupIdArtifactId/Main.mxml | 23 +
.../pom.xml | 38 +
.../pom.xml | 79 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/AnnotatedTest.as | 40 +
.../pom.xml | 73 ++
.../src/main/flex/main.mxml | 23 +
.../src/test/flex/AnnotatedTest.as | 40 +
.../pom.xml | 76 ++
.../src/main/flex/main.mxml | 37 +
.../main/flex/net/flexmojos/oss/it/AClass.as | 27 +
.../app/pom.xml | 76 ++
.../app/src/main/flex/Main.as | 31 +
.../lib/pom.xml | 77 ++
.../lib/src/main/flex/A.as | 26 +
.../pom.xml | 69 ++
.../pom.xml | 70 ++
.../src/main/flex/Main.mxml | 25 +
.../a/pom.xml | 81 ++
.../a/src/main/flex/Main.mxml | 23 +
.../b/pom.xml | 76 ++
.../b/src/main/flex/Main.css | 21 +
.../pom.xml | 35 +
.../pom.xml | 77 ++
.../src/main/flex/main.mxml | 23 +
.../src/main/flex/module/module.mxml | 23 +
.../moduleA/pom.xml | 45 +
.../moduleA/src/main/flex/AClass.as | 31 +
.../moduleB/pom.xml | 36 +
.../moduleB/src/main/flex/BClass.as | 27 +
.../pom.xml | 78 ++
.../moduleA/pom.xml | 45 +
.../moduleA/src/main/flex/AClass.as | 31 +
.../moduleB/pom.xml | 36 +
.../moduleB/src/main/flex/BClass.as | 27 +
.../pom.xml | 78 ++
.../pom.xml | 76 ++
.../src/main/flex/main.mxml | 31 +
.../src/test/flex/AnnotatedTest.as | 35 +
.../pom.xml | 82 ++
.../src/main/flex/FlexMaven/App.as | 27 +
.../src/main/flex/FlexMaven/UntestedClass.as | 25 +
.../src/main/flex/FlexMaven/sampleInclude.as | 35 +
.../src/main/flex/FlexMaven/unusedInclude.as | 18 +
.../src/test/flex/FlexMaven/TestApp.as | 74 ++
.../pom.xml | 82 ++
.../src/main/flex/FlexMaven/App.as | 27 +
.../src/main/flex/FlexMaven/UntestedClass.as | 25 +
.../src/main/flex/FlexMaven/sampleInclude.as | 35 +
.../src/main/flex/FlexMaven/unusedInclude.as | 18 +
.../src/test/flex/FlexMaven/TestApp.as | 74 ++
.../pom.xml | 76 ++
.../src/main/flex/main.mxml | 31 +
.../src/test/flex/AnnotatedTest.as | 35 +
.../pom.xml | 58 +
.../src/main/flex/main.mxml | 24 +
.../unittest/ParametrizedTestWithErrorsTest.as | 22 +
.../ParametrizedTestWithFailuresTest.as | 20 +
.../ParametrizedTestWithoutFailuresTest.as | 20 +
.../pom.xml | 80 ++
.../main/flex/com/adobe/example/Calculator.as | 30 +
.../flex/com/adobe/example/TestCalculator.as | 60 +
.../com/adobe/example/TestCalculatorAgain.as | 59 +
.../pom.xml | 72 ++
.../main/flex/com/adobe/example/Calculator.as | 31 +
.../flex/com/adobe/example/TestCalculator.as | 64 ++
.../com/adobe/example/TestCalculatorAgain.as | 64 ++
.../pom.xml | 86 ++
.../src/main/flex/main.mxml | 31 +
.../src/test/flex/AnnotatedTest.as | 46 +
.../pom.xml | 68 ++
.../src/main/flex/main.mxml | 41 +
.../pom.xml | 69 ++
.../src/main/flex/main.mxml | 37 +
.../main/flex/net/flexmojos/oss/it/AClass.as | 27 +
.../pom.xml | 90 ++
.../src/main/flex/main.mxml | 50 +
.../flex/net/flexmojos/oss/test/ServiceTest.as | 63 +
.../src/test/resources/source.xml | 20 +
flexmojos-tests/pom.xml | 96 ++
flexmojos-tests/readme.txt | 11 +
generated/maven/falcon-compiler-oem-sources.jar | Bin 0 -> 255353 bytes
generated/maven/falcon-compiler-oem.jar | Bin 0 -> 354966 bytes
generated/maven/falcon-compiler-oem.pom | 15 +
generated/maven/falcon-compiler-sources.jar | Bin 0 -> 3479207 bytes
generated/maven/falcon-compiler.jar | Bin 0 -> 4075760 bytes
generated/maven/falcon-compiler.pom | 78 ++
utils/aether-ant-tasks-uber.jar | Bin 0 -> 2774001 bytes
268 files changed, 18650 insertions(+), 64 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 3851d8b..bf5c809 100644
--- a/build.xml
+++ b/build.xml
@@ -122,10 +122,6 @@
<delete dir="${basedir}/temp" failonerror="false" includeEmptyDirs="true"/>
</target>
- <target name="maven-artifacts" description="Installs Falcon artifacts to a local maven repository">
- <ant dir="compiler" target="maven-artifacts"/>
- </target>
-
<target name="check-flex-home" unless="mxmlc.jar.exists"
description="Check FLEX_HOME for both a directory and an exe file">
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/compiler/build.xml
----------------------------------------------------------------------
diff --git a/compiler/build.xml b/compiler/build.xml
index 13d1ce8..f42426c 100644
--- a/compiler/build.xml
+++ b/compiler/build.xml
@@ -1048,66 +1048,6 @@
<!--
- CREATE MAVEN ARTIFACTS
-
- -->
-
- <target name="maven-artifacts" depends="sdk" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
-
- <!-- Make sure the maven-ant-tasks jar is available. -->
- <ant antfile="downloads.xml" target="maven-related"/>
-
- <!-- Setup the maven-ant-tasks. -->
- <path id="maven-ant-tasks.classpath" path="utils/maven-ant-tasks.jar" />
- <typedef resource="org/apache/maven/artifact/ant/antlib.xml"
- uri="antlib:org.apache.maven.artifact.ant"
- classpathref="maven-ant-tasks.classpath"/>
-
- <property name="falcon.version" value="${manifest.Implementation-Version}"/>
- <mkdir dir="generated/maven"/>
-
- <!--
- Remark:
- There currently seems to be a bug in the maven-ant-tasks that
- prevents the install target from working correctly. Therefore
- instead of directly defining the pom, we have to define it,
- write it to disk and use the disk-pom to install the artifact.
- -->
-
- <!-- Install jburg as it's not publicly available in Maven -->
- <artifact:pom id="jburgPom" groupId="net.sourceforge.jburg" artifactid="jburg" version="1.10.1"/>
- <artifact:writepom pomrefid="jburgPom" file="generated/maven/jburg.pom"/>
- <artifact:install file="lib/jburg.jar">
- <artifact:pom file="generated/maven/jburg.pom"/>
- </artifact:install>
-
- <!-- Install lzma-sdk as it's not publicly available in Maven -->
- <artifact:pom id="lzmaSdkPom" groupId="de.7zip" artifactid="lzma-sdk" version="9.20"/>
- <artifact:writepom pomrefid="lzmaSdkPom" file="generated/maven/lzma-sdk.pom"/>
- <artifact:install file="lib/lzma-sdk.jar">
- <artifact:pom file="generated/maven/lzma-sdk.pom"/>
- </artifact:install>
-
- <!-- Install falcon -->
- <artifact:pom id="falconPom" groupId="org.apache.flex.compiler.falcon" artifactId="compiler"
- version="${falcon.version}">
- <artifact:dependency groupId="org.antlr" artifactId="antlr" version="3.5.2"/>
- <artifact:dependency groupId="commons-cli" artifactId="commons-cli" version="1.2"/>
- <artifact:dependency groupId="commons-io" artifactId="commons-io" version="2.4"/>
- <artifact:dependency groupId="com.google.guava" artifactId="guava" version="17.0"/>
- <artifact:dependency groupId="net.sourceforge.jburg" artifactId="jburg" version="1.10.1"/>
- <artifact:dependency groupId="de.jflex" artifactId="jflex" version="1.6.0"/>
- <artifact:dependency groupId="de.7zip" artifactId="lzma" version="9.20"/>
- <artifact:license name="apache" url="http://www.apache.org"/>
- </artifact:pom>
- <artifact:writepom pomrefid="falconPom" file="generated/maven/compiler.pom"/>
- <artifact:install file="generated/dist/sdk/lib/compiler.jar">
- <artifact:pom file="generated/maven/compiler.pom"/>
- </artifact:install>
- </target>
-
- <!--
-
CLEANUP
-->
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/pom.xml b/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/pom.xml
new file mode 100644
index 0000000..7ff56ba
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>advanced-telemetry-1</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <advancedTelemetry>true</advancedTelemetry>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.10.0.20130801</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/src/main/flex/main.mxml b/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/src/main/flex/main.mxml
new file mode 100644
index 0000000..faca763
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.10.0.20130801/src/main/flex/main.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ minWidth="955" minHeight="600">
+
+ <s:Label text="Hello World in Flex 4"
+ x="72" y="74" color="#FFFFFF"
+ fontSize="20" backgroundColor="#000000"
+ height="44" width="240"
+ textAlign="center" verticalAlign="middle"
+ fontWeight="bold" fontFamily="verdana"/>
+
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/pom.xml b/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/pom.xml
new file mode 100644
index 0000000..ea5daba
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>advanced-telemetry-2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <advancedTelemetry>true</advancedTelemetry>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.11.0.20131017</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/src/main/flex/main.mxml b/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/src/main/flex/main.mxml
new file mode 100644
index 0000000..faca763
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.11.0.20131017/src/main/flex/main.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ minWidth="955" minHeight="600">
+
+ <s:Label text="Hello World in Flex 4"
+ x="72" y="74" color="#FFFFFF"
+ fontSize="20" backgroundColor="#000000"
+ height="44" width="240"
+ textAlign="center" verticalAlign="middle"
+ fontWeight="bold" fontFamily="verdana"/>
+
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/pom.xml b/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/pom.xml
new file mode 100644
index 0000000..2550308
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>advanced-telemetry-3</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <advancedTelemetry>true</advancedTelemetry>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.12.0.20140303</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/src/main/flex/main.mxml b/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/src/main/flex/main.mxml
new file mode 100644
index 0000000..faca763
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.12.0.20140303/src/main/flex/main.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ minWidth="955" minHeight="600">
+
+ <s:Label text="Hello World in Flex 4"
+ x="72" y="74" color="#FFFFFF"
+ fontSize="20" backgroundColor="#000000"
+ height="44" width="240"
+ textAlign="center" verticalAlign="middle"
+ fontWeight="bold" fontFamily="verdana"/>
+
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/pom.xml b/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/pom.xml
new file mode 100644
index 0000000..0a28c9f
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>advanced-telemetry-4</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <advancedTelemetry>true</advancedTelemetry>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.12.1.20140427</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/src/main/flex/main.mxml b/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/src/main/flex/main.mxml
new file mode 100644
index 0000000..faca763
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.12.1.20140427/src/main/flex/main.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ minWidth="955" minHeight="600">
+
+ <s:Label text="Hello World in Flex 4"
+ x="72" y="74" color="#FFFFFF"
+ fontSize="20" backgroundColor="#000000"
+ height="44" width="240"
+ textAlign="center" verticalAlign="middle"
+ fontWeight="bold" fontFamily="verdana"/>
+
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/pom.xml b/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/pom.xml
new file mode 100644
index 0000000..5406450
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/pom.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>advanced-telemetry-5</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <advancedTelemetry>true</advancedTelemetry>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/src/main/flex/main.mxml b/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/src/main/flex/main.mxml
new file mode 100644
index 0000000..faca763
--- /dev/null
+++ b/flexmojos-tests/advanced-telemetry_flex4_4.13.0.20140701/src/main/flex/main.mxml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:s="library://ns.adobe.com/flex/spark"
+ xmlns:mx="library://ns.adobe.com/flex/mx"
+ minWidth="955" minHeight="600">
+
+ <s:Label text="Hello World in Flex 4"
+ x="72" y="74" color="#FFFFFF"
+ fontSize="20" backgroundColor="#000000"
+ height="44" width="240"
+ textAlign="center" verticalAlign="middle"
+ fontWeight="bold" fontFamily="verdana"/>
+
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/pom.xml
new file mode 100644
index 0000000..b066250
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/pom.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0011</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <modules>
+ <module>module1/AnModule.mxml</module>
+ <module>module2/OtherModule.as</module>
+ </modules>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/Application.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/Application.mxml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/Application.mxml
new file mode 100644
index 0000000..8c1a3ac
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/Application.mxml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
+
+ <mx:Label text="Hello world"/>
+
+ <mx:ModuleLoader />
+
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module1/AnModule.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module1/AnModule.mxml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module1/AnModule.mxml
new file mode 100644
index 0000000..8dd3301
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module1/AnModule.mxml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" >
+
+ <mx:Label text="Hello Module"/>
+
+</mx:Module>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module2/OtherModule.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module2/OtherModule.as b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module2/OtherModule.as
new file mode 100644
index 0000000..e9a620e
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue11/src/main/flex/module2/OtherModule.as
@@ -0,0 +1,30 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package module2
+{
+ import mx.modules.ModuleBase;
+
+ public class OtherModule extends ModuleBase
+ {
+ public function OtherModule()
+ {
+ super();
+ }
+
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/pom.xml
new file mode 100644
index 0000000..0b0deda
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0029</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/issue29.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/issue29.mxml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/issue29.mxml
new file mode 100644
index 0000000..5a92bf1
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/issue29.mxml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Style source="styles.css" />
+ <mx:Text text="Test" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/pusssa.ttf
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/pusssa.ttf b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/pusssa.ttf
new file mode 100644
index 0000000..e0b9d32
Binary files /dev/null and b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/pusssa.ttf differ
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/styles.css
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/styles.css b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/styles.css
new file mode 100644
index 0000000..2c12ceb
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue29/src/main/flex/styles.css
@@ -0,0 +1,30 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/* CSS file */
+Text
+{
+ fontFamily: Pussycat;
+}
+
+@font-face
+{
+ fontFamily: Pussycat;
+ fontWeight: normal;
+ fontStyle: normal;
+ src: url("/pusssa.ttf");
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/pom.xml
new file mode 100644
index 0000000..29dc50b
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/pom.xml
@@ -0,0 +1,82 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0061-flex</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ <dependency>
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0061-java</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flexunit</groupId>
+ <artifactId>flexunit</artifactId>
+ <version>0.90</version>
+ <type>swc</type>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/main.mxml
new file mode 100644
index 0000000..94c729f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/main.mxml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+ <mx:Label text="Hello World" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimpleChild.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimpleChild.as b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimpleChild.as
new file mode 100644
index 0000000..1f36c34
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimpleChild.as
@@ -0,0 +1,14 @@
+/**
+ * Generated by Gas3 v2.3.2 (Granite Data Services).
+ *
+ * NOTE: this file is only generated if it does not exist. You may safely put
+ * your custom code here.
+ */
+
+package net.flexmojos.oss.generator {
+
+ [Bindable]
+ [RemoteClass(alias="net.flexmojos.oss.generator.SimpleChild")]
+ public class SimpleChild extends SimpleChildBase {
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimplePojo.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimplePojo.as b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimplePojo.as
new file mode 100644
index 0000000..883574f
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/main/flex/net/flexmojos/oss/generator/SimplePojo.as
@@ -0,0 +1,14 @@
+/**
+ * Generated by Gas3 v2.3.2 (Granite Data Services).
+ *
+ * NOTE: this file is only generated if it does not exist. You may safely put
+ * your custom code here.
+ */
+
+package net.flexmojos.oss.generator {
+
+ [Bindable]
+ [RemoteClass(alias="net.flexmojos.oss.generator.SimplePojo")]
+ public class SimplePojo extends SimplePojoBase {
+ }
+}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/test/flex/tests/InheritTest.as
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/test/flex/tests/InheritTest.as b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/test/flex/tests/InheritTest.as
new file mode 100644
index 0000000..559addc
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/flex/src/test/flex/tests/InheritTest.as
@@ -0,0 +1,40 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+/**
+ * Generated by Gas3 v1.1.0 (Granite Data Services) on Sat Jul 05 11:33:34 BRT 2008.
+ *
+ * NOTE: this file is only generated if it does not exist. You may safely put
+ * your custom code here.
+ */
+
+package tests {
+
+import net.flexmojos.oss.generator.*;
+import flexunit.framework.TestCase;
+
+ public class InheritTest extends TestCase {
+
+ public function testGeneratedInherit() : void
+ {
+ var sc:SimpleChild = new SimpleChild();
+
+ assertTrue( sc is SimplePojo );
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/pom.xml
new file mode 100644
index 0000000..768576e
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/pom.xml
@@ -0,0 +1,42 @@
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0061-java</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimpleChild.java
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimpleChild.java b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimpleChild.java
new file mode 100644
index 0000000..60767b9
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimpleChild.java
@@ -0,0 +1,34 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.generator;
+
+import java.util.List;
+
+public class SimpleChild extends SimplePojo {
+
+ private Double childValue;
+
+ public Double getChildValue() {
+ return childValue;
+ }
+
+ public void setChildValue(Double value) {
+ this.childValue = value;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimplePojo.java
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimplePojo.java b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimplePojo.java
new file mode 100644
index 0000000..61798c2
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/java/src/main/java/net/flexmojos/oss/generator/SimplePojo.java
@@ -0,0 +1,54 @@
+/**
+ * Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ * Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package net.flexmojos.oss.generator;
+
+import java.util.List;
+
+public class SimplePojo {
+
+ private String name;
+
+ private Double value;
+
+ private List nicknames;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Double getValue() {
+ return value;
+ }
+
+ public void setValue(Double value) {
+ this.value = value;
+ }
+
+ public List getNicknames() {
+ return nicknames;
+ }
+
+ public void setNicknames(List nicknames) {
+ this.nicknames = nicknames;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/pom.xml
new file mode 100644
index 0000000..02b4026
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue61/pom.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0061</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>java</module>
+ <module>flex</module>
+ </modules>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/pom.xml
new file mode 100644
index 0000000..8cf26b3
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/pom.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<!-- Copyright 2008 Marvin Herman Froeder Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
+ required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ and limitations under the License. -->
+<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>
+
+ <groupId>info.rvin.itest.issues</groupId>
+ <artifactId>issue-0068</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <defines>
+ <property>
+ <name>BUILD::version</name>
+ <value>1</value>
+ </property>
+ </defines>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/src/main/flex/main.mxml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/src/main/flex/main.mxml b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/src/main/flex/main.mxml
new file mode 100644
index 0000000..e853f9e
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0013IssuesTest.issue68/src/main/flex/main.mxml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
+
+ <mx:Script>
+ <![CDATA[
+
+ /**
+ * AClass
+ */
+ [Bindable]
+ public var buildVersion:* = BUILD::version;
+
+ ]]>
+ </mx:Script>
+
+ <mx:Label text="{buildVersion}" />
+</mx:Application>
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b6e082df/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/pom.xml
----------------------------------------------------------------------
diff --git a/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/pom.xml b/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/pom.xml
new file mode 100644
index 0000000..766b0b5
--- /dev/null
+++ b/flexmojos-tests/net.flexmojos.oss.test.IT0014ConceptTest.testRuntimeCss/pom.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Flexmojos is a set of maven goals to allow maven users to compile, optimize and test Flex SWF, Flex SWC, Air SWF and Air SWC.
+ Copyright (C) 2008-2012 Marvin Froeder <ma...@flexmojos.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<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>
+
+ <groupId>info.rvin.itest</groupId>
+ <artifactId>css-application</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <testSourceDirectory>src/test/flex</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>ComplexStyles.css</sourceFile>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.compiler</groupId>
+ <artifactId>falcon-compiler</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex</groupId>
+ <artifactId>framework</artifactId>
+ <version>4.13.0.20140701</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>13.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+
+</project>