On 07.08.2014 15:29, Christofer Dutz wrote:
Yeah! Thanks for that fast response :-)
I think I have tracked down the problem a little more:
If I create a flexmojos maven project that builds an Air application, I am
unable to debug this as an Air application (When building a Flash application,
it works however). Whenever I I try to create a Flash run configuration it only
contains some rudimentary settings and is unable to start ADL.
I have found out however, if I go to the project settings, select "Modules" and add a new
"Flash build configuration", I am able to select "Mobile" and all the other stuff.
If I now try to create a new rund/debug configuration and select that manually
created configuration, I get the expected options and ADL launches niceley.
When importing Flexmojos project for the first time IDE tries to guess
its target platform (Web, Desktop or Mobile) analyzing pom dependencies.
For example if it finds mobilecomponents.swc and airglobal.swc then it
makes the project Mobile-targeted automatically. After first import you
need to go to Project Structure | Modules | [imported module] | [build
config subnode] | all tabs and fix everything as you like. On reimport
options set manually should be preserved.
Another thing I have noticed:
If I select a FDK that I installed using the Flex installer, I am able to bebug
my application, if however I select the automatically detected Flexmojos FDK, I
get SocketTimeoutExceptions during startup. Am I missing anything in my
mavenized FDKs (old mavenizer)?
Can't say for sure what's wrong. You may try to analyze fdb command line
(printed in Debug console). May be some jar paths there are missing or
incorrect or lead to unexistent files.
Chris
________________________________________
Von: Alexander Doroshko <[email protected]>
Gesendet: Donnerstag, 7. August 2014 11:46
An: [email protected]
Betreff: Re: Debugging Air Mobile application built with Flexmojos in IntelliJ
Ultimate?
I'll try to help you. Please give some details & screenshots on what you
do / what you get / what you want, so far I'm far from understanding the
problem. You can email me directly if you want.
Alex
On 07.08.2014 11:55, Christofer Dutz wrote:
Hi,
as I am currently working on a prototype for a mobile application in order to promote
Flex in my new company, I wanted to setup running/debugging Air applications inside
IntelliJ ... Mlexmojos correctly builds the Air applications, but I seem to be unable to
setup a build configuration. IntelliJ doesn't seem to offer the same options a
"normal" Air module has.
Would I have to do something in Flexmojos (configuration or are there missing
parts that I should add to Flexmojos) in order to do this?
Chris