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 6DE2A102FF for ; Tue, 15 Sep 2015 01:03:41 +0000 (UTC) Received: (qmail 70164 invoked by uid 500); 15 Sep 2015 01:03:41 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 70125 invoked by uid 500); 15 Sep 2015 01:03:41 -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 70113 invoked by uid 99); 15 Sep 2015 01:03:40 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 01:03:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4E5711A1A05 for ; Tue, 15 Sep 2015 01:03:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.151 X-Spam-Level: **** X-Spam-Status: No, score=4.151 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id eBoJCrOw7tWi for ; Tue, 15 Sep 2015 01:03:30 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 58A15203A0 for ; Tue, 15 Sep 2015 01:03:29 +0000 (UTC) Received: by igbkq10 with SMTP id kq10so4598005igb.0 for ; Mon, 14 Sep 2015 18:03:28 -0700 (PDT) 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:message-id :subject:to:content-type; bh=fWELInURsx68z12BFOU+doQV/u75FX3F5eOldIrH+yY=; b=ABuQEupJAn2CmsYm2dMO8koVl3uVCWTDrn3A2qb2K0vP2PgAYzyZ4p/k39g3E2+/CT 5bYNmZmZ1jixR2eMXbcnqdh+dVtareQJXJrs2CixYXc39HgBIqc9oUurGk6O5auz304G w+S451NDs3xs6Nm0zEJvHFtaR/UEdxpoKm8OmMkjeYG17+CQkl/tpDVPZ9GI9GuoFTaO sr3Q0BGjxq9IbwN/0FPOljWN5Fxx2Kzj2qJXWmDTTF7EF8rDFVXQA+5q3JD6uMFdcvWf AZbcRrrccJWSjDb3naa4XdQs1Xnkvq5x/9fW5UC+0gUE/jq0n5N+MkcsDUO1/nVZn/UQ mHWg== X-Received: by 10.50.92.9 with SMTP id ci9mr1232319igb.2.1442279008154; Mon, 14 Sep 2015 18:03:28 -0700 (PDT) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.79.14.216 with HTTP; Mon, 14 Sep 2015 18:02:58 -0700 (PDT) In-Reply-To: References: From: OmPrakash Muppirala Date: Mon, 14 Sep 2015 18:02:58 -0700 X-Google-Sender-Auth: n6Mo6eD0un-OHoMiZckWse2jk78 Message-ID: Subject: Re: Flexmojos Mobile Packaging - Help needed To: "dev@flex.apache.org" Content-Type: multipart/alternative; boundary=047d7b10c7f7f2c40f051fbebf8a --047d7b10c7f7f2c40f051fbebf8a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable No, I don't see the Apache Flx logo ascii art. And my settings.xml is the default one and there are no entries in the mirrors node. I tried a few things, but they don't seem to work. Perhaps there is a bug somewhere? Thanks, Om On Mon, Sep 14, 2015 at 1:05 AM, Christofer Dutz wrote: > Can you see the Flex Logo as Ascii art when running the build? ... > Ahh .. wait a minute ... do you eventually have a company > Nexus/Artifactory and have set the "mirrors" section in your settings.xml= ? > If yes, then Maven can't find the pluginRepository that has to be set to > the Apache SNAPSHOT repo. > > Chris > > ________________________________________ > Von: omuppi1@gmail.com im Auftrag von OmPrakash > Muppirala > Gesendet: Montag, 14. September 2015 08:39 > An: dev@flex.apache.org > Betreff: Re: Flexmojos Mobile Packaging - Help needed > > Looks like I have Maven 3.3.3. > > C:\temp\testflexmojos7.1.0\mobileapplicationtest>mvn --version > Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; > 2015-04-22T04:57:3 > 7-07:00) > Maven home: C:\apache-maven-3.3.3\bin\.. > Java version: 1.8.0_45, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_45\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" > > Thanks, > Om > > On Sun, Sep 13, 2015 at 3:26 AM, Christofer Dutz < > christofer.dutz@c-ware.de> > wrote: > > > Sounds like you didn't have maven 3.3.1 or greater. > > Because if you did, the mavenizer should automatically kick in. > > > > Chris > > > > -----Urspr=C3=BCngliche Nachricht----- > > Von: omuppi1@gmail.com [mailto:omuppi1@gmail.com] Im Auftrag von > > OmPrakash Muppirala > > Gesendet: Sonntag, 13. September 2015 03:06 > > An: dev@flex.apache.org > > Betreff: Re: Flexmojos Mobile Packaging - Help needed > > > > Okay, I've had some progress. > > > > I ran: > > > > mvn archetype:generate -DarchetypeRepository=3D > > https://oss.sonatype.org/content/repositories/snapshots > > -DarchetypeGroupId=3Dnet.flexmojos.oss > > -DarchetypeArtifactId=3Dflexmojos-archetypes-mobile-application > > -DarchetypeVersion=3D7.1.0-SNAPSHOT > > > > BUILD SUCCESS and I got a nice little directory with a source code for = a > > Flex Mobile project. > > > > There is a pom.xml within this project, so I ran mvn install in that > > directory. The build failed with this: > > > > C:\temp\testflexmojos7.1.0\mobileapplicationtest>mvn install [INFO] > > Scanning for projects... > > [WARNING] The POM for > > net.flexmojos.oss:flexmojos-maven-plugin:jar:7.1.0-SNAPSHO > > T is missing, no dependency information available [WARNING] The POM for > > org.apache.flex:compiler:pom:4.14.1 is missing, no depende ncy > information > > available [WARNING] The POM for com.adobe.air:compiler:pom:18.0 is > missing, > > no dependency information available [WARNING] The POM for > > com.adobe:fontkit:jar:1.0 is missing, no dependency inform ation > available > > [ERROR] [ERROR] Some problems were encountered while processing the POM= s: > > [ERROR] Unresolveable build extension: Plugin > > net.flexmojos.oss:flexmojos-maven- > > plugin:7.1.0-SNAPSHOT or one of its dependencies could not be resolved: > > The foll owing artifacts could not be resolved: > > net.flexmojos.oss:flexmojos-maven-plugin: > > jar:7.1.0-SNAPSHOT, org.apache.flex:compiler:pom:4.14.1, > > com.adobe.air:compiler: > > pom:18.0, com.adobe:fontkit:jar:1.0: Could not find artifact > > net.flexmojos.oss:f lexmojos-maven-plugin:jar:7.1.0-SNAPSHOT @ [ERROR] > > Unknown packaging: air @ line 28, column 16 [WARNING] > > 'dependencies.dependency.scope' for org.apache.flex.framework.themes:m > > obile:swc must be one of [provided, compile, runtime, test, system] but > is > > 'them e'. @ line 230, column 20 @ [ERROR] The build could not read 1 > > project -> [Help 1] [ERROR] > > [ERROR] The project flex.apache.org:mobileapplicationtest:1.0-SNAPSHO= T > > (C:\tem > > p\testflexmojos7.1.0\mobileapplicationtest\pom.xml) has 2 errors > > [ERROR] Unresolveable build extension: Plugin > > net.flexmojos.oss:flexmojos-ma > > ven-plugin:7.1.0-SNAPSHOT or one of its dependencies could not be > resolved: > > The > > following artifacts could not be resolved: > > net.flexmojos.oss:flexmojos-maven-plu > > gin:jar:7.1.0-SNAPSHOT, org.apache.flex:compiler:pom:4.14.1, > > com.adobe.air:compi > > ler:pom:18.0, com.adobe:fontkit:jar:1.0: Could not find artifact > > net.flexmojos.o ss:flexmojos-maven-plugin:jar:7.1.0-SNAPSHOT -> [Help 2= ] > > [ERROR] Unknown packaging: air @ line 28, column 16 > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with th= e > > -e swit ch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please rea d the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin > > gException > > [ERROR] [Help 2] > > http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerE > > xception > > > > Looks like I don't have the Flex compiler artifact? I thought that wou= ld > > get downloaded automatically. What I am doing wrong? > > > > Thanks, > > Om > > > > > > > > > > > > On Fri, Sep 11, 2015 at 11:38 PM, Christofer Dutz < > > christofer.dutz@c-ware.de > > > wrote: > > > > > Ups .. my bad ... the group id is of course: > > > "net.flexmojos.oss" ... > > > > > > mvn archetype:generate -DarchetypeGroupId=3Dnet.flexmojos.oss > > > -DarchetypeArtifactId=3Dflexmojos-archetypes-mobile-application > > > -DarchetypeVersion=3D7.1.0-SNAPSHOT > > > > > > Sorry for that :-) > > > > > > Chris > > > > > > > > > -----Urspr=C3=BCngliche Nachricht----- > > > Von: omuppi1@gmail.com [mailto:omuppi1@gmail.com] Im Auftrag von > > > OmPrakash Muppirala > > > Gesendet: Freitag, 11. September 2015 22:19 > > > An: dev@flex.apache.org > > > Betreff: Re: Flexmojos Mobile Packaging - Help needed > > > > > > So, I tried running this command: > > > mvn archetype:generate -DarchetypeRepository=3D > > > https://oss.sonatype.org/content/repositories/snapshots > > > -DarchetypeGroupId=3Dorg.sonatype.flexmojos -DarchetypeArtifactId=3D > > > flexmojos-archetypes-mobile-application > > > -DarchetypeVersion=3D7.1.0-SNAPSHOT > > > > > > And the build failed after a while: > > > > > > ... > > > ... > > > Downloaded: > > > https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-clas > > > sworlds/1.2-alpha-7/plexus-classworlds-1.2-alpha-7.jar (42 KB at 37.0 > > > KB/sec) > > > Downloaded: > > > https://repo.maven.apache.org/maven2/org/apache/ant/ant/1.8.1/ant-1. > > > 8.1.jar (1479 KB at 944.3 KB/sec) > > > Downloaded: > > > https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy/1.8. > > > 3/groovy-1.8.3.jar (5394 KB at 2025.2 KB/sec) [INFO] Generating > > > project in Interactive mode [INFO] Archetype defined by properties > > > Downloading: > > > https://oss.sonatype.org/content/repositories/snapshots/org/sonatyp > > > > > > e/flexmojos/flexmojos-archetypes-mobile-application/7.1.0-SNAPSHOT/ma= v > > > en-metadat > > > a.xml > > > Downloading: > > > https://oss.sonatype.org/content/repositories/snapshots/org/sonatyp > > > > > > e/flexmojos/flexmojos-archetypes-mobile-application/7.1.0-SNAPSHOT/fl= e > > > xmojos-arc hetypes-mobile-application-7.1.0-SNAPSHOT.jar > > > [INFO] > > > ---------------------------------------------------------------------= - > > > -- > > > [INFO] BUILD FAILURE > > > [INFO] > > > ---------------------------------------------------------------------= - > > > -- > > > [INFO] Total time: 8.841 s > > > [INFO] Finished at: 2015-09-11T13:08:25-07:00 [INFO] Final Memory: > > > 16M/226M [INFO] > > > ---------------------------------------------------------------------= - > > > -- > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-archetype-plugin:2 > > > .4:generate (default-cli) on project standalone-pom: The desired > > > archetype does not exist > > > (org.sonatype.flexmojos:flexmojos-archetypes-mobile-application:7.1.0= - > > > SNAPSHOT) -> [Help 1] > > > [ERROR] > > > [ERROR] To see the full stack trace of the errors, re-run Maven with > > > the -e swit ch. > > > [ERROR] Re-run Maven using the -X switch to enable full debug logging= . > > > [ERROR] > > > [ERROR] For more information about the errors and possible solutions, > > > please rea d the following articles: > > > [ERROR] [Help 1] > > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc > > > eption > > > > > > > > > There is no directory > > > https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/= . > > > Any ideas? > > > > > > Thanks, > > > Om > > > > > > > > > On Sat, Sep 5, 2015 at 9:36 AM, Christofer Dutz > > > > > > > > > wrote: > > > > > > > Actually all you should have to do is use the archetype I added to > > > > Flexmojos 7.1.0-SNAPSHOT. > > > > That should generate a dummy air based mobile application with all > > > > the config options you need to Build all sorts of formats. > > > > > > > > mvn archetype:generate -DarchetypeRepository=3D > > > > https://oss.sonatype.org/content/repositories/snapshots > > > > -DarchetypeGroupId=3Dorg.sonatype.flexmojos > > > > -DarchetypeArtifactId=3Dflexmojos-archetypes-mobile-application > > > > -DarchetypeVersion=3D7.1.0-SNAPSHOT > > > > > > > > The generated project should already make use of the > > > > flex-sdk-converter and download whatever it needs. Only thing you > > > > might need is for iOS packaging a developer certificate and a > > > provisioning profile. > > > > > > > > See: > > > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=3D= 560 > > > > 66 > > > > 428 > > > > > > > > Chris > > > > > > > > -----Urspr=C3=BCngliche Nachricht----- > > > > Von: omuppi1@gmail.com [mailto:omuppi1@gmail.com] Im Auftrag von > > > > OmPrakash Muppirala > > > > Gesendet: Samstag, 5. September 2015 03:36 > > > > An: dev@flex.apache.org > > > > Betreff: Re: Flexmojos Mobile Packaging - Help needed > > > > > > > > Chris, > > > > > > > > I can try to help out. Can you give me a set of instructions to se= t > > > > it up up and run the maven build? > > > > > > > > Thanks, > > > > Om > > > > > > > > On Fri, Sep 4, 2015 at 1:28 AM, Christofer Dutz > > > > > > > > > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > > > > > > I am continuing my quest for making Flexmojos build Mobile > > > applications. > > > > > > > > > > While the Air and Android packaging seem to work for Windows and > > > > > Mac, on our Linux CI server the Android packaing is currently > > > > > failing. This is because of aapt being a mac executable and not > > > > > being able to run on > > > > linux. > > > > > The cool think is that aapt isn't part of AIR, but part of the > > > > > Android > > > > SDK. > > > > > As that is available for Linux, it should be possible to use the > > > > > Linux Android SDK to generate the parts Air is missing, hereby > > > > > enabling us to build Android applications on Linux ... so far the > > > > > updates :-) > > > > > > > > > > > > > > > Now to my request for help: > > > > > > > > > > Mobile support is tricky ... I have to test dozens of > > > > > configurations and am having all sorts of different problems. It > > > > > would be great if some people here could invest some time helping > > > > > me with this. If I have to do it all on my own this will take a > > > > > long, long time and I'll certainly concentrate on the use-cases > > > > > that I need personally and set aside the others. So if you want > > > > > Flexmojos to build iOS apps, please try out what I've done and > > > > > help me find out what's going > > > wrong. > > > > > > > > > > > > > > > Here the problems I'm currently facing: > > > > > > > > > > - Change the packaging of artifacts ... I think I have mixed up > > > > > compiler and runtime artifacts and have to separate these better > > > > > > > > > > - Make the Android packaging run on Linux (The binaries for Linux > > > > > and Mac would overlap ... have to make the Flesxmojos packager > > > > > sort these problems out > > > > > > > > > > - Probably most important for now: Make the iOS packaging create > > > > > an executable that actually has content. As far as I know the > > > > > cross compiler interprets the Flash Bytecode and builds an > > > > > executable in iOS code which is dumped to the executable inside t= he > > ipa file. > > > > > Something must be going wrong here, but I have no idea what. > > > > > > > > > > > > > > > Please, please help me ... I'm sort of burning out on the dozens > > > > > of problems I am currently trying to solve simultaneously :-( > > > > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > --047d7b10c7f7f2c40f051fbebf8a--