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 91CC510BB3 for ; Wed, 18 Sep 2013 16:58:07 +0000 (UTC) Received: (qmail 39348 invoked by uid 500); 18 Sep 2013 16:58:06 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 39151 invoked by uid 500); 18 Sep 2013 16:58:06 -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 39122 invoked by uid 99); 18 Sep 2013 16:57:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 16:57:59 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FRT_BELOW2 X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of webdoublefx@hotmail.com designates 157.55.2.109 as permitted sender) Received: from [157.55.2.109] (HELO dub0-omc4-s34.dub0.hotmail.com) (157.55.2.109) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 16:57:51 +0000 Received: from DUB403-EAS246 ([157.55.2.71]) by dub0-omc4-s34.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Sep 2013 09:57:30 -0700 X-TMN: [BcPcH9mihQDg+j4yQpCPPVIY9L6eXyx/] X-Originating-Email: [webdoublefx@hotmail.com] Message-ID: From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_THOMAS?= To: References: <8AABC178-3D8C-4DBB-9FE7-CB92E3F7223C@classsoftware.com> In-Reply-To: Subject: RE: Building SDK from sources and locales support Date: Wed, 18 Sep 2013 18:57:15 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQABAgMEPAnhOvkeoP07s6BaQ39jnwAnSCm4ADHRauwATs+oJQA1Al1+AFSDookAU9Bl7wCO/N8tAGK5BRmdU2Kf8A== Content-Language: fr X-OriginalArrivalTime: 18 Sep 2013 16:57:30.0419 (UTC) FILETIME=[2975A830:01CEB490] X-Virus-Checked: Checked by ClamAV on apache.org Happy you finally got it working :-) > It's not very clear if the input of the mavenizer is an IDE SDK, or a = plain binary kit. It waits for an IDE ready SDK, so, the steps 3 to 5 bellow are wrong = IMO, you should had 5, then 4 as IIRC, the ide script bring the FP = version set in you property file. That's a long time I haven't mavenized a snapshot but last time it was = working fine even after it has been deployed by the deployer but I = should try to fine some time to test it again, maybe something else = except the build number changed. Anyway, thanks for your feedbacks, I'll take that in account next time = I'll try. -Fred -----Message d'origine----- De : Cosma Colanicchia [mailto:cosmacol@gmail.com]=20 Envoy=C3=A9 : mercredi 18 septembre 2013 18:42 =C3=80 : dev@flex.apache.org Objet : Re: Building SDK from sources and locales support It's not very clear if the input of the mavenizer is an IDE SDK, or a = plain binary kit. Until now I was trying with the IDE SDK (since I wasn't producing a = binary kit from sources), this may be the main cause of my problems: I = think that the mavenizer got confused by the extra SWCs files put in the = Flex SDK input folder, making it generate playerglobal-related and other = artifacts with the wrong groupId and for multiple FP (11.1 + 11.8). So, I repeated the process with the following steps instead: 1) generated a binary package (ant main frameworks-rsls sample-themes = other.locales binary-package additional-packages = -Dlocalized.jars=3Dtrue) * 2) extracted the content of the package in the mavenizer input/flex/... folder 3) manually copied a playerglobal.swc 11.1 in the /frameworks/lib/player/11.1 in the extracted folder 4) run the mavenizer SDKGenerator and SDKDeployer 5) run the ide script from the original source folder This way, projects seems to compile correctly in FB and with Maven, = thank you for the help! About the SNAPSHOT: I like the idea of having these artifacts as snapshots in the m2 repo, = but encountered the following drawbacks: - I had to manually correct the name of the generated RSLs in = frameworks/rsl, and correct their rsl-url in the = frameworks/air-config.xml and frameworks/flex-config.xml (maybe updating = the sdk description before the build could have them generated with the = correct name, but don't know if it is supported) - The multiple deploy-file operations used by the mavenizer to deploy = all the artifacts seems to be messing up the timestamps of the single = artifacts (they get a different timestamp on each generated artifact = snapshot), causing problem to flexmojos that will complaint about = discrepancies between the compiler and framework artifact timestamp = versions So, in the end, I reverted to generating plain artifacts with the = 4.10.0.YYYYMMDD version. About the binary-release-noclean target: - it executed some checkin tests (isn't it mustella?), and failed = (probably due to crossdomain issues) - it skip the setup-binary-release target, that was also setting the = localized.jar variables.. maybe we could create a = setup-binary-release-noclean? 2013/9/18 Fr=C3=A9d=C3=A9ric THOMAS > I guess, what I would do more or less is: > > update-index --assume-unchanged flex-sdk-description.xml run the ant=20 > targets you mentioned or even a release change the build number in the = > flex-sdk-description.xml to 0 run the sdk/ide batch I need run the=20 > Maven converter (because you set the build number to 0, it will=20 > generate a 4.11-SNAPSHOT) then, deploy it > > -Fred > > -----Message d'origine----- > De : Cosma Colanicchia [mailto:cosmacol@gmail.com] Envoy=C3=A9 : = mercredi=20 > 18 septembre 2013 10:02 =C3=80 : dev@flex.apache.org Objet : Re: = Building=20 > SDK from sources and locales support > > > > > > > > running checkin tests (and I think that my mustella is not set up > > properly, never tried running it yet), Running the checkin tests is=20 > > separate from running mustella. > > > Thank for the tip, I'll try to run it later to see what happens (but I = > have no modified sources currently). > > > p.s. the actual command line was: > ant main frameworks-rsls sample-themes other.locales=20 > additional-packages -Dlocalized.jars=3Dtrue > > (frameworks-rsls, not framework-rsls) >