Permalink
Browse files

fix air and airi packaging propblems, sdk now is unpacked to output d…

…irectory
  • Loading branch information...
1 parent 38d753d commit 9cc1bba8fc0596d880de048b58f4d1f5a07e47bf @fomkin committed Apr 5, 2012
View
@@ -1,6 +1,12 @@
adt-maven-plugin changelog
===================
+Version 1.0.2 (5.04.2012)
+------------------------
+
+- Abramov, you was right. Tmpdir sucks. Now SDK is unpacked to output directory (usually `target`).
+- Fix problems with `air` and `airi` targets.
+
Version 1.0.1 (30.03.2012)
------------------------
View
@@ -4,9 +4,9 @@ Build Adobe AIR applications with your Maven!
General purpose
---------------
-Some time ago, Adobe released AIR for mobile devices. The latest versions (such as 3.2) become suitable for industrial use. Was the question: how to package AIR-application automatically? Flexmojos allows you to build only \*.air packages, so I have created the plugin which could work with platform dependent AIR SDK and additionally build packages for mobile devices.
+Some time ago, Adobe released AIR for mobile devices. There was a question: how to package AIR-application automatically? Flexmojos allows you to build only \*.air packages, so I have created the plugin which could work with platform dependent AIR SDK and additionally build packages for mobile devices.
-Current status (1.0.1)
+Current status (1.0.2)
----------------------
* Building AIR, APK, IPA packages
@@ -17,7 +17,6 @@ Current status (1.0.1)
Plans
--------------------------------------------
-=======
* Building native desktop packages (exe, dmg)
* Install to device mojo
* Linux SDK artifact working over wine (just for fun :)
@@ -51,7 +50,7 @@ Add `adt-maven-plugin` into plugins section
<groupId>com.yelbota.plugins</groupId>
<artifactId>adt-maven-plugin</artifactId>
- <version>1.0.1</version>
+ <version>1.0.2</version>
<executions>
<execution>
Binary file not shown.
View
@@ -0,0 +1,119 @@
+<?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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>com.fomkingames.common</groupId>
+ <artifactId>flex4-parent</artifactId>
+ <version>1.2.6</version>
+ </parent>
+
+ <groupId>com.yelbota.plugins.adt-maven-plugin.it</groupId>
+ <artifactId>package-air</artifactId>
+ <packaging>swf</packaging>
+ <version>1.0-SNAPSHOT</version>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.flexmojos</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <configuration>
+ <sourceFile>Application.as</sourceFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <executions>
+ <execution>
+ <goals>
+ <goal>package</goal>
+ </goals>
+ </execution>
+ </executions>
+ <groupId>com.yelbota.plugins</groupId>
+ <artifactId>adt-maven-plugin</artifactId>
+ <version>@pom.version@</version>
+ <configuration>
+ <sdkVersion>3.2-RC1</sdkVersion>
+ <target>air</target>
+ <keystore>certificate.p12</keystore>
+ <storepass>111</storepass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flex.framework</groupId>
+ <artifactId>air-framework</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+
+ <repositories>
+ <repository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </repository>
+ <repository>
+ <id>fomkingames.public.snapshot</id>
+ <name>fomkingames.public.snapshot</name>
+ <url>http://fomkingames-public-repository.googlecode.com/svn/release</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>fomkingames.public.release</id>
+ <name>fomkingames.public.release</name>
+ <url>http://fomkingames-public-repository.googlecode.com/svn/snapshot</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>flexis-local</id>
+ <url>http://artifactory.flexis.ru:8030/artifactory/flexis-local</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>yelbota-dropbox-repo</id>
+ <url>http://dl.dropbox.com/u/36020926/maven/</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ <releases><enabled>true</enabled></releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>yelbota-dropbox-repo</id>
+ <url>http://dl.dropbox.com/u/36020926/maven/</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ <releases><enabled>true</enabled></releases>
+ </pluginRepository>
+ <pluginRepository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>flexis-local</id>
+ <url>http://artifactory.flexis.ru:8030/artifactory/flexis-local</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+</project>
@@ -0,0 +1,9 @@
+package {
+
+import flash.display.Sprite;
+
+public class Application extends Sprite {
+
+}
+
+}
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<application xmlns="http://ns.adobe.com/air/application/3.1">
+
+ <id>com.yelbota.plugins.adtmavenplugin.it.application</id>
+ <filename>Application</filename>
+ <name>My Application (UFT8 проверка)</name>
+ <versionNumber>0</versionNumber>
+ <versionLabel>0</versionLabel>
+
+ <initialWindow>
+ <content>Application.swf</content>
+ </initialWindow>
+
+<!--
+ <icon>
+ <image72x72>/icons/icon_Provit_Launcher_1-1-dmitriev.png</image72x72>
+ </icon>
+-->
+
+ <android>
+ <manifestAdditions>
+ <![CDATA[
+ <manifest android:installLocation="auto">
+ <uses-permission android:name="android.permission.INTERNET"/>
+ </manifest>
+ ]]>
+ </manifestAdditions>
+
+ </android>
+
+</application>
Binary file not shown.
View
@@ -0,0 +1,117 @@
+<?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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>com.fomkingames.common</groupId>
+ <artifactId>flex4-parent</artifactId>
+ <version>1.2.6</version>
+ </parent>
+
+ <groupId>com.yelbota.plugins.adt-maven-plugin.it</groupId>
+ <artifactId>package-airi</artifactId>
+ <packaging>swf</packaging>
+ <version>1.0-SNAPSHOT</version>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.flexmojos</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <configuration>
+ <sourceFile>Application.as</sourceFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <executions>
+ <execution>
+ <goals>
+ <goal>package</goal>
+ </goals>
+ </execution>
+ </executions>
+ <groupId>com.yelbota.plugins</groupId>
+ <artifactId>adt-maven-plugin</artifactId>
+ <version>@pom.version@</version>
+ <configuration>
+ <sdkVersion>3.2-RC1</sdkVersion>
+ <target>airi</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>com.adobe.flex.framework</groupId>
+ <artifactId>air-framework</artifactId>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+
+ <repositories>
+ <repository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </repository>
+ <repository>
+ <id>fomkingames.public.snapshot</id>
+ <name>fomkingames.public.snapshot</name>
+ <url>http://fomkingames-public-repository.googlecode.com/svn/release</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>fomkingames.public.release</id>
+ <name>fomkingames.public.release</name>
+ <url>http://fomkingames-public-repository.googlecode.com/svn/snapshot</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>flexis-local</id>
+ <url>http://artifactory.flexis.ru:8030/artifactory/flexis-local</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ <repository>
+ <id>yelbota-dropbox-repo</id>
+ <url>http://dl.dropbox.com/u/36020926/maven/</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ <releases><enabled>true</enabled></releases>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>yelbota-dropbox-repo</id>
+ <url>http://dl.dropbox.com/u/36020926/maven/</url>
+ <snapshots><enabled>false</enabled></snapshots>
+ <releases><enabled>true</enabled></releases>
+ </pluginRepository>
+ <pluginRepository>
+ <id>flex-mojos-repository</id>
+ <url>http://repository.sonatype.org/content/groups/flexgroup</url>
+ </pluginRepository>
+ <pluginRepository>
+ <id>flexis-local</id>
+ <url>http://artifactory.flexis.ru:8030/artifactory/flexis-local</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+</project>
@@ -0,0 +1,9 @@
+package {
+
+import flash.display.Sprite;
+
+public class Application extends Sprite {
+
+}
+
+}
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<application xmlns="http://ns.adobe.com/air/application/3.1">
+
+ <id>com.yelbota.plugins.adtmavenplugin.it.application</id>
+ <filename>Application</filename>
+ <name>My Application (UFT8 проверка)</name>
+ <versionNumber>0</versionNumber>
+ <versionLabel>0</versionLabel>
+
+ <initialWindow>
+ <content>Application.swf</content>
+ </initialWindow>
+
+<!--
+ <icon>
+ <image72x72>/icons/icon_Provit_Launcher_1-1-dmitriev.png</image72x72>
+ </icon>
+-->
+
+ <android>
+ <manifestAdditions>
+ <![CDATA[
+ <manifest android:installLocation="auto">
+ <uses-permission android:name="android.permission.INTERNET"/>
+ </manifest>
+ ]]>
+ </manifestAdditions>
+
+ </android>
+
+</application>
Binary file not shown.
Oops, something went wrong.

0 comments on commit 9cc1bba

Please sign in to comment.