flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@c-ware.de>
Subject AW: Enabling Flexmojos 7.1.0-SNAPSHOT in IntelliJ
Date Wed, 28 Oct 2015 08:44:53 GMT
Hmmm ... I think I am running IntelliJ on a more recent JVM ... eventually that's why it's
working (somewhat)

Yesterday I noticed, that now whenever I update the maven projects, now the .idea/flexmojos
directory contains valid config files and IntelliJ uses them correctly. I am still having
a little trouble with air projects not using the default descriptor location. In my project
it's "src/main/air/descriptor.xml" and IntelliJ seems to be using "src/main/resources/descriptor.xml",
but that seems to be another problem ... will try to fix all of this iteratively.

Chris

________________________________________
Von: mscharp <michael.scharp@fmr.com>
Gesendet: Dienstag, 27. Oktober 2015 23:16
An: dev@flex.apache.org
Betreff: Re: Enabling Flexmojos 7.1.0-SNAPSHOT in IntelliJ

Hey Chris.

I loaded your jar into my IntelliJ folder and restarted IntelliJ.  I then
did a "Reimport" on my maven flex project and still get an error generating
the flex configs.  This is the error from the IntelliJ log:

Only thing that I can see that might be relevant is IntelliJ itself uses
java 1.6, even though maven and everything else uses java 1.8.0_60

2015-10-27 16:18:47,327 [ 763889]   INFO -      #org.jetbrains.idea.maven -
Generate Flex Configs
Task:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA
14.app/Contents/plugins/flex/lib/flexmojos-flex-configs-generator-server-31.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-api-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-connector-basic-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-impl-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-spi-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-transport-wagon-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-util-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aopalliance-1.0.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/cdi-api-1.0.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/commons-io-2.2.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/commons-lang-2.6.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/guava-18.0.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/javax.inject-1.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/jsoup-1.7.2.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/jsr250-api-1.0.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-aether-provider-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-artifact-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-builder-support-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-compat-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-core-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-model-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-model-builder-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-plugin-api-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-repository-metadata-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-settings-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/maven-settings-builder-3.3.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/org.eclipse.sisu.inject-0.3.0.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/org.eclipse.sisu.plexus-0.3.0.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/plexus-cipher-1.7.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/plexus-component-annotations-1.5.5.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/plexus-interpolation-1.21.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/plexus-sec-dispatcher-1.3.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/plexus-utils-3.0.20.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/sisu-guice-3.2.5-no_aop.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/slf4j-api-1.7.5.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/slf4j-simple-1.7.5.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/wagon-file-2.9.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/wagon-http-2.9-shaded.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/wagon-http-shared-2.9.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/wagon-provider-api-2.9.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/boot/plexus-classworlds-2.5.2.jar"
com.intellij.flex.maven.GeneratorServer
/Users/xxxxx/Dev/apache/apache-maven-3.3.3/conf/settings.xml " "
/Users/xxxxx/.m2/repository f /Users/xxxxx/Dev/project-files/.idea/flexmojos
2015-10-27 16:18:47,623 [ 764185]   WARN -      #org.jetbrains.idea.maven -
Generating flex configs exited with exit code 1
2015-10-27 16:18:47,623 [ 764185]   INFO -      #org.jetbrains.idea.maven -
Generating flex configs out:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/maven/execution/MavenExecutionResult : Unsupported major.minor
version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Enabling-Flexmojos-7-1-0-SNAPSHOT-in-IntelliJ-tp49703p49714.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message