Added:
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/
(props changed)
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.actionScriptProperties
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.classpath
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.flexLibProperties
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.project
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/pom.xml
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/Test.mxml
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/ExampleInterface.as
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/ExampleInterfaceImplementation.as
Log:
add test for a swf (mxmlc) with extra params)
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.actionScriptProperties
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.actionScriptProperties
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<actionScriptProperties mainApplicationPath="maven_swc_plugin_test.as" version="1">
+<compiler copyDependentFiles="true" generateAccessible="false"
htmlExpressInstall="true" htmlGenerate="false"
htmlHistoryManagement="false" htmlPlayerVersion="9.0.0"
htmlPlayerVersionCheck="true" outputFolderPath="target"
sourceFolderPath="src\main\flex" strict="true" warn="true">
+<compilerSourcePath/>
+<libraryPath>
+<libraryPathEntry kind="3" linkType="2" path="${FRAMEWORKS}/libs/playerglobal.swc"/>
+<libraryPathEntry kind="3" linkType="1" path="${FRAMEWORKS}/libs/utilities.swc"/>
+<libraryPathEntry kind="3" linkType="1"
path="${FRAMEWORKS}/libs/flex.swc" sourcepath="${FRAMEWORKS}/source"/>
+<libraryPathEntry kind="3" linkType="1"
path="${FRAMEWORKS}/libs/framework.swc" sourcepath="${FRAMEWORKS}/source"/>
+<libraryPathEntry kind="3" linkType="1" path="${FRAMEWORKS}/libs/rpc.swc"/>
+<libraryPathEntry kind="3" linkType="1"
path="${FRAMEWORKS}/libs/charts.swc" sourcepath="${FRAMEWORKS}/source"/>
+<libraryPathEntry kind="1" linkType="1" path="${FRAMEWORKS}/locale/{locale}"/>
+</libraryPath>
+<sourceAttachmentPath>
+<sourceAttachmentPathEntry kind="3" path="${FRAMEWORKS}/libs/flex.swc" sourcepath="${FRAMEWORKS}/source"/>
+<sourceAttachmentPathEntry kind="3"
path="${FRAMEWORKS}/libs/framework.swc" sourcepath="${FRAMEWORKS}/source"/>
+<sourceAttachmentPathEntry kind="3"
path="${FRAMEWORKS}/libs/charts.swc" sourcepath="${FRAMEWORKS}/source"/>
+</sourceAttachmentPath>
+</compiler>
+<applications>
+<application path="maven-swc-plugin-test.as"/>
+</applications>
+</actionScriptProperties>
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.classpath
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.classpath
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.flexLibProperties
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.flexLibProperties
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<flexLibProperties version="1">
+<includeClasses>
+<classEntry path="maven.plugin.test.code.ExampleInterface"/>
+<classEntry path="maven.plugin.test.code.ExampleInterfaceImplementation"/>
+</includeClasses>
+<includeResources/>
+<namespaceManifests/>
+</flexLibProperties>
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.project
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/.project
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>maven-flex2-extraParams-swf-test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.adobe.flexbuilder.project.flexbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.adobe.flexbuilder.project.flexlibnature</nature>
+ <nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/pom.xml
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/pom.xml
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,40 @@
+<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.israfil.mojo</groupId>
+ <artifactId>maven-flex2-mxml1-test</artifactId>
+ <version>${provided.version}</version>
+ <packaging>swf</packaging>
+ <name>Israfil Mojo - Flex 2.0 plugin (Flex Application Test Project 1)</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.israfil.mojo</groupId>
+ <artifactId>maven-flex2-plugin</artifactId>
+ <version>it-${project.version}</version>
+ <extensions>true</extensions>
+ <configuration>
+ <flexHome>${flex.home}</flexHome>
+ <useNetwork>true</useNetwork>
+ <main>Test.mxml</main>
+ <extraParameters>
+ <parameter><name>benchmark</name></parameter>
+ <parameter>
+ <name>compiler.actionscript-file-encoding</name>
+ <values><value>iso-8859-1</value></values>
+ </parameter>
+ </extraParameters>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flex</groupId>
+ <artifactId>fds</artifactId>
+ <version>2.0.0</version>
+ <type>swc</type>
+ </dependency>
+ </dependencies>
+</project>
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/Test.mxml
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/Test.mxml
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
+
+</mx:Canvas>
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/ExampleInterface.as
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/ExampleInterface.as
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,8 @@
+package maven.plugin.test.code {
+
+ public interface ExampleInterface {
+
+ function getStringVariable() : String;
+
+ }
+}
\ No newline at end of file
Added: trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/ExampleInterfaceImplementation.as
==============================================================================
--- (empty file)
+++
trunk/maven-flex2-plugin/src/it/maven-flex2-extraParams-swf-test/src/main/flex/maven/plugin/test/code/ExampleInterfaceImplementation.as
Mon Jan 14 14:19:59 2008
@@ -0,0 +1,11 @@
+package maven.plugin.test.code {
+
+ public class ExampleInterfaceImplementation implements
ExampleInterface {
+
+ public function getStringVariable() : String {
+ return "Hello world.";
+ }
+
+ }
+
+}
\ No newline at end of file