4 Replies Last post: Feb 28, 2013 2:45 AM by Antoine Lassauzay  
Antoine Lassauzay Newbie 6 posts since
Jan 17, 2013
Currently Being Moderated

Feb 26, 2013 9:25 PM

Read ANE dependencies from Maven configuration

Hi,

 

I have a Maven/FlexMojos build that works perfectly well with IntelliJ 12.0.4.

 

However, in the process of adding AIR support to this project, I have an issue with dependencies that are Adobe Native Extensions (special SWC libraries that contains specific target platform implementations).

 

I deployed the ANE file and then added the dependency in my POM.

 

<dependency>

            <groupId>com.freshplanet</groupId>

            <artifactId>air-facebook-ane</artifactId>

            <version>20130225</version>

            <type>ane</type>

</dependency>

 

IntelliJ does not seem to be able to detect that this file is indeed a native extension or even a Flex library (it is simply ignored), which causes later problems when I need to package the application.

 

The workaround I found is to manually re-add the dependency as an ANE to my module configuration (in that manner, IntelliJ seems to manage the ANE correctly), which is not very convenient since it's not in my maven configuration. Then, I added the SWC file as a dependency so that it compiles with Maven (I don't know how to use ANE with FlexMojos yet).

 

I am not sure what is the correct way to manage ANEs used in my build. Is this doable without the manual addition trick ? Any suggestions are welcomed.

 

Best regards

Alexander Doroshko JetBrains 955 posts since
Jun 9, 2009
Currently Being Moderated
Feb 27, 2013 1:24 PM in response to: Antoine Lassauzay
Re: Read ANE dependencies from Maven configuration

ANE dependencies support can be added in upcoming IntelliJ IDEA 12.1, please create a YouTrack request for that.

Keystore, files to include in the package, etc., can also be supported if there's a standard documented way to configure them. Is there?

More Like This

  • Retrieving data ...