This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
5 Replies Last post: Jun 28, 2012 1:41 PM by Alexander Doroshko  
Bert Vandamme Newbie 3 posts since
Jun 27, 2012
Currently Being Moderated

Jun 27, 2012 11:15 AM

flex / air module build configuration dependency

Hi,

 

Adding another flex module's build configuration as a dependency of a flex/air module doesn't seem to have any effect on the editor's code hightlighting. (compiling/making isn't a problem though)

I.e. the editor doesn't recognize the classes included in the library project that was added as dependency. (adding the swc directly does do the trick, but is kindof a hassle since the every code change in that library needs to be compiled)

Am I missing something here? (I'm using the latest idea EAP)

 

Cheers,

 

Bert

Alexander Doroshko JetBrains 1,310 posts since
Jun 9, 2009
Currently Being Moderated
Jun 27, 2012 2:12 PM in response to: Bert Vandamme
Re: flex / air module build configuration dependency

If you have more than one build configuration (BC) in Flash module then you can select which one should be used for highlighting of the edited file: active BC is selected in the status bar. Make sure that the BC with dependency on other BC is selected there.

Configuring dependency on swc produced by other BC should never be done of course, BC-on-BC dependency should affect highlighting. If you don't have any idea what's wrong please give some more details on the problem, e.g. screenshots of the problem and of the build configuration dependencies and specify where affected files are located.

Alexander Doroshko JetBrains 1,310 posts since
Jun 9, 2009
Currently Being Moderated
Jun 27, 2012 8:28 PM in response to: Bert Vandamme
Re: flex / air module build configuration dependency

Thanks,

as I understand, mxml file with WindowedApplication root (from screenshot) is in 'vhintra-shell' module and red classes (like MainPresentationModel) are in 'shell-bootstrap' module, right?

Configuration seems to be correct, but it's strange that one module came from maven/flexmojos import whereas the other one references standard non-flexmojos sdk. Is  'vhintra-shell' module created manually and doesn't have related pom.xml or the module configuraion was manually updated after reimport? The latter can potentially cause highighting problems - IntelliJ IDEA may continue to use maven dependencies even if you have changed Flexmojos SDK to the standard Flex SDK.

Alexander Doroshko JetBrains 1,310 posts since
Jun 9, 2009
Currently Being Moderated
Jun 28, 2012 1:41 PM in response to: Bert Vandamme
Re: flex / air module build configuration dependency

Does vhintra-shell pom contain dependency on shell-bootstrap pom? I mean have you added dependency on 'shell-bootstrap' BC manually or it appeared after reimport from maven?

 

In any case first of all we should figure out why vhintra-shell was imported from maven incorrectly. Can you please attach a screenshot of the Dependencies tab of the vhintra-shell BC just after reimport from maven? Is it possible to attach your vhintra-shell pom and referenced parent pom(s)? We can continue problem evaluation privately: alexander dot doroshko at jetbrains.com

More Like This

  • Retrieving data ...