Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6613D112FE for ; Sat, 17 May 2014 12:20:06 +0000 (UTC) Received: (qmail 50752 invoked by uid 500); 17 May 2014 12:19:57 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 13908 invoked by uid 500); 17 May 2014 11:54:56 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 2507 invoked by uid 99); 17 May 2014 11:33:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2014 11:33:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christofer.dutz@c-ware.de designates 213.199.154.12 as permitted sender) Received: from [213.199.154.12] (HELO emea01-am1-obe.outbound.protection.outlook.com) (213.199.154.12) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 May 2014 11:33:42 +0000 Received: from DBXPR05MB240.eurprd05.prod.outlook.com (10.242.143.154) by DBXPR05MB176.eurprd05.prod.outlook.com (10.242.143.26) with Microsoft SMTP Server (TLS) id 15.0.944.11; Sat, 17 May 2014 11:33:18 +0000 Received: from DBXPR05MB237.eurprd05.prod.outlook.com (10.242.143.147) by DBXPR05MB240.eurprd05.prod.outlook.com (10.242.143.154) with Microsoft SMTP Server (TLS) id 15.0.944.11; Sat, 17 May 2014 11:33:17 +0000 Received: from DBXPR05MB237.eurprd05.prod.outlook.com ([169.254.7.174]) by DBXPR05MB237.eurprd05.prod.outlook.com ([169.254.7.174]) with mapi id 15.00.0944.000; Sat, 17 May 2014 11:33:17 +0000 From: Christofer Dutz To: "users@flex.apache.org" Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation Thread-Topic: AW: AW: AW: flex compilation diferent from maven compilation Thread-Index: AQHPaENL5vDflTKdYEaqY9tYsXP/8JsxuHcBgAAJzwCAABLZr4AMbgeAgABE6lqAAaRjgIACxeMAgAHEY0A= Date: Sat, 17 May 2014 11:33:17 +0000 Message-ID: <43b09cdf90dc48c9a03b7a2151cb906d@DBXPR05MB237.eurprd05.prod.outlook.com> References: ,<1399282515198.5417@c-ware.de>,,<1399288436534.93102@c-ware.de>,,<1399986532878.21356@c-ware.de>, In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.150.108.13] x-forefront-prvs: 0214EB3F68 x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(428001)(189002)(199002)(51874003)(53754006)(51704005)(79102001)(83322001)(19580395003)(19580405001)(33646001)(4396001)(76576001)(83072002)(85852003)(15975445006)(101416001)(20776003)(66066001)(87936001)(21056001)(64706001)(2656002)(81342001)(77982001)(74482001)(92566001)(81542001)(86362001)(31966008)(74662001)(76176999)(54356999)(75402002)(50986999)(74316001)(46102001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:DBXPR05MB240;H:DBXPR05MB237.eurprd05.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (: c-ware.de does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=christofer.dutz@c-ware.de; Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: c-ware.de X-Virus-Checked: Checked by ClamAV on apache.org Well you are specifying a non-default version of flex, but are using the de= fault compiler. You need to specify the compiler as dependency of the plugi= n. I use this plugin configuration: net.flexmojos.oss flexmojos-maven-plugin ${flexmojos.version} true true 11 rsl/{artifactId}-{version}.{extension} true net.flexmojos.oss flexmojos-threadlocaltoolkit-wrappe= r ${flexmojos.version} org.apache.flex compiler ${flex.version} pom Hope it helps. Chris -----Urspr=FCngliche Nachricht----- Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]=20 Gesendet: Freitag, 16. Mai 2014 10:33 An: users@flex.apache.org Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation Hi Chris, I went forward. I am using flexmojos 7.0.0 I mavenize the project with true in the end of the command i add that to my= repository. but when i run in my first sub project i get this error [ERROR] Failed to e= xecute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (def= ault-compile-swc) on project bs2020FoundationFlex: Execution default-compil= e-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc fa= iled: Flex compiler and flex framework versions doesn't match. Compiler: '4= .12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhatIm= DoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this c= heck. Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing it = instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEX= MOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.lifecy= cle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss:f= lexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project bs= 2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.oss= :flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex fr= amework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: '3= .5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexm= ojosForStopWorking' to disable this check. Please refer to Flexmojos maven= doc. But i add the dependecy=20 net.flexmojos.oss flexmojos= -maven-plugin ${flexmojos.version} = true org.apache.flex compiler ${flex.version}<= /version> pom = org.apache.flex.framework flex-= framework ${flex.version} pom ..... Even in the project org.apache.flex.framework flex-framework ${flex.version} pom So, maybe you can point why he is looking for version 3.5 the default versi= on. Thanks in advance for the help Miguel > From: miguel.cd.ferreira@hotmail.com > To: users@flex.apache.org > Subject: RE: AW: AW: AW: flex compilation diferent from maven=20 > compilation > Date: Wed, 14 May 2014 15:12:07 +0100 >=20 > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away t= o get that artifact that i can pass it to the Nexus team? > I can also update to the version 7 but in the nexus i could not find=20 > it >=20 > > From: christofer.dutz@c-ware.de > > To: users@flex.apache.org > > Subject: AW: AW: AW: flex compilation diferent from maven=20 > > compilation > > Date: Tue, 13 May 2014 13:08:53 +0000 > >=20 > > Hi Miguel, > >=20 > > yes I have an Artifactory in which I have all the artifacts. But No,=20 > > I can't give you access to that. Aotherwise Adobe would probably=20 > > start writing mad letters to me ;-) > >=20 > > What version of Flexmojos are you using? 6.x or 7.x? > >=20 > > Chris > > ________________________________________ > > Von: Miguel Ferreira > > Gesendet: Dienstag, 13. Mai 2014 11:00 > > An: users@flex.apache.org > > Betreff: RE: AW: AW: flex compilation diferent from maven=20 > > compilation > >=20 > > Hi Chris, > > Even related to the topic, > > Do you have a Nexus Proxy were i can connect to have the correct depend= encies and the correct versions? > > Because in the pom file i have the dependency of the flex compiler ver= sion 4.6.0 but i only can find the dependency for the version 4.6.b.And is = a headache because i don't "control" the Nexus environment, but, a can tell= the Nexus team to open a Nexus proxy for this dependency and that will sol= ve my issue and also future dependencies problems where i can update always= the flexmojos without looking if the dependencies are correct or not. > >=20 > > Thank you, > > Miguel > >=20 > > > From: christofer.dutz@c-ware.de > > > To: users@flex.apache.org > > > Subject: AW: AW: flex compilation diferent from maven compilation > > > Date: Mon, 5 May 2014 11:13:56 +0000 > > > > > > Hi Miguel, > > > > > > You can have a look at my confluence ... here I documented a lot of s= tuff back in the days where I didn't have write Access to the Flexmojos Wik= i: > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section > > > Especially this article should be a good starting point: > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p > > > oms But I currently do see that these pages could use an update to=20 > > > the latest Flexmojos and Apache Flex versions. > > > > > > Just come back if you have any problems. > > > > > > Chris > > > > > > ________________________________________ > > > Von: Miguel Ferreira > > > Gesendet: Montag, 5. Mai 2014 12:04 > > > An: users@flex.apache.org > > > Betreff: RE: AW: flex compilation diferent from maven compilation > > > > > > Hi Chris, > > > I was waiting for your response! > > > I enter in this project and a lot of libraries and etc are 1000=20 > > > years old because i did not know Maven i let it be quiet there but in= this moment i was already reading and trying to update this historical ver= sion to a update one :) Thanks for the links i will give it a try. > > > Miguel > > > > > > > From: christofer.dutz@c-ware.de > > > > To: users@flex.apache.org > > > > Subject: AW: flex compilation diferent from maven compilation > > > > Date: Mon, 5 May 2014 09:35:15 +0000 > > > > > > > > Hi Miguel, > > > > > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all ca= pable of compiling with Apache Flex versions. If you want to use Apache Fle= x releases you have to upgrade to Flexmojos 7.0.0 and currently you have to= create the Mavenized version of the Flex SDK by using our cool Mavenizer t= ool: > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK > > > > +Mavenizer > > > > > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.oss= .flexmojos. I think having a look at this document is a good starting point= : > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating > > > > +to+6.x > > > > > > > > The only main difference between Flexmojos 6 and 7 is that the Flex= SDK now has the group Id org.apache.flex instead of com.adobe.flex. > > > > > > > > Chris > > > > > > > > ________________________________________ > > > > Von: Miguel Ferreira > > > > Gesendet: Montag, 5. Mai 2014 11:20 > > > > An: users@flex.apache.org > > > > Betreff: flex compilation diferent from maven compilation > > > > > > > > Hi all, > > > > > > > > Last week i developed some menu items for the context menu in a fle= x application. > > > > When i compile it with FB 4.7 every option is show without any prob= lem but when i compile with maven the context menu is always the default on= e? > > > > > > > > I am using SDK 4.10.flash version 10.0.45 > > > > > > > > 4.10.0.20130801 3.6.1 10.0.45 11.8 flex3 target > > > > I am quite new with maven. > > > > I can see that is a old version of flex mojos. Is that the solution= ? to update to the most recent. > > > > Or the compiler have to have some extra argument? > > > > Thank you in advance for some feedback. > > > > Miguel. > =20 =20