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 37A561740F for ; Thu, 4 Jun 2015 22:58:51 +0000 (UTC) Received: (qmail 43296 invoked by uid 500); 4 Jun 2015 22:58:50 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 43263 invoked by uid 500); 4 Jun 2015 22:58:50 -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 43246 invoked by uid 99); 4 Jun 2015 22:58:50 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2015 22:58:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DFFE5C08D9 for ; Thu, 4 Jun 2015 22:58:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=vizexplorer.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Aprzw_QUJpnl for ; Thu, 4 Jun 2015 22:58:35 +0000 (UTC) Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id CCCC0207AB for ; Thu, 4 Jun 2015 22:58:34 +0000 (UTC) Received: by obbgp2 with SMTP id gp2so20757473obb.2 for ; Thu, 04 Jun 2015 15:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vizexplorer.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=70Az8QA6foHQxKvJ7EU3R2J9a+dPirytehv24EBQkO8=; b=Q8lYJ/qdg+bxJ2zntXEj5VfovlTlD0VwU0oVgR9wD+I4RuzerL8Hc3cCM9nMxbDPMM 27eHAzjtc83f4b+LzSc3GWx6HCb3Vozeof2ZHvaDd7zFx2NwSFz73FEhQH55yk5i7gjP 5oi3ad8iQilpP/qHLzcvJ0PQfE1H0B3zx4lMA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=70Az8QA6foHQxKvJ7EU3R2J9a+dPirytehv24EBQkO8=; b=NeZIh3fzvANGH1TMlyzVJZvjKFpz5VuKZwqSFWeYpEu3KO8/4z1DJKKSfFwBc53dG/ 2fgHqHPM1vDwpwrWW6vVFrwjIcDPRvXUh99Fbd+SKLSnfalg3hSIBB8+1PkA5zIiktOy ito3vFa+bamH9eyro9JDwmIp4B9OE4lEDebCpKIn2KIeRxm0kZ2dbCAPE2Olv/F88q2i +qpisI6qLbtstjORRWzYDVfDfrkMUz3Hp+9b27c4dCmvFnMSPSNn6NYtaZnOEiHHAKnp P8C3VwKD3lOr+8U4F/HbML3RCokRHzWcQ8tnbxjfhk7oX5y6cdpYWvRvFbn+z7Y+WH8N jejg== X-Gm-Message-State: ALoCoQlg0pBg5X8l7lrb1zwyel91P+JR1s5PrOKjg0iR4GVTVCsbIVVk/6HEysynLN/MaTYvOmv3 MIME-Version: 1.0 X-Received: by 10.202.220.135 with SMTP id t129mr256981oig.115.1433458713533; Thu, 04 Jun 2015 15:58:33 -0700 (PDT) Received: by 10.202.75.203 with HTTP; Thu, 4 Jun 2015 15:58:33 -0700 (PDT) In-Reply-To: <1433458169.4562.1.camel@equillon.ro> References: <1433458169.4562.1.camel@equillon.ro> Date: Fri, 5 Jun 2015 10:58:33 +1200 Message-ID: Subject: Re: AW: AW: Need help with air packaging From: Mario Souza To: users@flex.apache.org, victor.munteanu@equillon.ro Content-Type: multipart/alternative; boundary=001a113d52566bb74c0517b91d4a --001a113d52566bb74c0517b91d4a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable haa.. yeah, I had a problem trying build on linux machines (slaves of our jenkins CI server). According the log, is something wrong about the p12 certificate ... I don't know what were going on exactly and I didn't have time to check, so I just configure my jenkins to build the project on windows slaves and it worked. Probably, something bad written on adt-maven-plugin code. Weird. regards. @mariojunior On 5 June 2015 at 10:49, Victor Ion Munteanu wrote: > Hi Mario and thank you.After some struggle with it, I've managed to get > it to work. For others to know, I couldn't get adt-maven-plugin to > compile properly under linux so I did all my build under mac. > > Kind regards, > Victor > > On Tue, 2015-06-02 at 09:56 +1200, Mario Souza wrote: > > I've just setup my project (air mobile) last week using the > > adt-maven-plugin (https://github.com/yelbota/adt-maven-plugin/) > > The current plugin repository url (hosted on dropbox) is not working, > > then I downloaded the source, compiled a local version and put that on > > my own nexus instance (as third party). > > > > > > The adt-maven-plugin requires an entire AIR SDK as a zip on your > > repository, upload one for your nexus (or put on your m2/repository) > > following the 17.0 version. > > After that, just adapt your pom.xml file according the github's page > > instructions. For generating APK, use > > the apk-captive-runtime (to include the AIR runtime > > inside your APK app). > > > > > > This project STILL requires the FlexMojos to generate the SWF > > (remember that AIR is just a pack contained of swf and metadata > > descriptor inside). The adt-maven-plugin basically will download the > > AIR SDK zip on a temporary folder under /target and run the adt.jar > > command line to generate the apk/ios/air packages following the > > instructions on pom.xml. After done, will delete the air sdk temporary > > folder. > > > > > > I think - and I'm not sure - but maybe this operation should not be > > hard for the FlexMojos, once that FM already knows the AIR SDK > > dependencies, and the FM could invoke the adt.jar command line via > > RuntimeProcess (or, better, inject/load the adt.jar on the Java > > classpath in runtime and consume the api internally, would be nice!) > > > > > > > > > > Regards. > > > > > > > > > > > > > > > > Mario Souza > > UI Developer > > > > > > > > > > > > > > Level 3, 54-56 Cambridge Terrace > > > > PO Box 19204, Wellington 6011 > > New Zealand > > > > > > M. +64 021 082 71135 | W. www.vizexplorer.com > > > > On 30 May 2015 at 05:41, Fr=C3=A9d=C3=A9ric THOMAS > > wrote: > > I tried the adt-maven-plugin but it didn't do the trick for > > me, can't remember why exactly, some bugs I guess, I ended up, > > with FM 4.2 to do things like that in my parent pom, then set > > the phase of the execution on the child project and it worked > > prett well: > > > > Child use example: > > > > > > > > maven-resources-plugin > > > > > > > > prepare-exe-package > > prepare-package > > > > > > > > > > Parent definition : > > > > > > > > maven-resources-plugin > > > > > > > > prepare-exe-package > > none > > > > copy-resources > > > > > > > > false > > > > > ${project.build.directory}/exe-package > > > > > > > > ${project.build.outputDirectory} > > > > false > > > > > > SpellingConfig.xml > > > > dictionaries/*.* > > > > favicon_*.* > > > > > > > > > > ${project.build.directory} > > > > false > > > > > > ${project.build.finalName}-${build.profile.id > }-descriptor.xml > > > > ${project.build.finalName}-${build.profile.id > }.${project.packaging} > > > > > > > > > > > > > > > > > > > > > > org.codehaus.mojo > > exec-maven-plugin > > > > ${exec-maven-plugin.version} > > > > > > > > create-certificate > > none > > > > exec > > > > > > > > java > > > > > ${project.build.directory}/adt-work > > > > -jar > > > > ${project.build.directory}/lib/adt.jar > > > > -certificate > > -cn > > > > ${certificate.name} > > -ou > > > > ${certificate.org-unit} > > -o > > > > ${certificate.org-name} > > -c > > > > ${certificate.country} > > > > ${certificate.key-type} > > > > ${certificate.file} > > > > ${certificate.password} > > > > > > > > > > > > create-package-exe > > none > > > > exec > > > > > > > > java > > > > > ${project.build.directory}/adt-work > > > > -jar > > > > ${project.build.directory}/lib/adt.jar > > > > -package > > > > -storetype > > > > ${certificate.storetype} > > > > -keystore > > > > ${certificate.file} > > > > -storepass > > > > ${certificate.password} > > > > -keypass > > > > ${certificate.password} > > > > -target > > > > native > > > > > > ${project.build.directory}/${project.build.finalName}.exe > > > > > > > ${project.build.outputDirectory}/application-descriptor.xml > > -C > > > > ${project.build.directory}/exe-package/ > > . > > > > > > > > > > > > > > Fr=C3=A9d=C3=A9ric THOMAS > > > > > Date: Fri, 29 May 2015 15:03:47 +0200 > > > Subject: RE: AW: AW: Need help with air packaging > > > From: victor.munteanu@equillon.ro > > > To: users@flex.apache.org > > > > > > Well in the end I modified the project source code which I > > am not happy with as resources are currently sitting alongside > > code. > > > Speaking of mobile packaging, how do you get an apk with > > flexmojos? > > > Saw there is a project called adt-maven-plugin designed to > > work with flexmojos but don't know if it works. Is that it or > > something else? > > > Victor > > > > > > -------- Original message -------- > > > From: Christofer Dutz > > > Date: 29/05/2015 14:26 (GMT+01:00) > > > To: users@flex.apache.org > > > Subject: AW: AW: Need help with air packaging > > > > > > Have to check ... as I'm currently working on mobile > > packaging I'll do that right away. > > > > > > Chris > > > > > > ________________________________________ > > > Von: Victor Ion Munteanu > > > Gesendet: Freitag, 29. Mai 2015 11:05 > > > An: users@flex.apache.org > > > Betreff: RE: AW: Need help with air packaging > > > > > > Yes. I have an xml file, 2 ttf fonts and 3 swf files > > containing images, sounds, etc. They are all in a resources > > folder. > > > I want a resources folder in the resulting air. Can this be > > done with FlexMojos? > > > Victor > > > > > > -------- Original message -------- > > > From: Christofer Dutz > > > Date: 29/05/2015 09:31 (GMT+01:00) > > > To: users@flex.apache.org > > > Subject: AW: Need help with air packaging > > > > > > So you are talking about static resources such as xml files > > or are you talking about image, font, audio? > > > > > > Chris > > > > > > ________________________________________ > > > Von: Victor Ion Munteanu > > > Gesendet: Donnerstag, 28. Mai 2015 07:49 > > > An: users@flex.apache.org > > > Betreff: Need help with air packaging > > > > > > Hi everybody, > > > I'm trying to package my application into an air package. > > I've successfully done this under Linux with FlexMojos > > 7.1.0-SNAPSHOT, Apache Flex 4.14.1, Adobe Air 14.0, and > > others. > > > My main issue is that I have some resources which need to be > > bundled with the app as they are embedded in the code. I've > > used the compiler directive to include files however they are > > put in the root folder of the air package and I would like > > them in a subfolder. Can anyone tell me how to do this? > > > > > > > > > > > > Kind regards, > > > > > > Victor > > > > > > > > > --001a113d52566bb74c0517b91d4a--