Ok ... well I investigated the code in 
intellij-plugins/flex/tools/flexmojos-flex-configs-generator/generator-server
com.intellij.flex.maven.GeneratorServer

This code was indeed adjusted to work with the new Maven 3.2 libs.  

When running IntelliJ using the "Flex-Plugin" Run configuration the generation 
of the flexmojos config files actually does work. If running normal IntelliJ it 
however doesn't. When configuring the build, I had to manually add a library 
"maven3.2" containing all the libs in 
"intellij-plugins/flex/tools/flexmojos-flex-configs-generator/lib/maven3.2" to 
the flexmojos-flex-configs-generator in order to make it build. Eventually in 
the normal build these libs aren't packaged. Could this be the reason for FM 
7.1.0 not working in IntelliJ if installed from the website installer?

Chris



________________________________________
Von: Alexander Doroshko <alexander.doros...@jetbrains.com>
Gesendet: Dienstag, 13. Oktober 2015 13:48
An: dev@flex.apache.org
Betreff: Re: AW: [IDEA-FlexPlugin] Setup Instructions

Should work fine. You'll only need to locally revert
FlexBuildConfigurationsExtension.java and
GlobalFlexHighlightingTest.java to their previous state (right click |
Git | Show History, right click previous revision | Get). With the next
EAP you'll undo local changes.
A lot of tests fail for me with java.lang.NoClassDefFoundError:
com/intellij/lang/typescript/inspections/TypeScriptCheckFunctionSignaturesInspection,
I'll take a look at the problem.

On 13.10.2015 13:45, Christofer Dutz wrote:
> Oh crap ... forget it ;)
>
> I didn't clone the Jetbrains Repos, I forked them ... that's why I didn't get 
> the latest changes :-)
>
> Chris
>
> ________________________________________
> Von: Christofer Dutz <christofer.d...@c-ware.de>
> Gesendet: Dienstag, 13. Oktober 2015 09:48
> An: dev@flex.apache.org
> Betreff: AW: [IDEA-FlexPlugin] Setup Instructions
>
> Well I found out what probably the structure will have to be to work with the 
> latest EAP :-)
> Also I managed to get the config-generator code to be "not-red". However I 
> was pretty surprised to see that the generator seems to already be running 
> with Maven 3.2 libs ... how come I still get the error messages when 
> importing a Flexmojos 7.1 project?
>
> Chris
>
> ________________________________________
> Von: Christofer Dutz <christofer.d...@c-ware.de>
> Gesendet: Montag, 12. Oktober 2015 23:31
> An: dev@flex.apache.org
> Betreff: AW: [IDEA-FlexPlugin] Setup Instructions
>
> Ok ... so today I managed to spare some time and started to work on the 
> Flexmojos 7.1 support.
> Unfortunately I seem to be unable to get a plugins or community version that 
> matches my Ultimate EAP version (143.116.4)
> Sadly some code has changed in the maven plugin, which seems to break the 
> flex plugin code (missing class: 
> org.jetbrains.idea.maven.importing.MavenModifiableModelsProvider)
>
> Any ideas?
>
> Chris
>
> ________________________________________
> Von: Alexander Doroshko <alexander.doros...@jetbrains.com>
> Gesendet: Mittwoch, 16. September 2015 20:06
> An: dev@flex.apache.org
> Betreff: Re: [IDEA-FlexPlugin] Setup Instructions
>
> After update to today's IntelliJ IDEA 15 EAP 142.4859.6 you'll have to
> locally revert to previous state (earlier than September 15) the
> following files:
>
> Flexmojos3Configurator.java
> Flexmojos3GenerateConfigTask.java
> Flexmojos4Configurator.java
> Flexmojos4GenerateConfigTask.java
> Flexmojos5Configurator.java
> FlexmojosImporter.java
> AddAsSwcLibDialog.java
> FlexProjectConfigurationEditor.java
> DependenciesConfigurable.java
>
> All in FlexAutoPopupTest + 2 more tests fail, the rest should pass.
>
> On 09.09.2015 16:22, Alexander Doroshko wrote:
>> That's correct.
>> See #1 in Troubleshooting section of the readme.txt
>> Errors will go away with the next EAP (probably later today or tomorrow)
>>
>> For now: right click the problematic file | Git | Show History, select
>> revision from history older than the 2nd of September (142.4465.2
>> release date), right click it and select Get. Keep these local changes
>> in a separate Change List (Version Control tool window) for convenience.
>> You'll also have to comment out one line in FlexTestSuite when you'll
>> be running tests.

Reply via email to