Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD67318746 for ; Wed, 28 Oct 2015 08:45:13 +0000 (UTC) Received: (qmail 29364 invoked by uid 500); 28 Oct 2015 08:45:13 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 29327 invoked by uid 500); 28 Oct 2015 08:45:13 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 29310 invoked by uid 99); 28 Oct 2015 08:45:13 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 08:45:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BFDEF1809F8 for ; Wed, 28 Oct 2015 08:45:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.312 X-Spam-Level: * X-Spam-Status: No, score=1.312 tagged_above=-999 required=6.31 tests=[SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6AROfbtOAGm5 for ; Wed, 28 Oct 2015 08:45:02 +0000 (UTC) Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0118.outbound.protection.outlook.com [157.56.112.118]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 389E020604 for ; Wed, 28 Oct 2015 08:45:02 +0000 (UTC) Received: from DB5PR05MB1285.eurprd05.prod.outlook.com (10.162.157.147) by DB5PR05MB1286.eurprd05.prod.outlook.com (10.162.157.148) with Microsoft SMTP Server (TLS) id 15.1.306.13; Wed, 28 Oct 2015 08:44:54 +0000 Received: from DB5PR05MB1285.eurprd05.prod.outlook.com ([10.162.157.147]) by DB5PR05MB1285.eurprd05.prod.outlook.com ([10.162.157.147]) with mapi id 15.01.0306.003; Wed, 28 Oct 2015 08:44:53 +0000 From: Christofer Dutz To: "dev@flex.apache.org" Subject: AW: Enabling Flexmojos 7.1.0-SNAPSHOT in IntelliJ Thread-Topic: Enabling Flexmojos 7.1.0-SNAPSHOT in IntelliJ Thread-Index: AQHRD0pVt+ssLSBz0kSqV2we41bbMZ5/68mAgACur9o= Date: Wed, 28 Oct 2015 08:44:53 +0000 Message-ID: References: ,<1445984213895-49714.post@n4.nabble.com> In-Reply-To: <1445984213895-49714.post@n4.nabble.com> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=christofer.dutz@c-ware.de; x-originating-ip: [109.84.2.254] x-microsoft-exchange-diagnostics: 1;DB5PR05MB1286;5:iOQj1MHdC9xEKeX3Y3jw02XcQ9lA9jgNbcXgwUhnBNc+Hr9yuTk3pv9dACoE0lWcpELgFofBIqgK0TjroEuHxy1/ZnL5J5lWm2MLQH6VNlN+XADzon8P9d3qN0AGIIlGDoeU41HKCDSIbzp0sEP24g==;24:0LrIi1aAMnx/PsaHQg3wpG2qDVyaJtSI44v6eKOldEPT4zHmSC7mU1aL/aMbdCCo+R66EBTh/dfgvkO1MI/5hmW/mgsH22spetmKS8L4EDk=;20:l0VP9FcgEABceoJUJuy29ZBGHPRCnd6XWUUJf4OBUMAQQF3XHbvb2haXMC6bLXuQh9Z1T4lvFeFxJi0e09G+rw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1286; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(218778071194954); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046)(102215026);SRVR:DB5PR05MB1286;BCL:0;PCL:0;RULEID:;SRVR:DB5PR05MB1286; x-forefront-prvs: 0743E8D0A6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(377424004)(199003)(189998001)(5004730100002)(76576001)(66066001)(2900100001)(74316001)(75402003)(106356001)(87936001)(110136002)(33656002)(97736004)(2501003)(2950100001)(5003600100002)(102836002)(5007970100001)(122556002)(74482002)(107886002)(5001960100002)(10400500002)(77096005)(19580395003)(105586002)(54356999)(92566002)(76176999)(5008740100001)(81156007)(15975445007)(5002640100001)(4001150100001)(450100001)(40100003)(86362001)(106116001)(229853001)(101416001)(19580405001)(2351001)(50986999);DIR:OUT;SFP:1102;SCL:1;SRVR:DB5PR05MB1286;H:DB5PR05MB1285.eurprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: c-ware.de does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: c-ware.de X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2015 08:44:53.5266 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9d387546-1437-4b89-846c-691d64a7e74d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1286 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 th= em correctly. I am still having a little trouble with air projects not usin= g the default descriptor location. In my project it's "src/main/air/descrip= tor.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 iter= atively. Chris ________________________________________ Von: mscharp 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/j= ava -Dfile.encoding=3DUTF-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.v20150= 114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aether-connector-bas= ic-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/aethe= r-impl-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/lib/a= ether-spi-1.0.2.v20150114.jar:/Users/xxxxx/Dev/apache/apache-maven-3.3.3/li= b/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/ap= ache-maven-3.3.3/lib/aopalliance-1.0.jar:/Users/xxxxx/Dev/apache/apache-mav= en-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/xx= xxx/Dev/apache/apache-maven-3.3.3/lib/jsoup-1.7.2.jar:/Users/xxxxx/Dev/apac= he/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/ap= ache-maven-3.3.3/lib/maven-artifact-3.3.3.jar:/Users/xxxxx/Dev/apache/apach= e-maven-3.3.3/lib/maven-builder-support-3.3.3.jar:/Users/xxxxx/Dev/apache/a= pache-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-mav= en-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-m= aven-3.3.3/lib/org.eclipse.sisu.inject-0.3.0.jar:/Users/xxxxx/Dev/apache/ap= ache-maven-3.3.3/lib/org.eclipse.sisu.plexus-0.3.0.jar:/Users/xxxxx/Dev/apa= che/apache-maven-3.3.3/lib/plexus-cipher-1.7.jar:/Users/xxxxx/Dev/apache/ap= ache-maven-3.3.3/lib/plexus-component-annotations-1.5.5.jar:/Users/xxxxx/De= v/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/xxxx= x/Dev/apache/apache-maven-3.3.3/lib/plexus-utils-3.0.20.jar:/Users/xxxxx/De= v/apache/apache-maven-3.3.3/lib/sisu-guice-3.2.5-no_aop.jar:/Users/xxxxx/De= v/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/apac= he-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/flexmojo= s 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.ja= va: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.nab= ble.com/Enabling-Flexmojos-7-1-0-SNAPSHOT-in-IntelliJ-tp49703p49714.html Sent from the Apache Flex Development mailing list archive at Nabble.com.