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 6FE0C11A5A for ; Sun, 13 Apr 2014 15:11:52 +0000 (UTC) Received: (qmail 24523 invoked by uid 500); 13 Apr 2014 15:11:51 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 24494 invoked by uid 500); 13 Apr 2014 15:11:50 -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 24486 invoked by uid 99); 13 Apr 2014 15:11:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Apr 2014 15:11:48 +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 (athena.apache.org: domain of christofer.dutz@c-ware.de designates 213.199.154.15 as permitted sender) Received: from [213.199.154.15] (HELO emea01-am1-obe.outbound.protection.outlook.com) (213.199.154.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Apr 2014 15:11:43 +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.913.9; Sun, 13 Apr 2014 15:11:20 +0000 Received: from DBXPR05MB237.eurprd05.prod.outlook.com ([169.254.7.194]) by DBXPR05MB237.eurprd05.prod.outlook.com ([169.254.7.194]) with mapi id 15.00.0918.000; Sun, 13 Apr 2014 15:11:19 +0000 From: Christofer Dutz To: "dev@flex.apache.org" Subject: AW: Continuous Integration for Flex (Mobile but not only) apps Thread-Topic: Continuous Integration for Flex (Mobile but not only) apps Thread-Index: Ac9XGfhaEOjdLbtMQaCkLAM9/BkgSgAD3dRQ Date: Sun, 13 Apr 2014 15:11:19 +0000 Message-ID: References: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [65.122.198.30] x-forefront-prvs: 018093A9B5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009001)(6009001)(428001)(199002)(189002)(43784003)(20776003)(74662001)(77982001)(83322001)(46102001)(2656002)(31966008)(19580405001)(75402002)(74482001)(74316001)(76576001)(99396002)(4396001)(79102001)(19580395003)(33646001)(218763003)(87936001)(15202345003)(66066001)(86362001)(92566001)(76176999)(54356999)(81542001)(83072002)(80976001)(81342001)(85852003)(15975445006)(50986999)(24736002)(6606295002);DIR:OUT;SFP:1101;SCL:1;SRVR:DBXPR05MB240;H:DBXPR05MB237.eurprd05.prod.outlook.com;FPR:FC8CFDAC.920395C9.F1D53F77.542DF868.203C2;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (: c-ware.de does not designate permitted sender hosts) 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 Daniel, Great tutorial. Running Flex Cover and especially integrating this into the= build is a real PITA. Flexmojos (Maven Plugin for building Flex applications) does exactly what y= ou are doing, but instead of using Ant it uses Maven. (Ok the order is slightly different and I am currently working on implement= ing the Mobile packaging) Here some special efforts were put into making code-coverage availalbe. Eve= ntually this could serve as an inspiration to your ANT build. https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Test+coverage+suppor= t Chris -----Urspr=FCngliche Nachricht----- Von: Daniel Tiefenauer [mailto:Daniel.Tiefenauer@crealogix.com]=20 Gesendet: Sonntag, 13. April 2014 15:23 An: dev@flex.apache.org Betreff: Continuous Integration for Flex (Mobile but not only) apps Hi folks I set up a Continuous Integration process for a Mobile app created with Fle= x/Air. It was not an easy task for me, because I did this for the first tim= e. Since there may be other people like me struggling to do the same, I tho= ught it would be worth sharing my experience with you guys (especially beca= use I got some helpful hints from some of you). The process involves * Compiling the Code... * Packaging for Android and iOS... * Unit Testing... * Creating documentation... * Static Code analysis (LOC, languages used, code commentation, ...= ) ... as well as some things I found useful to know (e.g. handling Native Ext= ensions). Unfortunately I haven't found a way to check test coverage (FlexC= over seems to be outdated somehow), so if any of you have done this in a si= milar environment I would be VERY interested to know how you did it. I created a documentation where all the steps are thoroughly described, so = that even a beginner (like I was) could do it. You can find it under: http://www.tiefenauer.info/ci-for-flex-mobile-applications-part-0-the-setup= / If you have any comments or improvements, please do not hesitate to add the= m under the corresponding post! Hope this may help some other poor soul setting up CI for Flex in the futur= e. Thanks again for your help. Daniel PS: I apologize for the bad performance of my blog. It's running on a small= NAS and will be ported to a real server as soon as I have the time and mon= ey :)