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 D965310D0A for ; Wed, 20 Nov 2013 13:12:24 +0000 (UTC) Received: (qmail 10751 invoked by uid 500); 20 Nov 2013 13:12:22 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 10467 invoked by uid 500); 20 Nov 2013 13:12:22 -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 10459 invoked by uid 99); 20 Nov 2013 13:12:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 13:12:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cosmacol@gmail.com designates 209.85.223.182 as permitted sender) Received: from [209.85.223.182] (HELO mail-ie0-f182.google.com) (209.85.223.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Nov 2013 13:12:17 +0000 Received: by mail-ie0-f182.google.com with SMTP id as1so7200687iec.41 for ; Wed, 20 Nov 2013 05:11:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=uCZ3hgg35lCXcURM9WExKTCBFDh7wnhJQeQW1r/bsgg=; b=izk/tAz/eI20dbMst6slk6Z/C+CInYLq0WfCybPiDV4eoZNhCgoDvjdQOzdErnW52i XV/sCbJiPL2qQFZe+UBYdiIsbN0y5rGiZPo8urzfJH0lslO808lxX4MKWMfqhhsOta4s 6hYpIYSKYz5EZ2QF04H517cw6yTiUdzOicI8iuwvrdW9DStSAIj0dd6Xd48PNQvUBQcV 9MqCI2hokr1BaI1dC9vamYetY7KaOcwPS35lQYiIncC2TgdZptxMmSS3+RyWDriMbKfi F6ffF4VnJgdsEFkmUmV3bEBdOE1q3VBYF23XDKehKN7pgiXnxfLxiB4CWWz8+XsWOqLe u6LQ== X-Received: by 10.50.136.200 with SMTP id qc8mr22738681igb.52.1384953116332; Wed, 20 Nov 2013 05:11:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.251.37 with HTTP; Wed, 20 Nov 2013 05:11:36 -0800 (PST) In-Reply-To: <3B222F2E298C7C45ACC98C05DCA6BECD4A1EDAB62D@ECCR13PUBLIC.exchange.local> References: <3B222F2E298C7C45ACC98C05DCA6BECD4A1F1E98FB@ECCR13PUBLIC.exchange.local> <3B222F2E298C7C45ACC98C05DCA6BECD4A1F1E9909@ECCR13PUBLIC.exchange.local> <3B222F2E298C7C45ACC98C05DCA6BECD4A1F1E990B@ECCR13PUBLIC.exchange.local> <3B222F2E298C7C45ACC98C05DCA6BECD4A1F1E990D@ECCR13PUBLIC.exchange.local> <3B222F2E298C7C45ACC98C05DCA6BECD4A1EDAB62D@ECCR13PUBLIC.exchange.local> From: Cosma Colanicchia Date: Wed, 20 Nov 2013 14:11:36 +0100 Message-ID: Subject: Re: AW: Questions about current mavenizer status To: Apache Flex Developers ML Content-Type: multipart/alternative; boundary=089e0122a812879c5304eb9b86e5 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122a812879c5304eb9b86e5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Anyway, the =E2=80=9Clegacy=E2=80=9D deployer worked fine, and you could al= ways do a simple file copy, so this is not a real issue :) just sorry I couldn=E2=80=99t hel= p to test the new in-vm one. 2013/11/20 christofer.dutz@c-ware.de > Well I guess you don't use any sort of deployer in that case ;-) > > ________________________________________ > Von: Avi Kessner [akessner@gmail.com] > Gesendet: Mittwoch, 20. November 2013 13:27 > An: dev@flex.apache.org > Betreff: Re: AW: Questions about current mavenizer status > > It's not really an edge case. In my company we just copy pasted the > repository onto local drives :) > > brought to you by the letters A, V, and I > and the number 47 > > > On Wed, Nov 20, 2013 at 12:55 PM, Cosma Colanicchia >wrote: > > > I=E2=80=99m now trying to deploy the artifacts to a shared repository w= ith the > > in-vm deployer. > > > > Our repository is not exposed via HTTP, instead is accessed as a networ= k > > share using a file://... repository URL. The new deployer fail instantl= y > > with an ArtifactTransferException. > > > > Probably this is an edge case, with the previous deployer I was able to > > successful deploy the artifacts (probably because it relies on standard > mvm > > commands). > > > > > > This is the exception stack trace: > > > > Installing Artifact: com.adobe.air:compiler:3.9 > > - File with extension pom > > org.eclipse.aether.deployment.DeploymentException: Failed to deploy > > artifacts: Could not transfer artifact com.adobe.air:compiler:pom:3.9 > > from/to repo (file:///Volumes/Area\ Sviluppatori/m2-repository): > > /Volumes/Area\ > > Sviluppatori/m2-repository/com/adobe/air/compiler/3.9/compiler-3.9.pom > (No > > such file or directory) > > at > > > > > org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.j= ava:341) > > at > > > > > org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.j= ava:269) > > at > > > > > org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRe= positorySystem.java:413) > > at SDKInVMDeployer.processArtifact(SDKInVMDeployer.java:214) > > at SDKInVMDeployer.processDir(SDKInVMDeployer.java:152) > > at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161) > > at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161) > > at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161) > > at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161) > > at SDKInVMDeployer.processDir(SDKInVMDeployer.java:161) > > at SDKInVMDeployer.start(SDKInVMDeployer.java:137) > > at SDKInVMDeployer.main(SDKInVMDeployer.java:89) > > Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could > not > > transfer artifact com.adobe.air:compiler:pom:3.9 from/to repo > > (file:///Volumes/Area\ Sviluppatori/m2-repository): /Volumes/Area\ > > Sviluppatori/m2-repository/com/adobe/air/compiler/3.9/compiler-3.9.pom > (No > > such file or directory) > > at > > > > > org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFail= ed(ArtifactTransportListener.java:43) > > at > > > > > org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.ru= n(BasicRepositoryConnector.java:342) > > at > > > > > org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepo= sitoryConnector.java:271) > > at > > > > > org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.j= ava:335) > > ... 11 more > > Caused by: java.io.FileNotFoundException: /Volumes/Area\ > > Sviluppatori/m2-repository/com/adobe/air/compiler/3.9/compiler-3.9.pom > (No > > such file or directory) > > at java.io.FileOutputStream.open(Native Method) > > at java.io.FileOutputStream.(FileOutputStream.java:194) > > at java.io.FileOutputStream.(FileOutputStream.java:145) > > at > > > > > org.eclipse.aether.transport.file.FileTransporter.implPut(FileTransporter= .java:85) > > at > > > > > org.eclipse.aether.spi.connector.transport.AbstractTransporter.put(Abstra= ctTransporter.java:117) > > at > > > > > org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner= .runTask(BasicRepositoryConnector.java:578) > > at > > > > > org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.ru= n(BasicRepositoryConnector.java:337) > > ... 13 more > > > > > > > > > > 2013/11/20 Cosma Colanicchia > > > > > I have created the FDKs for 4.11 (with the latest AIR and FP versions= , > > and > > > all options checked) from Windows and from Mac, and tried to diff out > the > > > two folders. > > > > > > I see that there are a lot of changes, some of which are expected: > > > - /bin (adl vs adl.exe, adt vs adt.exe) > > > - /android/lib binaries (aapt vs aapt.exe, additional dlls for win) > > > - /lib/aot binaries > > > - /lib/nai binaries > > > - /runtimes > > > - a lot of differences in text files (xml, xsd and some sources), > maybe > > > due to line breaks? > > > - many differences in swc and jar binary files (maybe the installer = is > > > downloading different binary packages created with different build > run?) > > > > > > Then I run the mavenizer, and compared the output: the swc and jar > > > differences are clearly still there, but the file set is identical (n= o > > > additional file or artifacts are generated). > > > > > > So, it seems that the mavenized version is actually the same when > > > generated from a mac/win FDK. Probably, many of the differences will > > emerge > > > once mobile packaging will be supported by flexmojos? > > > > > > I can provide the output of the diff runs, if required.. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2013/11/20 christofer.dutz@c-ware.de > > > > > > Ok ... so I fixed the two mistakes :-) > > >> Thanks for reporting. > > >> > > >> Chris > > >> > > >> -----Urspr=C3=BCngliche Nachricht----- > > >> Von: Cosma Colanicchia [mailto:cosmacol@gmail.com] > > >> Gesendet: Dienstag, 19. November 2013 23:03 > > >> An: Apache Flex Developers ML > > >> Betreff: Re: AW: Questions about current mavenizer status > > >> > > >> Also, there's probably a typo on " url: (optional) The username used > to > > >> deploy the artifacts. > > >> mvn: (required only if a username is provided) The password used to > > >> deploy the artifacts" > > >> Il 19/nov/2013 23:00 "Cosma Colanicchia" ha > > scritto: > > >> > > >> > Great work, thank you. Note about the wiki page: "The actual > Mavenizer > > >> > (SDKDeployer)" maybe should be "... (SDKGenerator)"? (If it is > > >> > referred to the related class name) Il 19/nov/2013 22:47 > > >> > "christofer.dutz@c-ware.de" < christofer.dutz@c-ware.de> ha > scritto: > > >> > > > >> >> Sorry ... Flexmojos 6.x uses com.adobe.flex and Flexmojos 7.x > > >> >> org.apache.flex :-) > > >> >> > > >> >> -----Urspr=C3=BCngliche Nachricht----- > > >> >> Von: christofer.dutz@c-ware.de [mailto:christofer.dutz@c-ware.de] > > >> >> Gesendet: Dienstag, 19. November 2013 22:44 > > >> >> An: dev@flex.apache.org > > >> >> Betreff: AW: Questions about current mavenizer status > > >> >> > > >> >> This is a maven problem, that I wasn't able to work myself around= . > > >> >> So Flexmojos 6.x uses com.apache.flex and Flexmojos 7.x uses > > >> >> org.apache.flex So if you want to use Adobe FDKs you will have to > > >> >> stick to Flexmojos 6.x and if you want to use the latest Apache > Flex > > >> >> FDKs, you can use Flexmojos 6.x and set the "use-apache-gid" > > >> >> parameter to false or use Flexmojos 7.x and set it to true. > > >> >> > > >> >> Hope that clears up things a little :-) > > >> >> > > >> >> Chris > > >> >> > > >> >> -----Urspr=C3=BCngliche Nachricht----- > > >> >> Von: Toni Vega [mailto:tonivega82@gmail.com] > > >> >> Gesendet: Dienstag, 19. November 2013 22:11 > > >> >> An: dev@flex.apache.org > > >> >> Betreff: Re: Questions about current mavenizer status > > >> >> > > >> >> Well, my problem was several months ago when I tried to use the > > >> >> package "org.apache.flex" instead of "com.adobe.flex", but it was > > >> >> because Flexmojos > > >> >> 6 was still being developed. This time I only remember I had to > > >> >> change the property in the parent pom of Flexmojos to use > > >> >> "org.apache.flex" and it worked fine. > > >> >> > > >> >> > > >> >> 2013/11/19 Cosma Colanicchia > > >> >> > > >> >> > Yes, it worked as described in the README. What was your proble= m > > >> >> > exactly? I set the use-apache-gid parameter to false, because a= ll > > >> >> > of my project are still using the old flexmojos versions > > >> >> > > > >> >> > Noticed now that the README.txt does not describe the > > >> >> > use-apache-god parameter, that is correctly reported in the wik= i > > >> page. > > >> >> > > > >> >> > > > >> >> > 2013/11/19 Toni Vega > > >> >> > > > >> >> > > Did the param "fdktarget" work for you, Cosma? I remember I > tried > > >> >> > > to configure that quite time ago but it didn't worked forme. = I > > >> >> > > also remember that Christofer recomended me not to use > > >> "org.apache.flex" > > >> >> > > package (Flexmojos 6 was still in development). This last tim= e > I > > >> >> > > tried it, I just changed the properties in Flexmojos parent > pom. > > >> >> Thanks! > > >> >> > > > > >> >> > > Regards > > >> >> > > > > >> >> > > > > >> >> > > 2013/11/19 Cosma Colanicchia > > >> >> > > > > >> >> > > > @Christofer > > >> >> > > > > > >> >> > > > Thanks for the info, just some questions: when you say "win= " > > >> >> > > > directory, > > >> >> > > are > > >> >> > > > you referring to the subfolders in runtimes/air and > > >> >> > runtimes/air-captive? > > >> >> > > > The SDK produced by the installer correctly contains the > "mac" > > >> >> > runtimes, > > >> >> > > if > > >> >> > > > I understand correctly I should be able to add the > > >> >> > > > corresponding > > >> >> "win" > > >> >> > > > folders (borrowing them from an SDK prepared by the install= er > > >> >> > > > on a > > >> >> > > Windows > > >> >> > > > machine?) and the mavenizer should pick up them producing > > >> >> > > > artifacts > > >> >> > > usable > > >> >> > > > from win and mac, am I right? I see that the bin directory > > >> >> > > > already > > >> >> > > contains > > >> >> > > > windows batch file as well as bash scripts, so it should > > >> >> > > > already be cross-platform in this respect. > > >> >> > > > > > >> >> > > > I'll also try the in-vm deployer and let you know. > > >> >> > > > > > >> >> > > > > > >> >> > > > @Om > > >> >> > > > > > >> >> > > > After a first look, it seems ok and very similar to the > > >> >> > > > README.txt contents. Maybe we could add some detail about t= he > > >> >> > > > AIR SDK requirement (that is actually not required with the > > >> >> > > > latest Apache Flex releases), > > >> >> > and > > >> >> > > > some words about the effect of running it from a specific > > >> >> > > > platform (mac/win). This is not a problem with the installe= r > > >> >> > > > itself (it is meant > > >> >> > > to > > >> >> > > > prepare an SDK for the user on its environment), but > generally > > >> >> > > > the artifacts are prepared and deployed in order to be used > by > > >> >> > > > other developers, so we should probably warn users about > this. > > >> >> > > > > > >> >> > > > If we want to help out new users, we could try to provide a > > >> >> > streamlined, > > >> >> > > > step-by-step guide referred to the latest Apache Flex > version, > > >> >> > > > along > > >> >> > > with a > > >> >> > > > convenience link to a compiled jar of the mavenizer tool an= d > > >> >> > > > maybe a bash/batch wrapper file. On the other hand, this > could > > >> >> > > > be totally > > >> >> > avoided > > >> >> > > > if we plan to go ahead in managing the mavenizer from the > > >> installer. > > >> >> > > > > > >> >> > > > > > >> >> > > > 2013/11/19 OmPrakash Muppirala > > >> >> > > > > > >> >> > > > > On Tue, Nov 19, 2013 at 11:47 AM, > christofer.dutz@c-ware.de< > > >> >> > > > > christofer.dutz@c-ware.de> wrote: > > >> >> > > > > > > >> >> > > > > > Hi Cosma, > > >> >> > > > > > > > >> >> > > > > > as Toni already confirmed, the mavenizer is currently t= he > > >> >> > > > > > easiest > > >> >> > way > > >> >> > > > to > > >> >> > > > > > create maven artifacts from a Flex SDK you downloaded > using > > >> >> > > > > > the > > >> >> > > > > Downloader. > > >> >> > > > > > The Mavenizer doesn't actually require the Air SDK, the > > >> >> > > > > > problem > > >> >> > was, > > >> >> > > > that > > >> >> > > > > > the Mavenizer is able to mavenize any Flex SDK starting > > >> >> > > > > > from Adobe > > >> >> > > > Flex 2 > > >> >> > > > > > up to 4.11. In order to be able to User newer Air > versions > > >> >> > > > > > with > > >> >> > older > > >> >> > > > > FDKs > > >> >> > > > > > I added the ability to mavenize the Air SDKs separately= . > > >> >> > > > > > > > >> >> > > > > > I think I remember creating all the runtime archives fo= r > > >> >> > > > > > any > > >> >> > platform > > >> >> > > > > > (Flashplayer or Air Runtime) found in the Flex SDK or t= he > > >> >> > > > > > Air > > >> >> SDK. > > >> >> > So > > >> >> > > > if > > >> >> > > > > > the SDK contains a "win" dir, it creates the windows > > >> >> > > > > > archive, if > > >> >> > lnx > > >> >> > > > the > > >> >> > > > > > ones for Linus and mac the ones for Macs. > > >> >> > > > > > > > >> >> > > > > > When deploying to your local maven repository, I would > > >> >> > > > > > suggest to > > >> >> > > give > > >> >> > > > my > > >> >> > > > > > new deployer a testdrive. It should be noticeably faste= r > > >> >> > > > > > with > > >> >> > > deploying > > >> >> > > > > the > > >> >> > > > > > artifacts. (SDKInVMDeployer). > > >> >> > > > > > > > >> >> > > > > > Please don't start that dreaded "deploy flex to a publi= c > > >> >> > repo"-thread > > >> >> > > > ... > > >> >> > > > > > the discussion always tends to explode in tons of email= s > > >> >> > > > > > and then > > >> >> > > > > suddenly > > >> >> > > > > > ends nowhere, so I have given up on this. I think the F= DK > > >> >> > Downloader > > >> >> > > + > > >> >> > > > > > Mavenizer path being the least complicated path. All > others > > >> >> > > > > > will > > >> >> > > > > definitely > > >> >> > > > > > end in a support-mayhem because from my experience on t= he > > >> >> > > > > > Flexmojos Mailinglist (when it still existed) was that > > >> >> > > > > > people don't read documentation ;-) > > >> >> > > > > > > > >> >> > > > > > Chris > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > Cosma/Toni/Chris, > > >> >> > > > > > > >> >> > > > > Can you please make sure that the info discussed in this > > >> >> > > > > thread is consistent with what is described here [1] If > not, > > >> >> > > > > can one of you please update the wiki? This is very > valuable > > >> >> > > > info > > >> >> > > > > for others who want to go the mavenizer route, so please > help > > >> >> > > > > keep > > >> >> > the > > >> >> > > > docs > > >> >> > > > > upto-date. > > >> >> > > > > > > >> >> > > > > Thanks, > > >> >> > > > > Om > > >> >> > > > > > > >> >> > > > > [1] > > >> >> > > > > > > >> >> > > > > > >> >> > > > > >> >> > > > https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Ma > > >> >> > ven > > >> >> > izer > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > >> >> > > > > > > > >> >> > > > > > -----Urspr=C3=BCngliche Nachricht----- > > >> >> > > > > > Von: Cosma Colanicchia [mailto:cosmacol@gmail.com] > > >> >> > > > > > Gesendet: Dienstag, 19. November 2013 18:26 > > >> >> > > > > > An: Apache Flex Developers ML > > >> >> > > > > > Betreff: Questions about current mavenizer status > > >> >> > > > > > > > >> >> > > > > > Hi there, > > >> >> > > > > > > > >> >> > > > > > I'm in the process of trying of rolling out Apache Flex > > >> >> > > > > > 4.11 > > >> >> > > internally > > >> >> > > > > > for the other employees of my company, and I need to > deploy > > >> >> > > > > > the > > >> >> > > related > > >> >> > > > > > artifacts to the company Maven repo. > > >> >> > > > > > > > >> >> > > > > > AFAIK, the only way to do this for 4.11 is by > > >> >> > > > > > mavenizing/deploying > > >> >> > a > > >> >> > > > > > downloaded FDK, is this right? I was following the othe= r > > >> >> > > > > > thread > > >> >> > about > > >> >> > > > > > storing ready-to-use artifacts in some public repositor= y, > > >> >> > > > > > but this > > >> >> > > path > > >> >> > > > > > doesn't seem ready yet (BTW, is there something I could > do > > >> >> > > > > > to help > > >> >> > in > > >> >> > > > > this > > >> >> > > > > > effort?) > > >> >> > > > > > > > >> >> > > > > > I managed to successfully build and mavenize the FDK fr= om > > >> >> > > > > > develop > > >> >> > > > branch > > >> >> > > > > > in some months ago, but I still have some questions: > > >> >> > > > > > > > >> >> > > > > > Q1 - I'm going to try running the mavenizer/deployer > tools > > >> >> > > > > > on the > > >> >> > > > output > > >> >> > > > > > of the Apache Flex Installer in order to mavenize the > > >> >> > > > > > released > > >> >> > > > > > 4.11 > > >> >> > > > FDK, > > >> >> > > > > is > > >> >> > > > > > this the intended way of using it? > > >> >> > > > > > > > >> >> > > > > > Q2 - the mavenizer requires the AIR runtime in a separa= te > > >> >> > > directory... > > >> >> > > > > but > > >> >> > > > > > the installer output should already have integrated it = in > > >> >> > > > > > the FDK, > > >> >> > > > should > > >> >> > > > > > provide it separately anyway? > > >> >> > > > > > > > >> >> > > > > > Q3 - is the FDK produced by the installer cross-platfor= m? > > >> >> > > > > > This time > > >> >> > > I'm > > >> >> > > > > > using a Mac to run the installer, so it has probably > > >> >> > > > > > downloaded the > > >> >> > > Mac > > >> >> > > > > > version of the AIR SDK.. does this mean that, when > > >> >> > > > > > mavenizing this > > >> >> > > SDK, > > >> >> > > > > the > > >> >> > > > > > Windows binaries (e.g. adt command line tool) won't be > > >> >> > > > > > included in > > >> >> > > the > > >> >> > > > > SDK > > >> >> > > > > > artifacts and the SDK won't be fully compatible with > > >> >> > > > > > developers on > > >> >> > > > > Windows > > >> >> > > > > > machines? > > >> >> > > > > > > > >> >> > > > > > > > >> >> > > > > > Thank you for any help > > >> >> > > > > > Cosma > > >> >> > > > > > > > >> >> > > > > > > >> >> > > > > > >> >> > > > > >> >> > > > >> >> > > >> > > > >> > > > > > > > > > --089e0122a812879c5304eb9b86e5--