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 B1D6A17A3B for ; Tue, 14 Oct 2014 07:23:33 +0000 (UTC) Received: (qmail 36432 invoked by uid 500); 14 Oct 2014 07:23:28 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 36399 invoked by uid 500); 14 Oct 2014 07:23:28 -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 36387 invoked by uid 99); 14 Oct 2014 07:23:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 07:23:28 +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 (nike.apache.org: domain of gkptechi@gmail.com designates 209.85.212.169 as permitted sender) Received: from [209.85.212.169] (HELO mail-wi0-f169.google.com) (209.85.212.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 07:22:59 +0000 Received: by mail-wi0-f169.google.com with SMTP id h11so5149411wiw.4 for ; Tue, 14 Oct 2014 00:22:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6whvS2xfOztLmZVvmsE7A2zGz6jQNvc+GIsvm4t9jS8=; b=rIEtJSgLFxuBpUJY4d3qHyJLTgJk9OIBrzD65myRQro5zXBB/ffd26jrASsEC8SYNd gHtdI40+btXucs0wjBe4AEiI56HSDZre13Kk1x8/hoAiFSH5zT+3NFjVK/YiInDz2wZz tiW5+Cvv9zVoeCIRopnwgLi77EdQG8BxwgXsMYgaUofddAoHJnF8SpKqcugrANCCZiBv dUcbU0aogtvXb6v6CJdKe42E1x164srt2jX16KpeoWz27GQOkpIINS5OuIsHfGt/cdTg Gt7lpTQ5SvG5blNVbDeCTbPs/KGgBwhs9WIOgX+wvvokmHL7p7SpKtrfKXqB6u6YZ1dQ v3Ww== MIME-Version: 1.0 X-Received: by 10.181.27.229 with SMTP id jj5mr3711110wid.64.1413271378356; Tue, 14 Oct 2014 00:22:58 -0700 (PDT) Received: by 10.194.142.211 with HTTP; Tue, 14 Oct 2014 00:22:58 -0700 (PDT) In-Reply-To: <1413271191312.66285@c-ware.de> References: <54353AA4.4030101@extravision.com> <1412859013301.23341@c-ware.de> <1413180865445.48090@c-ware.de> <1413190290597.77232@c-ware.de> <1413233850008.46770@c-ware.de> <1413269876806.29757@c-ware.de> <1413270002839.3476@c-ware.de> <1413271191312.66285@c-ware.de> Date: Tue, 14 Oct 2014 12:52:58 +0530 Message-ID: Subject: Re: Need help on flexmojo From: Gautam Pandey To: users@flex.apache.org Content-Type: multipart/alternative; boundary=001a1137fc027a6e5f05055ce281 X-Virus-Checked: Checked by ClamAV on apache.org --001a1137fc027a6e5f05055ce281 Content-Type: text/plain; charset=UTF-8 Great I will try with apache flex also. pombkp.xml is for apache flex. I will change as per the steps given in the email and try. Thanks & Regards Gautam Pandey On Tue, Oct 14, 2014 at 12:49 PM, Christofer Dutz wrote: > Ok ... you found it yourself ;-) > > ________________________________________ > Von: Gautam Pandey > Gesendet: Dienstag, 14. Oktober 2014 09:12 > An: users@flex.apache.org > Betreff: Re: Need help on flexmojo > > it's working with extra / in the beginning like below. > [Embed(source="/asset/image/add.png")] > private var imgclass : Class; > > Now I have to try with my real project which I am planning to upgrade from > 4.0 to either 4.6 or apache flex 4.13. > > Thank you Chris > > Thanks & Regards > Gautam Pandey > > > On Tue, Oct 14, 2014 at 12:30 PM, Christofer Dutz < > christofer.dutz@c-ware.de > > wrote: > > > Forget my last mail ... just not used to google drive yet ;-) > > > > > > ________________________________________ > > Von: Christofer Dutz > > Gesendet: Dienstag, 14. Oktober 2014 08:57 > > An: users@flex.apache.org > > Betreff: AW: Need help on flexmojo > > > > Hmm I seem to be unable to download anything. I can see the files, but > not > > their content (One archive would be better anyway ... this way I don't > have > > to manually create the directories and download each file seperately) > > > > Chris > > ________________________________________ > > Von: Gautam Pandey > > Gesendet: Dienstag, 14. Oktober 2014 08:45 > > An: users@flex.apache.org > > Betreff: Re: Need help on flexmojo > > > > Hi Chris, > > I have hosted it on my google drive. Please have a look. Thanks for > > your precious time. Its just 23kb file. Let me know if you are facing any > > problem. > > > > > > > https://drive.google.com/file/d/0Bz2-qy3IfG74UTVPNFFOcTlkWVU/view?usp=sharing > > > > > > Thanks & Regards > > Gautam Pandey > > > > > > On Tue, Oct 14, 2014 at 2:27 AM, Christofer Dutz < > > christofer.dutz@c-ware.de> > > wrote: > > > > > If you are able to zip up the application and send it to my private > > > address, I would try to solve the problem for you. Image embedding does > > > work, you just have to configure your build right. Unfortunately I > don't > > > have to time to do this step by step on the list, so if you send me the > > > example, I'll make it work. > > > > > > Chris > > > ________________________________________ > > > Von: Gautam Pandey > > > Gesendet: Montag, 13. Oktober 2014 10:59 > > > An: users@flex.apache.org > > > Betreff: Re: Need help on flexmojo > > > > > > Yes add.png is located in src/main/resources/. I read the Falcon email > > > thread. I guess I have to wait for the fix. > > > > > > -- > > > *Thanks * > > > *Gautam Pandey* > > > > > > > > > > > > On Mon, Oct 13, 2014 at 2:21 PM, Christofer Dutz < > > > christofer.dutz@c-ware.de> > > > wrote: > > > > > > > I'd omit the sourcePaths config option as this is implicitly defined > by > > > > maven already. I never used that option. > > > > Where are your image resources located? src/main/resources/add.png ? > I > > > > usually have resource paths absolute so in my case I usually write > > > > "/add.png" instead of "add.png" but this is currently something we > are > > > > discussing on the dev-list as Falcon seems to have problems with > this. > > > > > > > > Chris > > > > > > > > ________________________________________ > > > > Von: Gautam Pandey > > > > Gesendet: Montag, 13. Oktober 2014 08:34 > > > > An: users@flex.apache.org > > > > Betreff: Re: Need help on flexmojo > > > > > > > > Thank you Chris, > > > > Still its not going through. Build is failing with same error. My > > new > > > > pom.xml is : > > > > > > > > > > > > > > > > > > > > 4.0.0 > > > > > > > > com.gkp.app > > > > MyProject > > > > 1.0-SNAPSHOT > > > > swf > > > > > > > > MyProject Flex > > > > > > > > 6.0.1 > > > > 4.6.0.23201 > > > > 11.1 > > > > > > > > > > > > > > > > src/main/flex > > > > > > > > > > > > > > > > net.flexmojos.oss > > > > flexmojos-maven-plugin > > > > ${flexmojos.version} > > > > true > > > > > > > > Main.mxml > > > > > > > > src/main/flex > > > > src/main/resources > > > > > > > > true > > > > > > > > > > > > > > > > net.flexmojos.oss > > > > flexmojos-threadlocaltoolkit-wrapper > > > > ${flexmojos.version} > > > > > > > > > > > > com.adobe.flex > > > > compiler > > > > ${flex.version} > > > > pom > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.adobe.flex.framework > > > > flex-framework > > > > ${flex.version} > > > > pom > > > > > > > > > > > > > > > > com.adobe.flash.framework > > > > playerglobal > > > > ${flash.version} > > > > swc > > > > > > > > > > > > > > > > > > > > > > > > > > > > flex-mojos-repository > > > > http://repository.sonatype.org/content/groups/flexgroup > > > > > > > > > > > > > > > > > > > > > > > > > > > flex-mojos-plugin-repository > > > > http://repository.sonatype.org/content/groups/flexgroup > > > > > > > > > > > > > > > > > > > > > > > Did I miss anything? > > > > > > > > -- > > > > *Thanks & Regards* > > > > *Gautam Pandey* > > > > *Tegile Systems* > > > > *Ph : 9243014820* > > > > > > > > > > > > On Mon, Oct 13, 2014 at 11:44 AM, Christofer Dutz < > > > > christofer.dutz@c-ware.de > > > > > wrote: > > > > > > > > > When embedding fonts and images I have found that you need to add > the > > > > > threadlocal toolkit dependency before the compiler artifact in the > > > plugin > > > > > configuration ... just search for "threadlocal toolkit". > > > > > > > > > > Chris > > > > > ________________________________________ > > > > > Von: Gautam Pandey > > > > > Gesendet: Montag, 13. Oktober 2014 08:00 > > > > > An: users@flex.apache.org > > > > > Betreff: Re: Need help on flexmojo > > > > > > > > > > Hi Chris, > > > > > Now I am trying to build the sample application with 4.6 SDK. > > > Without > > > > > adding any image, build is going fine but when I add an image to > the > > > > > Main.mxml, it is throwing error* Unable to transcode add.png.* > Error > > > > stack > > > > > is as follow: > > > > > > > > > > *Writing configuration dump to > > > > > > D:\FlexMavenTest\MyProject\target\MyProject-1.0-SNAPSHOT-configs.xml* > > > > > *D:\FlexMavenTest\MyProject\src\main\flex\Main.mxml(17): Error: > > unable > > > to > > > > > resolve 'add.png' for transcoding* > > > > > > > > > > * [Embed(source="add.png")]* > > > > > > > > > > *D:\FlexMavenTest\MyProject\src\main\flex\Main.mxml(17): Error: > > Unable > > > to > > > > > transcode add.png.* > > > > > > > > > > * [Embed(source="add.png")]* > > > > > > > > > > *[INFO] > > > > > > > > > ------------------------------------------------------------------------* > > > > > *[INFO] BUILD FAILURE* > > > > > *[INFO] > > > > > > > > > ------------------------------------------------------------------------* > > > > > *[INFO] Total time: 7.396s* > > > > > *[INFO] Finished at: Mon Oct 13 11:22:31 IST 2014* > > > > > *[INFO] Final Memory: 35M/495M* > > > > > *[INFO] > > > > > > > > > ------------------------------------------------------------------------* > > > > > *[ERROR] Failed to execute goal > > > > > net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:compile-swf > > > > > (default-compile-swf) on project MyProject: Got 2* > > > > > * errors building project, check logs -> [Help 1]* > > > > > *org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > > execute > > > > > goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:compile-swf (* > > > > > *default-compile-swf) on project MyProject: Got 2 errors building > > > > project, > > > > > check logs* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)* > > > > > * at > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)* > > > > > * at > > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)* > > > > > * at > org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)* > > > > > * at > org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)* > > > > > * at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)* > > > > > * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method)* > > > > > * at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)* > > > > > * at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)* > > > > > * at java.lang.reflect.Method.invoke(Method.java:606)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)* > > > > > * at > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)* > > > > > *Caused by: org.apache.maven.plugin.MojoFailureException: Got 2 > > errors > > > > > building project, check logs* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:314)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:1691)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute_aroundBody0(MxmlcMojo.java:169)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute_aroundBody1$advice(MxmlcMojo.java:53)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute_aroundBody2(MxmlcMojo.java:163)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute_aroundBody3$advice(MxmlcMojo.java:31)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute_aroundBody4(MxmlcMojo.java:1)* > > > > > * at > > > > > > > > > > > > > > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute_aroundBody5$advice(MxmlcMojo.java:34)* > > > > > * at > > > > > > > net.flexmojos.oss.plugin.compiler.MxmlcMojo.execute(MxmlcMojo.java:1)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)* > > > > > * at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)* > > > > > * ... 19 more* > > > > > *[ERROR]* > > > > > *[ERROR]* > > > > > *[ERROR] For more information about the errors and possible > > solutions, > > > > > please read the following articles:* > > > > > *[ERROR] [Help 1] > > > > > > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > > > < > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > >* > > > > > *D:\FlexMavenTest\MyProject>* > > > > > > > > > > > > > > > Do you have any idea how this can be resolved ? I am able to run > the > > > > > application from my Flash Builder without any problem. It will be > > great > > > > > help if you can point out the issue. > > > > > > > > > > *My pom.xml is :* > > > > > > > > > > ** > > > > > * * > > > > > * > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance > > > > > " > > > > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > > > > > > > > > http://maven.apache.org/maven-v4_0_0.xsd > > > > > ">* > > > > > * 4.0.0* > > > > > > > > > > * com.gkp.app* > > > > > * MyProject* > > > > > * 1.0-SNAPSHOT* > > > > > * swf* > > > > > > > > > > * MyProject Flex* > > > > > * * > > > > > * 6.0.1* > > > > > * 4.6.0.23201* > > > > > * 11.1* > > > > > * * > > > > > > > > > > * * > > > > > * src/main/flex* > > > > > * * > > > > > * * > > > > > > > > > > * net.flexmojos.oss* > > > > > * flexmojos-maven-plugin* > > > > > * ${flexmojos.version}* > > > > > * true* > > > > > * * > > > > > * Main.mxml* > > > > > * * > > > > > * src/main/flex* > > > > > * src/main/resources* > > > > > * * > > > > > * true* > > > > > * * > > > > > * * > > > > > * * > > > > > * net.flexmojos.oss* > > > > > * flexmojos-maven-plugin* > > > > > * ${flexmojos.version}* > > > > > * * > > > > > * * > > > > > * com.adobe.flex* > > > > > * compiler* > > > > > * ${flex.version}* > > > > > * pom* > > > > > * * > > > > > * * > > > > > > > > > > * * > > > > > * * > > > > > * * > > > > > > > > > > * * > > > > > * * > > > > > * net.flexmojos.oss* > > > > > * flexmojos-maven-plugin* > > > > > * ${flexmojos.version}* > > > > > * * > > > > > * * > > > > > * com.adobe.flex.framework* > > > > > * flex-framework* > > > > > * ${flex.version}* > > > > > * pom* > > > > > * * > > > > > > > > > > * * > > > > > * com.adobe.flash.framework* > > > > > * playerglobal* > > > > > * ${flash.version}* > > > > > * swc* > > > > > * * > > > > > * * > > > > > > > > > > * * > > > > > * * > > > > > * * > > > > > * flex-mojos-repository* > > > > > * > > http://repository.sonatype.org/content/groups/flexgroup > > > > > * > > > > > * * > > > > > * * > > > > > > > > > > * * > > > > > * * > > > > > * flex-mojos-plugin-repository* > > > > > * > > http://repository.sonatype.org/content/groups/flexgroup > > > > > * > > > > > * * > > > > > * * > > > > > ** > > > > > > > > > > *And Main.mxml is :* > > > > > > > > > > > > > > > > > > > > > > > > xmlns:s="library://ns.adobe.com/flex/spark" > > > > > xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" > > > > > minHeight="600"> > > > > > > > > > > > > > > [Bindable] > > > > > [Embed(source="add.png")] > > > > > private var imgclass : Class; > > > > > ]]> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > *Thanks & Regards* > > > > > *Gautam Pandey* > > > > > *Tegile Systems* > > > > > *Ph : 9243014820* > > > > > > > > > > > > > > > On Thu, Oct 9, 2014 at 7:07 PM, Gautam Pandey > > > > wrote: > > > > > > > > > > > Thanks Chris, > > > > > > I have mavenized the 4.13 FDK following the steps given in > > > > > > > > > > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/FLEX/Building+Flex+applications+with+Maven > > > > > and > > > > > > copied to my local repo. I never did maven things so I am not > sure > > > > about > > > > > > the things. Currently learning maven concepts to point out the > > exact > > > > > cause. > > > > > > Do I need to build flexmojos also and deploy to local repo? > > > > > > > > > > > > Thanks > > > > > > Gautam > > > > > > > > > > > > On Thu, Oct 9, 2014 at 6:20 PM, Christofer Dutz < > > > > > christofer.dutz@c-ware.de > > > > > > > wrote: > > > > > > > > > > > >> Have you manually created the Maven artifacts for Flex 4.13? > > > > > >> If not that's exactly what Maven is complaining about. Currently > > > there > > > > > is > > > > > >> no Apache Flex FDK publicaly available in any public Maven > > > repository. > > > > > We > > > > > >> are working on this, but I't still a mile to go. > > > > > >> > > > > > >> Chris > > > > > >> > > > > > >> ________________________________________ > > > > > >> Von: Gautam Pandey > > > > > >> Gesendet: Mittwoch, 8. Oktober 2014 15:50 > > > > > >> An: users@flex.apache.org > > > > > >> Betreff: Re: Need help on flexmojo > > > > > >> > > > > > >> I guess I am missing repositories and pluginRepositories like > > > things. > > > > I > > > > > >> don't know what should be added in this section. Can someone > > confirm > > > > > below > > > > > >> default things will work or not? > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> flex-mojos-repository > > > > > >> > > > http://repository.sonatype.org/content/groups/flexgroup > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> flex-mojos-plugin-repository > > > > > >> > > > http://repository.sonatype.org/content/groups/flexgroup > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> On Wed, Oct 8, 2014 at 6:52 PM, Tom Chiverton < > tc@extravision.com > > > > > > > > wrote: > > > > > >> > > > > > >> > On 08/10/14 11:23, Gautam Pandey wrote: > > > > > >> > > > > > > >> >> Fai > > > > > >> >> lure to find com.adobe.flash:playerglobal:swc:11.1 in > > > > > >> >> http://repo.maven.apache.org/maven2 was cached in the local > > > > > >> repository, > > > > > >> >> resolution wi > > > > > >> >> ll not be reattempted until the update interval of central > has > > > > > elapsed > > > > > >> or > > > > > >> >> updates are forced > > > > > >> >> > > > > > >> > I don't know much Maven, but did you try forcing this update ? > > > > > >> > > > > > > >> > Tom > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> -- > > > > > >> *Thanks & Regards* > > > > > >> *Gautam Pandey* > > > > > >> *Tegile Systems* > > > > > >> *Ph : 9243014820* > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > --001a1137fc027a6e5f05055ce281--