Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBB79DB70 for ; Wed, 7 Nov 2012 23:33:47 +0000 (UTC) Received: (qmail 40144 invoked by uid 500); 7 Nov 2012 23:33:47 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 40091 invoked by uid 500); 7 Nov 2012 23:33:47 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 40082 invoked by uid 99); 7 Nov 2012 23:33:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 23:33:47 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of omuppi1@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 23:33:41 +0000 Received: by mail-wg0-f41.google.com with SMTP id ds1so3081285wgb.0 for ; Wed, 07 Nov 2012 15:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=DbybtYcicyUg0tdQegOjG3QpooxZ8qqdjpkx9yF/ovM=; b=pSgjBTe+rc6oZ23SrYYGhzse0Ot68qL3yFOofipWaSSb+83QHYXKGbEsGgZ5nLBBra xzvYDZqIz6nTskD7UHtwf35DW0NvcPJMtqb6QanBVGArn7HbPijGu2dq+75+bYaoHRUH az8np3PnM95nNcgB/UjyHCVfbsLWVJcs8mmyC0EBXeBuMgId4Nyge9vVCJB2EsDhRmq6 uLfj2byf+ckwnUj3tRqQR/qohGQ/QJPXWBY87Qxl1kFtLGdubDjyqLPGOhxsOVenCHH4 gJ/trZue+AHofsS5vatOTDDouECMzTQK2gdzOvo6DyTB6p4J9N5jkLbZtDdmTw1tuq+k X3kA== Received: by 10.216.135.99 with SMTP id t77mr2351624wei.193.1352331199947; Wed, 07 Nov 2012 15:33:19 -0800 (PST) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.194.91.176 with HTTP; Wed, 7 Nov 2012 15:32:49 -0800 (PST) In-Reply-To: <194941352330986@web4g.yandex.ru> References: <66E38C42347D6446BF7FCB22C3D3878072E11D379E@ECCR06PUBLIC.exchange.local> <194941352330986@web4g.yandex.ru> From: Om Date: Wed, 7 Nov 2012 15:32:49 -0800 X-Google-Sender-Auth: nvBgp-U6s3hmTTj7f_XembjlDqM Message-ID: Subject: Re: [Discussion] Implementing a dedicated maven-flex-plugin To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6de1713caa34704cdf02472 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6de1713caa34704cdf02472 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 7, 2012 at 3:29 PM, Eugene Krevenets (aka Hyzhak) < hyzhak@yandex.com> wrote: > It's good news. Where you plan to share New Maven Plugin sources? As i > mentioned before, it's better be a github, because it's easy to pull > request to it. Thank you for your contribution to community. > > It would be best if the source code is directly contributed to the main Apache Flex repo. There is a github mirror for Apache Flex here: https://github.com/apache/flex for those who are interested in using github. Thanks, Om > 07.11.2012, 20:32, "christofer.dutz@c-ware.de" >: > > Hi, > > > > as most of you probably know, I'm currently working on a tool to > generate Mavenized FDKs. In parallel I am adjusting Flexmojos to support > the new Apache FDKs so people can build Flex applications using Maven. > > > > So far so good. After finishing the Generator and adjusting Flexmojos to > all of my changes, the last step was to generate the 4.8 FDK using the > maven group id org.apache.flex instead of com.adobe.flex. > > > > Now this introduced MAJOR problems. Currently you could use Flexmojos > with 4.8, if you compile the entire Plugin against the group id of apache > or you could use the adobe fdks after compiling it against the adobe group > id. > > The main reason is that otherwise Maven imports two versions of the jars > (the one of the FDK you want and the one Flexmojos was compiled against). > > > > Sorting this out would be a total nightmare as there are really magical > hacks working inside the build which cause any change in the scopes of > dependencies to blow everything up. > > I guess this is because Flexmojos includes insanely much code for > supporting legacy FDKs (back to 2.0 FDKs) and a ton of different tools for > different parts of the build lifecycle. > > > > My question now would be if it would not be better to officially leave > Flexmojos to be compiled against com.adobe.flex and to include an option in > the generator to generate the Apache FDKs to the Adobe namespace and to let > users be happy with that and use it. > > > > In parallel I would volunteer to start work on a new plugin aimed at > apache flex, but leaving away support of the Adobe FDKs. I would suggest to > concentrate on the main path, supporting only apache fdks, only flexunit > 4.1 for unit-testing, only the newest granite code generator and so on. In > this case this should be a manageable task, even if it will take a while. > As soon as the Version 1.0 is out we could start extending this to support > more stuff our users would need. I think continuing to add more and more > code to Flexmojos will only make it an unmaintainable monster whith all the > problems comming from that. > > > > As I mentioned, I would volunteer to start such a thing and I think > using Flexmojos as an inspiration on how to possibly implement something > like that it should be manageable. > > > > What do you think? > > > > Chris > > -- > Best regards. > > Eugene Krevenets. Software Engineer of Realaxy. > > Blog: http://anykeytocreate.blogspot.com > Code: http://hyzhak.github.com > linkedIn: http://me.linkedin.com/in/eugenekrevenets > --0016e6de1713caa34704cdf02472--