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 60AB511EEA for ; Tue, 24 Jun 2014 10:29:24 +0000 (UTC) Received: (qmail 30378 invoked by uid 500); 24 Jun 2014 10:29:23 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 30345 invoked by uid 500); 24 Jun 2014 10:29:23 -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 30333 invoked by uid 99); 24 Jun 2014 10:29:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 10:29:23 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agarwala.arpit@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-ig0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2014 10:29:20 +0000 Received: by mail-ig0-f171.google.com with SMTP id h18so4545690igc.4 for ; Tue, 24 Jun 2014 03:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=u/3v8x5kCPWh652rge6Fo4HVPKv5qh7CKKkqETP1NEQ=; b=XIQyX0YRaGB9G3UVCcSAg3sDqwSJH0n4ecgpqU9vV7g9xqclqoV9mmxCdeeBRc4E4l fFwngtHssmNyTanpeKtm4w792zE9mbrWHsEEgf+VM/v/JM9FoJLpZ3lSN0jwl3Yrvxqs fkugyxKLCkanAkO/eNJZXh2UMurPz7ShSdUKYPGL3b+ceJqnlZZ/hdWr0mVPUFmAGo76 KhO0SYVfO1qdlNlWbaBF8O6E/RVSs6WqYT7B1qGgVt/hqwn8oajQ4sr/BJ7rKiJBUDO6 hQ9UcCtKWnJJoKFdr4ZSkc30we6JkbA9qct8AMsWQ86T8NNHyl2dVwv/SXWb0/Caz6ur cUCA== X-Received: by 10.50.66.161 with SMTP id g1mr33447135igt.44.1403605735788; Tue, 24 Jun 2014 03:28:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.128.232 with HTTP; Tue, 24 Jun 2014 03:28:35 -0700 (PDT) Reply-To: agarwala.arpit@gmail.com In-Reply-To: <1403601859589.46304@c-ware.de> References: <1403500701601-6925.post@n4.nabble.com> <1403507955547.13167@c-ware.de> <1403516342475-6929.post@n4.nabble.com> <1403522652550-6932.post@n4.nabble.com> <1403523395700.15166@c-ware.de> <1403525307181-6934.post@n4.nabble.com> <1403597814447.62585@c-ware.de> <1403601859589.46304@c-ware.de> From: arpit agarwal Date: Tue, 24 Jun 2014 15:58:35 +0530 Message-ID: Subject: Re: AW: AW: Maven build failure issue with Flexmojo 6.x To: users@flex.apache.org Content-Type: multipart/alternative; boundary=047d7bdc0bec49578304fc926d59 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc0bec49578304fc926d59 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I have added the exclusion and i won't see a duplicate entry of playerglobal artifact. I also validate the configration.xml from target folder no suspicious dependencies there all are from 4.10 except playerglobal 11.8 ( as per required flashplayer version). as3common.reflect and validation libs are not bringing anything extra now. any other suggestions? Regards, Arpit On Tue, Jun 24, 2014 at 2:54 PM, Christofer Dutz wrote: > Perhaps sending the configuration.xml in the target directory could help > ... it should contain a list of all external libraries ... if you see any > flex libs with strange versions (Not version 4.10.x) these need to be > excluded. > > Chris > > ________________________________________ > Von: Fr=C3=A9d=C3=A9ric THOMAS > Gesendet: Dienstag, 24. Juni 2014 11:15 > An: users@flex.apache.org > Betreff: RE: AW: AW: Maven build failure issue with Flexmojo 6.x > > Can you provide or check your FlexMojo config to make sure it has been > correctly setup. > > Example for a simple project: > > > > net.flexmojos.oss > flexmojos-maven-plugin > ${flexmojos.version} > true > > > ${flex.debug} > ${flash-player.version} > true > ${flex.skip.test} > > false > > false > > > > > com.adobe.flex > compiler > ${flex.version} > pom > > > > > And example of as3-common-bytecode dependency which is not that far from > the reflect one: > > > org.as3commons > as3commons-bytecode > 1.1.0 > swc > > > com.adobe.flexunit > flexunit > > > com.adobe.flex.framework.air > air-framework > > > com.adobe.flex.framework > common-framework > > > com.adobe.flex.framework > playerglobal > > > org.osmf > OSMF > > > > > > Fr=C3=A9d=C3=A9ric THOMAS > > > From: agarwala.arpit@gmail.com > > Date: Tue, 24 Jun 2014 14:34:09 +0530 > > Subject: Re: AW: AW: Maven build failure issue with Flexmojo 6.x > > To: christofer.dutz@c-ware.de > > CC: users@flex.apache.org > > > > Thanks Chris. I have run that command to find out maven dependencies > tree. > > we use com.adobe.cairngorm:validation:swc > > and org.as3commons:as3commons-reflect:swc > > I see in dependencies tree, there is import for a different version of > > playerGlobal.swc from as3 commons. can this be a cause and if yes how t= o > > fix it?Please look at relevant tree portion. > > > > > > > com.adobe.flash.framework:playerglobal:rb.swc:11.8:compile > > +- org.as3commons:as3commons-reflect:swc:1.6.4:runtime > > [INFO] | +- org.as3commons:as3commons-lang:swc:0.3.7:runtime > > [INFO] | \- > > com.adobe.flex.framework:playerglobal:swc:10.2:4.5.1.21328:runtime > > \- com.adobe.cairngorm:validation:swc:1.12:runtime > > > > Regards, > > Arpit > > > > > > On Tue, Jun 24, 2014 at 1:46 PM, Christofer Dutz < > christofer.dutz@c-ware.de> > > wrote: > > > > > Ok ... in that case you have to stick to Flexmojos 6 > > > > > > But eventually third party libraries could be causing this as the > > > artifacts from the mavenizer are not 100% the same as the ones Velo > used to > > > deploy. > > > So you could be linking against third party libs that were compiled > using > > > Velo's FDKs and hereby pulling in multiple versions of the same > library. I > > > would recommend to check the output of the following maven command: > > > > > > mvn dependency:tree > > > > > > Eventually you have to add some "exclude" elements to third party > > > dependencies. > > > From the error message I can only guess what could be causing the > > > problems, but I recall having similar problems which were related to > > > version mixes. > > > > > > Chris > > > > > > ________________________________________ > > > Von: arpit agarwal > > > Gesendet: Dienstag, 24. Juni 2014 09:15 > > > An: users@flex.apache.org; aharui@adobe.com > > > Betreff: Re: AW: AW: Maven build failure issue with Flexmojo 6.x > > > > > > Hi Chrish, > > > > > > The group id for spark and sparkSkin arttifact is > > > "com.adobe.flex.framework". > > > Moreover, We are able to resolve one Error (below) by removing > > > [HostComponent] metadata and adding a hostComponent property (as we d= o > for > > > AS3 skins). It looks like when compiler parse this metadata and > create the > > > property hostComponent its give it a return type Object which is not > > > correct. why is compiler parsing of skin metaData is not correct? > > > > > > [ERROR] > > > /mnt/extra/var/local/snoopy/work/platform-master/ > > > kiwikframework/src/main/flex/com/guavus/framework/widgets/ > > > classes/TableStateWidgetSkin.mxml:[-1,-1] > > > Implicit coercion of a value of type > > > com.guavus.framework.widgets.classes:TableStateWidget to an unrelated > type > > > Object. > > > > > > This error is not easily replicable but reproducible on few systems > with > > > fixed set of repro steps. It will be hard to give a specific repro > setup. > > > Here is the details of setup. > > > > > > Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) > > > Maven home: /usr/local/apache-maven > > > Java version: 1.6.0_51, vendor: Apple Inc. > > > Java home: > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home > > > Default locale: en_US, platform encoding: MacRoman > > > OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac" > > > Apache Flex: 4.10 ( mavenized) > > > > > > 4.10.0.20130801 > > > 6.0.1 > > > 11.8.0 > > > > > > > > > com.adobe.flex > > > compiler > > > ${flex.version} > > > pom > > > > > > > > > > > > Alex, > > > can it be complier issue? do you know how the Metadata parsing is > done or > > > any code block u can point me to where i can see MetaData treatment i= n > > > compiler > > > > > > Regards, > > > Arpit > > > > > > > > > On Mon, Jun 23, 2014 at 10:04 PM, arpit agarwal < > agarwala.arpit@gmail.com> > > > wrote: > > > > > > > Hi Crish, > > > > > > > > We were using flexmojo 6.0.1 and mavenized the Apache 4.10 SDK. > But we > > > > were getting 2 strange error ( 1 at time ) randomly as posted by > Jitendra > > > > in his initial mail. > > > > should we migrate to 7.0.1 or those error can be solved in any othe= r > > > > possible way. We can remove those error by turning off strict > compiler > > > > argument but doesn't sound like a good approach. > > > > > > > > Regards, > > > > Arpit > > > > > > > > > > > > On Mon, Jun 23, 2014 at 5:38 PM, jiks@afg > > > wrote: > > > > > > > >> Thanks > > > >> > > > >> I willl find that artifacts and update ... > > > >> > > > >> > > > >> > > > >> > > > >> -- > > > >> View this message in context: > > > >> > > > > http://apache-flex-users.2333346.n4.nabble.com/Maven-build-failure-issue-= with-Flexmojo-6-x-tp6925p6934.html > > > >> Sent from the Apache Flex Users mailing list archive at Nabble.com= . > > > >> > > > > > > > > > > > > --047d7bdc0bec49578304fc926d59--