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 C9544112A4 for ; Tue, 20 May 2014 07:17:57 +0000 (UTC) Received: (qmail 1275 invoked by uid 500); 20 May 2014 07:17:57 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 1245 invoked by uid 500); 20 May 2014 07:17:57 -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 1237 invoked by uid 99); 20 May 2014 07:17:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 07:17:57 +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.14 as permitted sender) Received: from [213.199.154.14] (HELO emea01-am1-obe.outbound.protection.outlook.com) (213.199.154.14) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2014 07:17:53 +0000 Received: from DBXPR05MB237.eurprd05.prod.outlook.com (10.242.143.147) by DBXPR05MB238.eurprd05.prod.outlook.com (10.242.143.152) with Microsoft SMTP Server (TLS) id 15.0.944.11; Tue, 20 May 2014 07:17:29 +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; Tue, 20 May 2014 07:17:28 +0000 From: Christofer Dutz To: "users@flex.apache.org" Subject: AW: AW: AW: AW: AW: flex compilation diferent from maven compilation Thread-Topic: AW: AW: AW: AW: flex compilation diferent from maven compilation Thread-Index: AQHPaENL5vDflTKdYEaqY9tYsXP/8JsxuHcBgAAJzwCAABLZr4AMbgeAgABE6lqAAaRjgIACxeMAgAHEY0CAA2rbgIABBLrH Date: Tue, 20 May 2014 07:17:27 +0000 Message-ID: <1400570247412.22601@c-ware.de> References: ,<1399282515198.5417@c-ware.de>,,<1399288436534.93102@c-ware.de>,,<1399986532878.21356@c-ware.de>,,,<43b09cdf90dc48c9a03b7a2151cb906d@DBXPR05MB237.eurprd05.prod.outlook.com>, In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.99.42.56] x-forefront-prvs: 02176E2458 x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(428001)(504964003)(51914003)(189002)(199002)(51704005)(53754006)(51874003)(19580395003)(83072002)(101416001)(19580405001)(83322001)(75402002)(77982001)(99396002)(4396001)(21056001)(74662001)(92726001)(31966008)(15202345003)(81542001)(66066001)(36756003)(54356999)(20776003)(79102001)(46102001)(64706001)(86362001)(92566001)(81342001)(74482001)(85852003)(87936001)(50986999)(76176999)(2656002)(15975445006);DIR:OUT;SFP:;SCL:1;SRVR:DBXPR05MB238;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 Hi Miguel,=0A= =0A= How did you provide the memory? Could you post your MAVEN_OPTS? =0A= Cause your build only seems to use about 500MB (Final Memory: 15M/494M)=0A= =0A= Chris=0A= ________________________________________=0A= Von: Miguel Ferreira =0A= Gesendet: Montag, 19. Mai 2014 17:43=0A= An: users@flex.apache.org=0A= Betreff: RE: AW: AW: AW: AW: flex compilation diferent from maven compilati= on=0A= =0A= Hi,=0A= Well i am back again :(=0A= =0A= I try to go further but still blocked... this is frustrating..=0A= =0A= Now i get a Java Heap Space Error :( I already gave to maven opt 4096 and a= lso extra for JVM i think the problem should be some where else... but wher= e?!=0A= I get this trace maybe someone had the same error and solve it: ( when i us= e version 3.6.1 it works with out this... )=0A= =0A= -include-sources=3DC:\Projects\dev\mainFlex \bs2020Flex\basicFoundationFlex= \src[ERROR] Java heap space[INFO] ----------------------------------------= --------------------------------[INFO] Reactor Summary:[INFO][INFO] mainFle= x ........................................ SUCCESS [11.883s][INFO] basicFou= ndationFlex .............................. FAILURE [28.741s][INFO] --------= ----------------------------------------------------------------[INFO] BUIL= D FAILURE[INFO] -----------------------------------------------------------= -------------[INFO] Total time: 42.285s[INFO] Finished at: Mon May 19 17:39= :31 CEST 2014[INFO] Final Memory: 15M/494M[INFO] --------------------------= ----------------------------------------------[ERROR] Failed to execute goa= l net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compile-swc (default-compi= le-swc) on project basicFoundationFlex: Got 1 errors building project, chec= k logs -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: F= ailed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.0:compil= e-swc (default-compile-swc) on project bs2020FoundationFlex: Got 1 errors b= uilding project, check logs at org.apache.maven.lifecycle.internal.M= ojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifec= ycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apa= che.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) = at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildPro= ject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.i= nternal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)= at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThrea= dedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.in= ternal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.ap= ache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apac= he.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.m= aven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli= .MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli= .main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.inv= oke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(N= ativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAcce= ssorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.r= eflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classwo= rlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.code= haus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) = at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launc= her.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.m= ain(Launcher.java:352)Caused by: org.apache.maven.plugin.MojoFailureExcepti= on: Got 1 errors building project, check logs at net.flexmojos.oss.p= lugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314) at n= et.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(A= bstractFlexCompilerMojo.java:1691) at net.flexmojos.oss.plugin.compi= ler.CompcMojo.execute_aroundBody0(CompcMojo.java:251) at net.flexmoj= os.oss.plugin.compiler.CompcMojo.execute_aroundBody1$advice(CompcMojo.java:= 53) at net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBod= y2(CompcMojo.java:245) at net.flexmojos.oss.plugin.compiler.CompcMoj= o.execute_aroundBody3$advice(CompcMojo.java:31) at net.flexmojos.oss= .plugin.compiler.CompcMojo.execute_aroundBody4(CompcMojo.java:1) at = net.flexmojos.oss.plugin.compiler.CompcMojo.execute_aroundBody5$advice(Comp= cMojo.java:34) at net.flexmojos.oss.plugin.compiler.CompcMojo.execut= e(CompcMojo.java:1) at org.apache.maven.plugin.DefaultBuildPluginMan= ager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.m= aven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) = ... 19 more[ERROR][ERROR][ERROR] For more information about the errors and = possible solutions, please read the following articles:[ERROR] [Help 1] htt= p://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[ERROR][E= RROR] After correcting the problems, you can resume the build with the comm= and=0A= =0A= =0A= > From: christofer.dutz@c-ware.de=0A= > To: users@flex.apache.org=0A= > Subject: AW: AW: AW: AW: flex compilation diferent from maven compilation= =0A= > Date: Sat, 17 May 2014 11:33:17 +0000=0A= >=0A= > Well you are specifying a non-default version of flex, but are using the = default compiler. You need to specify the compiler as dependency of the plu= gin.=0A= >=0A= > I use this plugin configuration:=0A= >=0A= > =0A= > net.flexmojos.oss=0A= > flexmojos-maven-plugin=0A= > ${flexmojos.version}=0A= > =0A= > true=0A= > true=0A= > 11=0A= > =0A= > rsl/{artifactId}-{version}.{extension}=0A= > =0A= > true=0A= > =0A= > =0A= > =0A= > =0A= > net.flexmojos.oss=0A= > flexmojos-threadlocaltoolkit-wrap= per=0A= > ${flexmojos.version}=0A= > =0A= > =0A= > =0A= > org.apache.flex=0A= > compiler=0A= > ${flex.version}=0A= > pom=0A= > =0A= > =0A= > =0A= >=0A= > Hope it helps.=0A= >=0A= > Chris=0A= >=0A= > -----Urspr=FCngliche Nachricht-----=0A= > Von: Miguel Ferreira [mailto:miguel.cd.ferreira@hotmail.com]=0A= > Gesendet: Freitag, 16. Mai 2014 10:33=0A= > An: users@flex.apache.org=0A= > Betreff: RE: AW: AW: AW: flex compilation diferent from maven compilation= =0A= >=0A= > Hi Chris,=0A= > I went forward.=0A= > I am using flexmojos 7.0.0=0A= > I mavenize the project with true in the end of the command i add that to = my repository.=0A= > but when i run in my first sub project i get this error [ERROR] Failed to= execute goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc (d= efault-compile-swc) on project bs2020FoundationFlex: Execution default-comp= ile-swc of goal net.flexmojos.oss:flexmojos-maven-plugin:7.0.0:compile-swc = failed: Flex compiler and flex framework versions doesn't match. Compiler: = '4.12.0.20140303' - Framework: '3.5.0.12683'.[ERROR] You can use 'iKnowWhat= ImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this= check. Please refer to Flexmojos maven doc.[ERROR] If you prefer fixing i= t instead of ignoring, take a look at: https://docs.sonatype.org/display/FL= EXMOJOS/How+to+set+Flex+SDK+version[ERROR] -> [Help 1]org.apache.maven.life= cycle.LifecycleExecutionException: Failed to execute goal net.flexmojos.oss= :flexmojos-maven-plugin:7.0.0:compile-swc (default-compile-swc) on project = bs2020FoundationFlex: Execution default-compile-swc of goal net.flexmojos.o= ss:flexmojos-maven-plugin:7.0.0:compile-swc failed: Flex compiler and flex = framework versions doesn't match. Compiler: '4.12.0.20140303' - Framework: = '3.5.0.12683'. You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFle= xmojosForStopWorking' to disable this check. Please refer to Flexmojos mav= en doc.=0A= >=0A= >=0A= > But i add the dependecy=0A= > net.flexmojos.oss<= /groupId> flexmojos-maven-pl= ugin ${flexmojos.vers= ion} true=0A= > = = org.apache.flex = compiler = ${flex.version} = pom = = org.apache= .flex.framework = flex-framework = ${flex.version} = pom = =0A= > .....=0A= > Even in the project=0A= >=0A= > or= g.apache.flex.framework flex-frame= work ${flex.version} = pom=0A= >=0A= >=0A= > So, maybe you can point why he is looking for version 3.5 the default ver= sion.=0A= >=0A= >=0A= >=0A= > Thanks in advance for the help=0A= > Miguel=0A= >=0A= > > From: miguel.cd.ferreira@hotmail.com=0A= > > To: users@flex.apache.org=0A= > > Subject: RE: AW: AW: AW: flex compilation diferent from maven=0A= > > compilation=0A= > > Date: Wed, 14 May 2014 15:12:07 +0100=0A= > >=0A= > > 6.0.1 and is points for the 4.6.0 that i can not find ? there is a away= to get that artifact that i can pass it to the Nexus team?=0A= > > I can also update to the version 7 but in the nexus i could not find=0A= > > it=0A= > >=0A= > > > From: christofer.dutz@c-ware.de=0A= > > > To: users@flex.apache.org=0A= > > > Subject: AW: AW: AW: flex compilation diferent from maven=0A= > > > compilation=0A= > > > Date: Tue, 13 May 2014 13:08:53 +0000=0A= > > >=0A= > > > Hi Miguel,=0A= > > >=0A= > > > yes I have an Artifactory in which I have all the artifacts. But No,= =0A= > > > I can't give you access to that. Aotherwise Adobe would probably=0A= > > > start writing mad letters to me ;-)=0A= > > >=0A= > > > What version of Flexmojos are you using? 6.x or 7.x?=0A= > > >=0A= > > > Chris=0A= > > > ________________________________________=0A= > > > Von: Miguel Ferreira =0A= > > > Gesendet: Dienstag, 13. Mai 2014 11:00=0A= > > > An: users@flex.apache.org=0A= > > > Betreff: RE: AW: AW: flex compilation diferent from maven=0A= > > > compilation=0A= > > >=0A= > > > Hi Chris,=0A= > > > Even related to the topic,=0A= > > > Do you have a Nexus Proxy were i can connect to have the correct depe= ndencies and the correct versions?=0A= > > > Because in the pom file i have the dependency of the flex compiler v= ersion 4.6.0 but i only can find the dependency for the version 4.6.b.And i= s a headache because i don't "control" the Nexus environment, but, a can te= ll the Nexus team to open a Nexus proxy for this dependency and that will s= olve my issue and also future dependencies problems where i can update alwa= ys the flexmojos without looking if the dependencies are correct or not.=0A= > > >=0A= > > > Thank you,=0A= > > > Miguel=0A= > > >=0A= > > > > From: christofer.dutz@c-ware.de=0A= > > > > To: users@flex.apache.org=0A= > > > > Subject: AW: AW: flex compilation diferent from maven compilation= =0A= > > > > Date: Mon, 5 May 2014 11:13:56 +0000=0A= > > > >=0A= > > > > Hi Miguel,=0A= > > > >=0A= > > > > You can have a look at my confluence ... here I documented a lot of= stuff back in the days where I didn't have write Access to the Flexmojos W= iki:=0A= > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Flexmojos+Section= =0A= > > > > Especially this article should be a good starting point:=0A= > > > > https://dev.c-ware.de/confluence/display/PUBLIC/Configuring+your+p= =0A= > > > > oms But I currently do see that these pages could use an update to= =0A= > > > > the latest Flexmojos and Apache Flex versions.=0A= > > > >=0A= > > > > Just come back if you have any problems.=0A= > > > >=0A= > > > > Chris=0A= > > > >=0A= > > > > ________________________________________=0A= > > > > Von: Miguel Ferreira =0A= > > > > Gesendet: Montag, 5. Mai 2014 12:04=0A= > > > > An: users@flex.apache.org=0A= > > > > Betreff: RE: AW: flex compilation diferent from maven compilation= =0A= > > > >=0A= > > > > Hi Chris,=0A= > > > > I was waiting for your response!=0A= > > > > I enter in this project and a lot of libraries and etc are 1000=0A= > > > > 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 v= ersion to a update one :) Thanks for the links i will give it a try.=0A= > > > > Miguel=0A= > > > >=0A= > > > > > From: christofer.dutz@c-ware.de=0A= > > > > > To: users@flex.apache.org=0A= > > > > > Subject: AW: flex compilation diferent from maven compilation=0A= > > > > > Date: Mon, 5 May 2014 09:35:15 +0000=0A= > > > > >=0A= > > > > > Hi Miguel,=0A= > > > > >=0A= > > > > > well Flexmojos 3.6.1 is about 1000 Years old :-) It's not at all = capable of compiling with Apache Flex versions. If you want to use Apache F= lex 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= tool:=0A= > > > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK= =0A= > > > > > +Mavenizer=0A= > > > > >=0A= > > > > > Flexmojos also has a new GroupId strarting from verion 5.x: net.o= ss.flexmojos. I think having a look at this document is a good starting poi= nt:=0A= > > > > > https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Migrating= =0A= > > > > > +to+6.x=0A= > > > > >=0A= > > > > > The only main difference between Flexmojos 6 and 7 is that the Fl= ex SDK now has the group Id org.apache.flex instead of com.adobe.flex.=0A= > > > > >=0A= > > > > > Chris=0A= > > > > >=0A= > > > > > ________________________________________=0A= > > > > > Von: Miguel Ferreira =0A= > > > > > Gesendet: Montag, 5. Mai 2014 11:20=0A= > > > > > An: users@flex.apache.org=0A= > > > > > Betreff: flex compilation diferent from maven compilation=0A= > > > > >=0A= > > > > > Hi all,=0A= > > > > >=0A= > > > > > Last week i developed some menu items for the context menu in a f= lex application.=0A= > > > > > When i compile it with FB 4.7 every option is show without any pr= oblem but when i compile with maven the context menu is always the default = one?=0A= > > > > >=0A= > > > > > I am using SDK 4.10.flash version 10.0.45=0A= > > > > >=0A= > > > > > 4.10.0.20130801 3.6.1 10.0.45 11.8 flex3 target =0A= > > > > > I am quite new with maven.=0A= > > > > > I can see that is a old version of flex mojos. Is that the soluti= on? to update to the most recent.=0A= > > > > > Or the compiler have to have some extra argument?=0A= > > > > > Thank you in advance for some feedback.=0A= > > > > > Miguel.=0A= > >=0A= >=0A=