Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Strange ... If you guys tried the most recent mavenizer, then the Empty-Zip problem should be solved. I am assuming the post got stuck here and was released over Christmas ... I really hate that :-( Regarding the full build of Flexmojos: If you build FM6 with all tests running, you will need allmost all FDKs available in your Repo as the Testsuite tests the current FM against allmost all of these FDKs. When checking out there should actually be no need to perform any code changes in order to have the system running. Could you please elaborate on this? Chris 2012/12/26 Keegan keegsa...@gmail.com On my local copy I found you can do two things to correct it in FlexFrameworkGenerator.writeDummyResourceBundleSWC(): Remove any reference to ZipOutputstream and just create and close the FileOutputStream. This will create a file with the .swc extension the only down side is its not a valid zip file. OR Create the ZipOutputStream as is done now and add a single dummy entry to it. Like this *out.putNextEntry(new ZipEntry(zips-cant-be-empty.txt)); *This will create a valid zip file with a single entry in it. -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
I was still getting the ZIP file must have at least one entry issue. I found a couple possible fixes though. On my local copy I found you can do two things to correct it in FlexFrameworkGenerator.writeDummyResourceBundleSWC(): Remove any reference to ZipOutputstream and just create and close the FileOutputStream. This will create a file with the .swc extension the only down side is its not a valid zip file. OR Create the ZipOutputStream as is done now and add a single dummy entry to it. Like this *out.putNextEntry(new ZipEntry(zips-cant-be-empty.txt)); *This will create a valid zip file with a single entry in it. On Monday, November 26, 2012 3:39:15 PM UTC-5, Christofer Dutz wrote: Hi Remi, thanks for that report ... strange thing is that I am not getting any errors on my Windows machine. But I did find out that closing the ZipOutputStream is bad and I should Close the FileInputStream instead. Initially I had a binary empty Zip file which I simply copied everywhere, but it was considered bad to add binary stuff to the apache repo. I was promoted Committer a few days ago .. as soon as I have everything setup, I'll give fixing that a shot. Chris 2012/11/15 Remi P rpat...@gmail.com javascript: Hi Chris, I'm trying to use your Mavenizer to generate the FDK structure but I'm getting the following exception: - - - -- Generating Air SDK version: 3.1 - - - -- Generating Flex SDK version: 4.6.0.23201 - Exception in thread main java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(Unknown Source) at java.util.zip.DeflaterOutputStream.close(Unknown Source) at java.util.zip.ZipOutputStream.close(Unknown Source) at flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFrameworkGenerator.java:577) at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java:175) at SDKGenerator.generateFlex(SDKGenerator.java:120) at SDKGenerator.generateAllFlex(SDKGenerator.java:108) at SDKGenerator.main(SDKGenerator.java:148) It seems that the error is thrown when the target file is: {home}\fdktarget\com\adobe\flex\framework\air\airspark\4.6.0.23201\airspark-4.6.0.23201.rb.swc I guess I did something wrong, but what? Regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christo...@gmail.comjavascript: wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-...@googlegroups.comjavascript: To unsubscribe from this group, send email to flex-mojos+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-...@googlegroups.comjavascript: To unsubscribe from this group, send email to flex-mojos+...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Thanks for that Jose :-) 2012/12/11 Jose Barragan jose.barra...@codeoscopic.com This issue has been resolved yet on: https://issues.apache.org/jira/browse/FLEX-33291 I use the maven assembly plugin to resolve the dependencies in package phase -- *Jose Barragan* *Software Architect Chief * Codeoscopic Madrid C/. Infanta Mercedes, 92. Planta 5. 505. 28020 Madrid. Tel.: +34 912 94 80 80 On Dec 11, 2012, at 12:43 PM, Jose Barragan Andrade pepebarra...@me.com wrote: This issue has been resolved yet on: https://issues.apache.org/jira/browse/FLEX-33291 I use the maven assembly plugin to resolve the dependencies in package phase -- *Jose Barragan* *Software Architect Chief * *josebarra...@apache.org* On Dec 5, 2012, at 1:52 PM, Christofer Dutz christofer.d...@gmail.com wrote: The reason for this was the history of its creation. I started with a simple standalone application and it got more and more mature. Making it a plugin is now the next logical step :-) Am 05.12.2012 12:40 schrieb Remi P rpatr...@gmail.com: I'm facing the same issues... +1 to integrate a shade plugins section to produce a uber-jar including all required classes (patch attached) For information, I reproduce the 2nd issue using both java 1.6 and 1.7... Regards, Remi On Sun, Dec 2, 2012 at 5:27 PM, netphreak sjepsenm...@gmail.com wrote: Hi, Chris! My first error is: Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream at air.AirRuntimeGenerator.processFlashRuntime(AirRuntimeGenerator.java:139) at air.AirRuntimeGenerator.process(AirRuntimeGenerator.java:41) at SDKGenerator.generateAir(SDKGenerator.java:82) at SDKGenerator.generateAllAir(SDKGenerator.java:67) at SDKGenerator.main(SDKGenerator.java:145) Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 5 more So it seems the GzipCompressorInputStream is not available in the flex-sdk-generator-1.0.jar. That's easily overcome by using the maven shade plugin. The problem occurs when running any command using the flex-sdk-generator jar, and is caused by the mavenizer.jar not including the org.apache.commons.compress dependency - you can test this, by opening up the flex-sdk-generator.jar and see there are no classes from the org.apache.commons.compress dependency. The maven shade plugin ensures dependencie's classes are packaged in final flex-sdk-generator.jar. - or maybe you could use the standard integrated java zip api's: http://docs.oracle.com/javase/6/docs/api/java/util/zip/package-summary.html http://www.javaworld.com/community/node/8362 I'm running the following java: java version 1.6.0_37 Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) The second problem: Srens-MacBook-Pro-2:mavenizer soren$ java -cp target/flex-sdk-converter-1.0.jar SDKGenerator sdkhome fdktarget - -- Generating Air SDK version: 3.5 - - - -- Generating Air SDK version: 3.1 - - - -- Generating Flex SDK version: 4.6.0.23201 - *Exception in thread main java.util.zip.ZipException: ZIP file must have at least one entry* * at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)* * at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:140)* * at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)* * at flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFrameworkGenerator.java:576) * * at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java:175)* * at SDKGenerator.generateFlex(SDKGenerator.java:120)* * at SDKGenerator.generateAllFlex(SDKGenerator.java:108)* * at SDKGenerator.main(SDKGenerator.java:148)* * * Might be resolved by using the integrated zip api of java, as mentioned in the first problem?!? Regards. Den fredag den 30. november 2012 19.38.10 UTC+1 skrev Christofer Dutz: Regarding the other two errors ... do you have any more output? I sort of can't see the problem as the commandline seemt to be valid. Are you only generating one FDK? or are these the only ones causing problems? Are you eventually
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
This issue has been resolved yet on: https://issues.apache.org/jira/browse/FLEX-33291 I use the maven assembly plugin to resolve the dependencies in package phase -- Jose Barragan Software Architect Chief Codeoscopic Madrid C/. Infanta Mercedes, 92. Planta 5. 505. 28020 Madrid. Tel.: +34 912 94 80 80 On Dec 11, 2012, at 12:43 PM, Jose Barragan Andrade pepebarra...@me.com wrote: This issue has been resolved yet on: https://issues.apache.org/jira/browse/FLEX-33291 I use the maven assembly plugin to resolve the dependencies in package phase -- Jose Barragan Software Architect Chief josebarra...@apache.org On Dec 5, 2012, at 1:52 PM, Christofer Dutz christofer.d...@gmail.com wrote: The reason for this was the history of its creation. I started with a simple standalone application and it got more and more mature. Making it a plugin is now the next logical step :-) Am 05.12.2012 12:40 schrieb Remi P rpatr...@gmail.com: I'm facing the same issues... +1 to integrate a shade plugins section to produce a uber-jar including all required classes (patch attached) For information, I reproduce the 2nd issue using both java 1.6 and 1.7... Regards, Remi On Sun, Dec 2, 2012 at 5:27 PM, netphreak sjepsenm...@gmail.com wrote: Hi, Chris! My first error is: Exception in thread main java.lang.NoClassDefFoundError: org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream at air.AirRuntimeGenerator.processFlashRuntime(AirRuntimeGenerator.java:139) at air.AirRuntimeGenerator.process(AirRuntimeGenerator.java:41) at SDKGenerator.generateAir(SDKGenerator.java:82) at SDKGenerator.generateAllAir(SDKGenerator.java:67) at SDKGenerator.main(SDKGenerator.java:145) Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 5 more So it seems the GzipCompressorInputStream is not available in the flex-sdk-generator-1.0.jar. That's easily overcome by using the maven shade plugin. The problem occurs when running any command using the flex-sdk-generator jar, and is caused by the mavenizer.jar not including the org.apache.commons.compress dependency - you can test this, by opening up the flex-sdk-generator.jar and see there are no classes from the org.apache.commons.compress dependency. The maven shade plugin ensures dependencie's classes are packaged in final flex-sdk-generator.jar. - or maybe you could use the standard integrated java zip api's: http://docs.oracle.com/javase/6/docs/api/java/util/zip/package-summary.html http://www.javaworld.com/community/node/8362 I'm running the following java: java version 1.6.0_37 Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) The second problem: Srens-MacBook-Pro-2:mavenizer soren$ java -cp target/flex-sdk-converter-1.0.jar SDKGenerator sdkhome fdktarget - -- Generating Air SDK version: 3.5 - - - -- Generating Air SDK version: 3.1 - - - -- Generating Flex SDK version: 4.6.0.23201 - Exception in thread main java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:140) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321) at flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFrameworkGenerator.java:576) at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java:175) at SDKGenerator.generateFlex(SDKGenerator.java:120) at SDKGenerator.generateAllFlex(SDKGenerator.java:108) at SDKGenerator.main(SDKGenerator.java:148) Might be resolved by using the integrated zip api of java, as mentioned in the first problem?!? Regards. Den fredag den 30. november 2012 19.38.10 UTC+1 skrev Christofer Dutz: Regarding the other two errors ... do you have any more output? I sort of can't see the problem as the commandline seemt to be valid. Are you only generating one FDK? or are these the only ones causing problems? Are you eventually
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Hi Chris, Mmm... Did I miss something here? Many Flex SDKs are currently deployed (thanks to Velo). Is there something new with Adobe which prevents us to deploy the new FDK structure in a public repository? Remi On Tue, Nov 13, 2012 at 10:39 PM, Christofer Dutz christofer.d...@gmail.com wrote: As long adobe doesn't give the permission to publish, we will not be able to publish them anywhere. That's what I created the generator for. You download the sdks you want to use and let the generator convert them to mavenized fdks. Chris Am 13.11.2012 19:53 schrieb Remi P rpatr...@gmail.com: Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Hi Chris, I'm trying to use your Mavenizer to generate the FDK structure but I'm getting the following exception: - - - -- Generating Air SDK version: 3.1 - - - -- Generating Flex SDK version: 4.6.0.23201 - Exception in thread main java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(Unknown Source) at java.util.zip.DeflaterOutputStream.close(Unknown Source) at java.util.zip.ZipOutputStream.close(Unknown Source) at flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFrameworkGenerator.java:577) at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java:175) at SDKGenerator.generateFlex(SDKGenerator.java:120) at SDKGenerator.generateAllFlex(SDKGenerator.java:108) at SDKGenerator.main(SDKGenerator.java:148) It seems that the error is thrown when the target file is: {home}\fdktarget\com\adobe\flex\framework\air\airspark\4.6.0.23201\airspark-4.6.0.23201.rb.swc I guess I did something wrong, but what? Regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.comwrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Hi Carlos, On Tue, Nov 13, 2012 at 11:12 PM, Carlos Rovira carlos.rov...@codeoscopic.com wrote: Hi Remi, I think 4.6.b.23201 is available to use nowadays and is the latest from Adobe. b refers to a security patch applyed, so it's a better version than 0. You should try it. I only need to deploy in our custom maven repo the themes since it wasn't available and we use them. Yes I got it but in fact I was speaking about how to build the FM-6x plugin which depends on the new FDK structure. Chris said that he cannot deploy the new FDK structure in a public repository due to Adobe legal considerations. So it seems that we have to use the Chris Mavenizer to deploy the new FDK structure in our private repository to be able to use FM-6. We only need to get Apache Flex SDKs (from 4.8) deployed. Maybe from a legal point of view, but technically I don't think this will be so easy due to the groupId issueshttps://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Flexmojos+6.x... @Chris: concerning this issue, could we consider the option to deploy two version of FM using Maven classifiers? Best, Carlos Rovira 2012/11/13 Remi P rpatr...@gmail.com Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- Carlos Rovira Director de TecnologĂa M: +34 607 22 60 05 F: +34 912 35 57 77 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Actually there never was a 4.6.b.23201 available by adobe ... it's just that 4.6.0.23201 didn't need a fix, because that was allready fixed when being provided. As I'm now on my compulter and don't have to type on my phone, I can be a little more detailed. On the Flex developer list I was having quite a discussion with the guys from Adobe. The problem is that you need to agree to the Adobe licenses prior to downloading the FDKs. Using Maven there is generally no way to actually accept them. I did offer them a solution using a login-protected Nexus instance, but I think they simply don't bother. So I guess that the old FDKs will probably not be available anytime soon. This is a little different with 4.8 as Apache is willing to deploy their stuff publically. Unfortunately you still need playerglobal and/or airglobal hosted somewhere. Adobe has signaled to be thinking about making them available, but as long as that's not happening, we are stuck too. The Generator I wrote now circumvents the problem, by you downloading the FDKs you want to use and then to have those FDKs transformed into a Maven structure you can simply copy into your local Maven repo and even use the second command-line tool in that package to upload the generated artifacts into your (companies) Maven repo. Deploying to a public repo would technologically be as easy as executing 2 command-line commands, but I am not willing to face the legal consequences. This readme should explain everything: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/README.txt While I was working on the Generator, I decided to fix a few things, that I found needed fixing in Velos deployment strategy. The main differences are: - The Flashplayer and Resoureces are deployed under com.adobe.flash and com.adobe.air and are versioned using 2-segment version numbers. There is now no need to specify the flashplayer with the FDK version and the classifier of the flash version you want to use ... you now simply specify the flashplayer in the version directly - Same with the air stuff - Every theme is now available as a swc in the groupId com.adobe.flex.framework.themes because I automatically compile those non-swc themes to swcs in the deployment process. Theme stuff is now excluded from the framewor-config zip. - Libraries, that are available as rsl and swz sometimes had different version numbers than the FDK they were contained in. Velo simply deployed everything using the FDK version. This broke the functionality of the Flashplayer to automatically fech SWZ files from Adobe servers. This is now fixed in my new FDKs - For all those people using the caching framework or have to define the versions of FDK libs a lot, I have introduced a new set of pom-artifacts containing only a dependencyManagement section defining all the versions of all the libraries in a FDK. Now you can simply omit the version numbers and import those version-poms in your projects dependencyManagement section. - Apache Flex FDKs can ge generated into a different groupId (org.apache.flex). Flexmojos can also deal with those FDKs nicely, the only drawback is that in order to use them your need to compile Flexmojos against that groupId due to maven restrictions. In this case the Testsuite will fail. The reason is that usually by providing a custom compiler+framework version you override the default. If however you use a different groupId Maven includes both compiler and framework version, which results in a total mess :-( Think that was most of the good stuff. Chris 2012/11/13 Carlos Rovira carlos.rov...@codeoscopic.com Hi Remi, I think 4.6.b.23201 is available to use nowadays and is the latest from Adobe. b refers to a security patch applyed, so it's a better version than 0. You should try it. I only need to deploy in our custom maven repo the themes since it wasn't available and we use them. We only need to get Apache Flex SDKs (from 4.8) deployed. Best, Carlos Rovira 2012/11/13 Remi P rpatr...@gmail.com Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Hi Remi, thanks for that report ... strange thing is that I am not getting any errors on my Windows machine. But I did find out that closing the ZipOutputStream is bad and I should Close the FileInputStream instead. Initially I had a binary empty Zip file which I simply copied everywhere, but it was considered bad to add binary stuff to the apache repo. I was promoted Committer a few days ago .. as soon as I have everything setup, I'll give fixing that a shot. Chris 2012/11/15 Remi P rpatr...@gmail.com Hi Chris, I'm trying to use your Mavenizer to generate the FDK structure but I'm getting the following exception: - - - -- Generating Air SDK version: 3.1 - - - -- Generating Flex SDK version: 4.6.0.23201 - Exception in thread main java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(Unknown Source) at java.util.zip.DeflaterOutputStream.close(Unknown Source) at java.util.zip.ZipOutputStream.close(Unknown Source) at flex.FlexFrameworkGenerator.writeDummyResourceBundleSwc(FlexFrameworkGenerator.java:577) at flex.FlexFrameworkGenerator.process(FlexFrameworkGenerator.java:175) at SDKGenerator.generateFlex(SDKGenerator.java:120) at SDKGenerator.generateAllFlex(SDKGenerator.java:108) at SDKGenerator.main(SDKGenerator.java:148) It seems that the error is thrown when the target file is: {home}\fdktarget\com\adobe\flex\framework\air\airspark\4.6.0.23201\airspark-4.6.0.23201.rb.swc I guess I did something wrong, but what? Regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.comwrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
As long adobe doesn't give the permission to publish, we will not be able to publish them anywhere. That's what I created the generator for. You download the sdks you want to use and let the generator convert them to mavenized fdks. It even comes with a tool to automatically deploy them to a company repository. Chris Am 13.11.2012 19:53 schrieb Remi P rpatr...@gmail.com: Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
As long adobe doesn't give the permission to publish, we will not be able to publish them anywhere. That's what I created the generator for. You download the sdks you want to use and let the generator convert them to mavenized fdks. Chris Am 13.11.2012 19:53 schrieb Remi P rpatr...@gmail.com: Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
Re: [flex-mojos] Flexmojos 6.x + FDK Mavenizer finished
Hi Remi, I think 4.6.b.23201 is available to use nowadays and is the latest from Adobe. b refers to a security patch applyed, so it's a better version than 0. You should try it. I only need to deploy in our custom maven repo the themes since it wasn't available and we use them. We only need to get Apache Flex SDKs (from 4.8) deployed. Best, Carlos Rovira 2012/11/13 Remi P rpatr...@gmail.com Hi Chris, Many thanks for all your work! It seems that FM-6 requires com.adobe.flex:framework:pom:4.6.0.23201 which is not yet available on usual FM repositories. Could you deploy the new FDK structure on central repo in order to allow us to build and test FM-6? Best regards, Remi On Fri, Nov 9, 2012 at 11:15 AM, Christofer Dutz christofer.d...@gmail.com wrote: Hi guys, sorry for me being a little overloaded in the last weeks, but I have been working hard on my Flex SDK Mavenizer and the Flexmojos 6.x branch. After more than one month of full time work (if a add all up) we are ready to go. I just contributed the code for the Generator to Apache Flex and it's available for download at: https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/mavenizer/ In a few hours I think that will have an updated README.txt explaining how to use it. Flexmojos 6.x is currently available in my Github Repo at https://github.com/chrisdutz/flexmojos but I will push those changes back to velos repo soon. Just if you want to start testing, give it a go :-) Really hoping on some feedback. Additionally you might be interested that rP and I were really busy on the new Confluence at https://flexmojos.atlassian.net/wiki/display/FLEXMOJOS/Home Now most of the content of the old sonatype wiki is available at the new destination and I merged in all of my finished documents from my companies Wiki. Currently we are workin on updating those pages, but a lot has been done. So give it a try and give us some feedback at what you think and where things have to be corrected. Reall looking forward to turning off all of the old sites so the web is not polluted with outdated information, so if your're looking for information, you'll be guided to the most recent source. So much for now, Chris -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/ -- Carlos Rovira Director de TecnologĂa M: +34 607 22 60 05 F: +34 912 35 57 77 http://www.codeoscopic.com http://www.directwriter.es http://www.avant2.es -- You received this message because you are subscribed to the Google Groups Flex Mojos group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/