The old 3.5 API is AIRPackager.createAIR()

Alger


On Wed, Feb 9, 2011 at 12:25 PM, Marvin Froeder <[email protected]> wrote:

> Do you know what is the API for SDK 3.5?
>
> VELO
>
>
> On Wed, Feb 9, 2011 at 9:23 AM, Alger Werft <[email protected]> wrote:
>
>> Then I get the mentioned error.
>>
>> The POM snippet outlines the workaround.
>>
>>
>> Alger
>>
>>
>>
>> On Wed, Feb 9, 2011 at 12:20 PM, Marvin Froeder <[email protected]>wrote:
>>
>>> What happen if you replace flex.sdk.adt.version with flex.sdk.version ?
>>>
>>> VELO
>>>
>>>
>>> On Wed, Feb 9, 2011 at 9:19 AM, Alger Werft <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>> I've been trying out Flexmojos 4.0 beta 3 the last few days.
>>>> First of all, so far everything went very smoothly. Thanks for the very
>>>> good job!
>>>>
>>>> Now to my problem:
>>>> Using the sign-air goal with a Flex SDK 3.5 results in the following
>>>> error:
>>>> [ERROR] Failed to execute goal
>>>> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-beta-3:sign-air (default)
>>>> on project ...: Execution default of goal
>>>> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-beta-3:sign-air failed: 
>>>> An
>>>> API incompatibility was encountered while executing
>>>> org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-beta-3:sign-air:
>>>> java.lang.NoSuchMethodError: com.adobe.air.AIRPackager.createPackage()V
>>>>
>>>> Workaround:
>>>> Switching the adt dependency version to 4.1.xxx does the trick though.
>>>>
>>>> The plugin part of the POM looks like this:
>>>>
>>>> <plugin>
>>>>  <groupId>org.sonatype.flexmojos</groupId>
>>>> <artifactId>flexmojos-maven-plugin</artifactId>
>>>>  <version>${flex-mojos.version}</version>
>>>> <extensions>true</extensions>
>>>>  <dependencies>
>>>> <dependency>
>>>> <groupId>com.adobe.flex</groupId>
>>>>  <artifactId>compiler</artifactId>
>>>> <version>${flex.sdk.version}</version>
>>>>  <type>pom</type>
>>>> </dependency>
>>>> <dependency>
>>>>  <groupId>com.adobe.flex.compiler</groupId>
>>>> <artifactId>adt</artifactId>
>>>>  <version>${flex.sdk.adt.version}</version>
>>>> <scope>compile</scope>
>>>>  </dependency>
>>>> </dependencies>
>>>> <configuration>
>>>>  <flexBuilderCompatibility>true</flexBuilderCompatibility>
>>>> <descriptorTemplate>...</descriptorTemplate>
>>>>  <keystore>...</keystore>
>>>> <storepass>...</storepass>
>>>>  </configuration>
>>>> <executions>
>>>> <execution>
>>>>  <goals>
>>>> <goal>sign-air</goal>
>>>> </goals>
>>>>  </execution>
>>>> </executions>
>>>> </plugin>
>>>>
>>>> With the properties:
>>>>
>>>> <flex.sdk.version>3.5.0.12683</flex.sdk.version>
>>>> <flex.sdk.adt.version>4.1.0.16076</flex.sdk.adt.version>
>>>>
>>>>
>>>>  Is this the way to go? Or are there other recommended solutions?
>>>>
>>>> --
>>>> Alger
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Flex Mojos" group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/flex-mojos
>>>>
>>>> http://flexmojos.sonatype.org/
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Flex Mojos" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/flex-mojos
>>>
>>> http://flexmojos.sonatype.org/
>>>
>>
>>
>>
>> --
>> Alger
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Flex Mojos" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/flex-mojos
>>
>> http://flexmojos.sonatype.org/
>>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to