Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2013-01-23 Thread Christofer Dutz
Oh ... just saw that you allready did ... the binaries are available at:
https://oss.sonatype.org/content/groups/staging/org/flexunit/flexunit/4.1.0/
I think they should also find their way to the repo1.maven.org, but don't
know how long this will take.

Chris


2013/1/21 Christofer Dutz christofer.d...@gmail.com

 I deployed the flexunit binaries in 3 flavours. flex4, flex3 and as3 so
 you need a classifier pulling in the flex4 version.

 Chris


 2013/1/20 Sylvain sylvain.le...@gmail.com

 Now I need to resolve org.flexunit:flexunit:swc:flex4:4.1.0. :-)

 Any pointers ?

 Le vendredi 18 janvier 2013 16:17:11 UTC+1, Sylvain a écrit :

 I can confirm that I got the same exception as Anton.

 Did not find the string classifiertheme/classifier among all POMs.

 Le vendredi 11 janvier 2013 11:45:02 UTC+1, Anton Eryemenko a écrit :

 Hi Chris, Many thanks for your work.

 I'm trying to relocate from FlashBuilder to IntelJ IDEA and decided to
 use maven to build my project.
 I'm new in flexmojos so maybe I do something wrong.

 I downloaded mavenizer from https://svn.apache.org/repos/**
 asf/flex/utilities/trunk/**mavenizerhttps://svn.apache.org/repos/asf/flex/utilities/trunk/mavenizer,
 added proxy using and Keegan solution to avoid ZipOutputStream and run with
 flex_sdk_4.6.0 in input.
 I succesfully got a set of artifacts and placed them on my local
 repository.
 After that I downloaded Flexmojos 6.x from Github and tried to build
 and install it too.
 In flexmojos-flex3-compatibility-**layer\pom.xml I changed version of
 com.adobe.flex:compiler from 3.5.0.12683B to 3.5.0.12683, nothing more.

 The problem is:
 [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-**
 maven-plugin:6.0-SNAPSHOT:**compile-swc (default-compile-swc) on
 project flexmojos-unittest-support: 
 java.lang.reflect.**InvocationTargetException:
 Unable to resolve theme artifact (com.adobe.flex.framework.**
 themes:spark:4.6.0.23201:**theme:swc. Failed to resolve artifact
 com.adobe.flex.framework.**themes:spark:swc:theme:4.6.0.**23201 -
 [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [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 read the following articles:
 [ERROR] [Help 1] http://cwiki.apache.org/**confluence/display/MAVEN/**
 MojoExecutionExceptionhttp://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with
 the command
 [ERROR]   mvn goals -rf :flexmojos-unittest-support

 but I have spark-4.6.0.23201.swc in my repository .m2\repository\com\**
 adobe\flex\framework\themes\**spark\4.6.0.23201\

 I've attached the full log file.

 Could you help me with it?


 Best regards.


 пятница, 9 ноября 2012 г., 16:15:54 UTC+6 пользователь Christofer Dutz
 написал:

 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/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/flexmojoshttps://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/Homehttps://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 

Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2013-01-23 Thread Christofer Dutz
I deployed the flexunit binaries in 3 flavours. flex4, flex3 and as3 so you
need a classifier pulling in the flex4 version.

Chris


2013/1/20 Sylvain sylvain.le...@gmail.com

 Now I need to resolve org.flexunit:flexunit:swc:flex4:4.1.0. :-)

 Any pointers ?

 Le vendredi 18 janvier 2013 16:17:11 UTC+1, Sylvain a écrit :

 I can confirm that I got the same exception as Anton.

 Did not find the string classifiertheme/classifier among all POMs.

 Le vendredi 11 janvier 2013 11:45:02 UTC+1, Anton Eryemenko a écrit :

 Hi Chris, Many thanks for your work.

 I'm trying to relocate from FlashBuilder to IntelJ IDEA and decided to
 use maven to build my project.
 I'm new in flexmojos so maybe I do something wrong.

 I downloaded mavenizer from https://svn.apache.org/repos/**
 asf/flex/utilities/trunk/**mavenizerhttps://svn.apache.org/repos/asf/flex/utilities/trunk/mavenizer,
 added proxy using and Keegan solution to avoid ZipOutputStream and run with
 flex_sdk_4.6.0 in input.
 I succesfully got a set of artifacts and placed them on my local
 repository.
 After that I downloaded Flexmojos 6.x from Github and tried to build and
 install it too.
 In flexmojos-flex3-compatibility-**layer\pom.xml I changed version of
 com.adobe.flex:compiler from 3.5.0.12683B to 3.5.0.12683, nothing more.

 The problem is:
 [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-**
 maven-plugin:6.0-SNAPSHOT:**compile-swc (default-compile-swc) on
 project flexmojos-unittest-support: 
 java.lang.reflect.**InvocationTargetException:
 Unable to resolve theme artifact (com.adobe.flex.framework.**
 themes:spark:4.6.0.23201:**theme:swc. Failed to resolve artifact
 com.adobe.flex.framework.**themes:spark:swc:theme:4.6.0.**23201 -
 [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [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 read the following articles:
 [ERROR] [Help 1] http://cwiki.apache.org/**confluence/display/MAVEN/**
 MojoExecutionExceptionhttp://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :flexmojos-unittest-support

 but I have spark-4.6.0.23201.swc in my repository .m2\repository\com\**
 adobe\flex\framework\themes\**spark\4.6.0.23201\

 I've attached the full log file.

 Could you help me with it?


 Best regards.


 пятница, 9 ноября 2012 г., 16:15:54 UTC+6 пользователь Christofer Dutz
 написал:

 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/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/flexmojoshttps://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/Homehttps://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


Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2013-01-23 Thread Christofer Dutz
@Patrick ... yes ... creating a pull request would be the best way to go.
@Patrick ... Flexunit 4.1 is available ... I deployed the lib to sonatype
myself.


2013/1/21 Sylvain sylvain.le...@gmail.com

 Ok, this one was actually easy: just navigate to http://flexunit.org,
 download the 4.1.0-SDK in the Download section.

 Open the archive and move the flexunit-4.1.0-8-flex_4.1.0.16076.swc file
 to .m2/repository/org/flexunit/4.1.0/flexunit-4.1.0.swc

 Le dimanche 20 janvier 2013 18:55:34 UTC+1, Sylvain a écrit :

 Now I need to resolve org.flexunit:flexunit:**swc:flex4:4.1.0. :-)

 Any pointers ?

 Le vendredi 18 janvier 2013 16:17:11 UTC+1, Sylvain a écrit :

 I can confirm that I got the same exception as Anton.

 Did not find the string classifiertheme/classifier among all POMs.

 Le vendredi 11 janvier 2013 11:45:02 UTC+1, Anton Eryemenko a écrit :

 Hi Chris, Many thanks for your work.

 I'm trying to relocate from FlashBuilder to IntelJ IDEA and decided to
 use maven to build my project.
 I'm new in flexmojos so maybe I do something wrong.

 I downloaded mavenizer from https://svn.apache.org/repos/**
 asf/flex/utilities/trunk/**mavenizerhttps://svn.apache.org/repos/asf/flex/utilities/trunk/mavenizer,
 added proxy using and Keegan solution to avoid ZipOutputStream and run with
 flex_sdk_4.6.0 in input.
 I succesfully got a set of artifacts and placed them on my local
 repository.
 After that I downloaded Flexmojos 6.x from Github and tried to build
 and install it too.
 In flexmojos-flex3-compatibility-**layer\pom.xml I changed version of
 com.adobe.flex:compiler from 3.5.0.12683B to 3.5.0.12683, nothing more.

 The problem is:
 [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-**
 maven-plugin:6.0-SNAPSHOT:**compile-swc (default-compile-swc) on
 project flexmojos-unittest-support: 
 java.lang.reflect.**InvocationTargetException:
 Unable to resolve theme artifact (com.adobe.flex.framework.**
 themes:spark:4.6.0.23201:**theme:swc. Failed to resolve artifact
 com.adobe.flex.framework.**themes:spark:swc:theme:4.6.0.**23201 -
 [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e switch.
 [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 read the following articles:
 [ERROR] [Help 1] http://cwiki.apache.org/**confluence/display/MAVEN/**
 MojoExecutionExceptionhttp://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with
 the command
 [ERROR]   mvn goals -rf :flexmojos-unittest-support

 but I have spark-4.6.0.23201.swc in my repository .m2\repository\com\**
 adobe\flex\framework\themes\**spark\4.6.0.23201\

 I've attached the full log file.

 Could you help me with it?


 Best regards.


 пятница, 9 ноября 2012 г., 16:15:54 UTC+6 пользователь Christofer Dutz
 написал:

 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/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/flexmojoshttps://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/Homehttps://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/


-- 

Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2013-01-18 Thread Sylvain


Le vendredi 11 janvier 2013 12:03:53 UTC+1, Christofer Dutz a écrit :

 Try removing the classifiertheme/classifier

 Chris


 2013/1/11 Anton Eryemenko eldes...@gmail.com javascript:

 spark-4.6.0.23201.swc





-- 
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] Re: Flexmojos 6.x + FDK Mavenizer finished

2013-01-11 Thread Christofer Dutz
Try removing the classifiertheme/classifier

Chris


2013/1/11 Anton Eryemenko eldest@gmail.com

 spark-4.6.0.23201.swc

-- 
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] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-12-02 Thread netphreak
The error i get is the following:
java.lang.NoClassDefFoundError: 
org/apache/commons/compress/compressors/gzip/GzipCompressorInputStream 

So it seems the  GzipCompressorInputStream is not available in the 
mavenizer.jar.



Den tirsdag den 27. november 2012 12.09.57 UTC+1 skrev Christofer Dutz:

 Well the plugin is built using maven and I currently get the 3 
 dependencies from default repos. So as soon as the build ran, there should 
 not be any CNFEs. What classes is ist complaining about? I don't want to 
 bundle third party artifacts if this is not needed. And Apache explicitly 
 prohibits this.

 Chris

 2012/11/27 netphreak sjeps...@gmail.com javascript:

 What i meant by point 1, was that your mavenizer tool uses two 
 dependencies. When running the maven generated jar (the mavenizer) - i get 
 some class not found exceptions, because the dependencies in the pom are 
 not available in the mavenizer jar.




-- 
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] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-12-02 Thread 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 using a 64bit Java 7 VM? I had to install a 32bit VM just in
oder do be able to use the libs of the FDK. So I would give that a try.

Chris


2012/11/30 Christofer Dutz christofer.d...@gmail.com

 I still have to admit that I have absoluteley no idea why you are getting
 the CNFEs. Is this only occuring on non-windows machines?


 2012/11/27 netphreak sjepsenm...@gmail.com

 Hi Christofer!

 Checking out your latest changes (fixing the directory path problem) and
 including my fix for the above mentioned class not found exception (using
 the shade maven plugin), i'm able to generate almost the entire framework
 (paths are generated correctly now for the compiler part also).

 Although i get 2 errors when generating the theme swc's:

 Geneating theme 'AeonGraphical'
 Couldn't create theme swc
 
 Env:
 'PLAYERGLOBAL_HOME=/Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/libs/player'
 java -Xmx384m -Dsun.io.useCanonCaches=false -jar
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/lib/compc.jar
 +flexlib=/Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks
 -include-file AeonGraphical.css
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/themes/AeonGraphical/AeonGraphical.css
 -include-file AeonGraphical.swf
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/themes/AeonGraphical/AeonGraphical.swf
 -o
 /Users/soren/Dev/projects/mavenizer/fdktarget/com/adobe/flex/framework/themes/aeongraphical/4.6.0.23201/aeongraphical-4.6.0.23201.swc
 
 Geneating theme 'Spark'
 Couldn't create theme swc
 
 Env:
 'PLAYERGLOBAL_HOME=/Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/libs/player'
 java -Xmx384m -Dsun.io.useCanonCaches=false -jar
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/lib/compc.jar
 +flexlib=/Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks
 -include-file spark.css
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/themes/Spark/spark.css
 -o
 /Users/soren/Dev/projects/mavenizer/fdktarget/com/adobe/flex/framework/themes/spark/4.6.0.23201/spark-4.6.0.23201.swc

 Regards!



 Den fredag den 9. november 2012 11.15.54 UTC+1 skrev Christofer Dutz:

 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/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/flexmojoshttps://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/Homehttps://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 

Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-12-02 Thread netphreak
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 using a 64bit Java 7 VM? I had to install a 32bit VM just in 
 oder do be able to use the libs of the FDK. So I would give that a try.

 Chris


 2012/11/30 Christofer Dutz christo...@gmail.com javascript:

 I still have to admit that I have absoluteley no idea why you are getting 
 the CNFEs. Is this only occuring on non-windows machines?


 2012/11/27 netphreak sjeps...@gmail.com javascript:

 Hi Christofer!

 Checking out your latest changes (fixing the directory path problem) and 
 including my fix for the above mentioned class not found exception (using 
 the shade maven plugin), i'm able to generate almost the entire framework 
 (paths are generated correctly now for the compiler part also).

 Although i get 2 errors when generating the theme swc's:

 Geneating theme 'AeonGraphical'
 Couldn't create theme swc
 
 Env: 
 'PLAYERGLOBAL_HOME=/Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/libs/player'
 java -Xmx384m -Dsun.io.useCanonCaches=false -jar 
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/lib/compc.jar
  
 +flexlib=/Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks
  
 -include-file AeonGraphical.css 
 /Users/soren/Dev/projects/mavenizer/sdkhome/flex/flex_sdk_4.6.0.23201B/frameworks/themes/AeonGraphical/AeonGraphical.css
  
 -include-file 

Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-12-02 Thread Christofer Dutz
I think I know the problem. The lib is built using Maven and therefore
would require Maven to provide the dependencies. In your case
GzipCompressInputStream is missing and therefore you are getting that
error. What I really found a little strange is that I have no problem at
all running the thing, but now I think I know ... I was running the Main
class from IntelliJ an probably IntelliJ automatically setup the classpath
correctly. I am currently working on a stan-alone maven plugin to do the
deployment. I think with this deploying the plugin and setting up the
classpath should be a lot easier.

Chris

2012/11/30 netphreak sjepsenm...@gmail.com

 So it seems the  GzipCompressorInputStream is not available in the
 mavenizer.jar.


-- 
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] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-11-30 Thread netphreak
The error i get is the following:
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


Den tirsdag den 27. november 2012 08.02.26 UTC+1 skrev netphreak:

 Hi, Christofer!

 What i meant by point 1, was that your mavenizer tool uses two 
 dependencies. When running the maven generated jar (the mavenizer) - i get 
 some class not found exceptions, because the dependencies in the pom are 
 not available in the mavenizer jar.

 The shade plugin assures, that the dependencies are packaged in the 
 mavenizer jar.


 Regards ;)

 Den mandag den 26. november 2012 21.49.02 UTC+1 skrev Christofer Dutz:

 @netphreak

 I will give the code a review as soon as I setup my write access to the 
 apache repo. But I think this is a good point ;-)
 After searching the entire code, I found that the compiler stuff is 
 indeed created using \ instead of the java platform neutral /. 
 I'll change that as soon as possible.

 Have to admit that I didn't quite get your point 1 ... I know that it 
 would be good to model out the dependencies of a jar in the compiler part, 
 unfortunately I don't have exact information on what jar file references 
 which other jar. Adobe did a lot of patching and hacking so this 
 information would have to be written manually. The only way I can do this 
 at the moment is to assume that if all jars of the compiler directory are 
 available at runtime, no CNFE should occur. I agree that this could cause 
 problems if one of the artifacts used in the Flex compiler are also used in 
 another plugin in the build. Then the classpath could get cluttered with 
 different versions of the same classes. The only real solution I currently 
 see would be a truely mavenized Flex compiler buid, but that's not going to 
 happen too soon.


 2012/11/26 netphreak sjeps...@gmail.com

 Hi, Christofer!

 Thanks for your hard work - it's much appreciated!!

 I've checked out your mavenizer project - and have identified a few 
 problems.

 1. 
 It think, that you need to package the pom jar dependencies into your 
 jar file, it can be done using the maven shade plugin, to avoid class not 
 found exceptions:
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-shade-plugin/artifactId
 executions
 execution
 phasepackage/phase
 goals
 goalshade/goal
 /goals
 /execution
 /executions
 configuration
 finalName${artifactId}-${version}/finalName
 /configuration
 /plugin

 2. I noticed, on OSX some folders are created in the FDKTarget:
 com\adobe\flex\compiler\rideau\4.6.0.23201
 com\adobe\flex\compiler\saxon9\4.6.0.23201...

 I suppose it should have been a set of nested folders?
 - I suggest you use the System.getProperty(file.separator), to ensure 
 you use a compatible directory separator, to be system agnostic..


 The SDKDeployer fails, i suppose, based on the folder structure error 
 described in point 2?


 Regards.



 Den fredag den 9. november 2012 11.15.54 UTC+1 skrev Christofer Dutz:

 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/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/flexmojoshttps://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 

Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-11-30 Thread Christofer Dutz
Well the plugin is built using maven and I currently get the 3 dependencies
from default repos. So as soon as the build ran, there should not be any
CNFEs. What classes is ist complaining about? I don't want to bundle third
party artifacts if this is not needed. And Apache explicitly prohibits this.

Chris

2012/11/27 netphreak sjepsenm...@gmail.com

 What i meant by point 1, was that your mavenizer tool uses two
 dependencies. When running the maven generated jar (the mavenizer) - i get
 some class not found exceptions, because the dependencies in the pom are
 not available in the mavenizer jar.


-- 
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] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-11-27 Thread netphreak
Hi, Christofer!

What i meant by point 1, was that your mavenizer tool uses two 
dependencies. When running the maven generated jar (the mavenizer) - i get 
some class not found exceptions, because the dependencies in the pom are 
not available in the mavenizer jar.

The shade plugin assures, that the dependencies are packaged in the 
mavenizer jar.


Regards ;)

Den mandag den 26. november 2012 21.49.02 UTC+1 skrev Christofer Dutz:

 @netphreak

 I will give the code a review as soon as I setup my write access to the 
 apache repo. But I think this is a good point ;-)
 After searching the entire code, I found that the compiler stuff is indeed 
 created using \ instead of the java platform neutral /. 
 I'll change that as soon as possible.

 Have to admit that I didn't quite get your point 1 ... I know that it 
 would be good to model out the dependencies of a jar in the compiler part, 
 unfortunately I don't have exact information on what jar file references 
 which other jar. Adobe did a lot of patching and hacking so this 
 information would have to be written manually. The only way I can do this 
 at the moment is to assume that if all jars of the compiler directory are 
 available at runtime, no CNFE should occur. I agree that this could cause 
 problems if one of the artifacts used in the Flex compiler are also used in 
 another plugin in the build. Then the classpath could get cluttered with 
 different versions of the same classes. The only real solution I currently 
 see would be a truely mavenized Flex compiler buid, but that's not going to 
 happen too soon.


 2012/11/26 netphreak sjeps...@gmail.com javascript:

 Hi, Christofer!

 Thanks for your hard work - it's much appreciated!!

 I've checked out your mavenizer project - and have identified a few 
 problems.

 1. 
 It think, that you need to package the pom jar dependencies into your jar 
 file, it can be done using the maven shade plugin, to avoid class not found 
 exceptions:
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-shade-plugin/artifactId
 executions
 execution
 phasepackage/phase
 goals
 goalshade/goal
 /goals
 /execution
 /executions
 configuration
 finalName${artifactId}-${version}/finalName
 /configuration
 /plugin

 2. I noticed, on OSX some folders are created in the FDKTarget:
 com\adobe\flex\compiler\rideau\4.6.0.23201
 com\adobe\flex\compiler\saxon9\4.6.0.23201...

 I suppose it should have been a set of nested folders?
 - I suggest you use the System.getProperty(file.separator), to ensure 
 you use a compatible directory separator, to be system agnostic..


 The SDKDeployer fails, i suppose, based on the folder structure error 
 described in point 2?


 Regards.



 Den fredag den 9. november 2012 11.15.54 UTC+1 skrev Christofer Dutz:

 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/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/flexmojoshttps://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/Homehttps://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 

Re: [flex-mojos] Re: Flexmojos 6.x + FDK Mavenizer finished

2012-11-26 Thread Christofer Dutz
Ok ... so I just setup my SVN access and fixed the path problem for the
compiler artifacts on non-windows machines. @netphreak ... could you please
give this a try? ... When updating the empty zip code I got 0-byte zips
instead of 22byte zips. The 22byte ones are actually real zip files, the
0byte ones not ... as I didn't get any problems, I didn't change any of
this code.


2012/11/26 Christofer Dutz christofer.d...@gmail.com

 @netphreak

 I will give the code a review as soon as I setup my write access to the
 apache repo. But I think this is a good point ;-)
 After searching the entire code, I found that the compiler stuff is indeed
 created using \ instead of the java platform neutral /.
 I'll change that as soon as possible.

 Have to admit that I didn't quite get your point 1 ... I know that it
 would be good to model out the dependencies of a jar in the compiler part,
 unfortunately I don't have exact information on what jar file references
 which other jar. Adobe did a lot of patching and hacking so this
 information would have to be written manually. The only way I can do this
 at the moment is to assume that if all jars of the compiler directory are
 available at runtime, no CNFE should occur. I agree that this could cause
 problems if one of the artifacts used in the Flex compiler are also used in
 another plugin in the build. Then the classpath could get cluttered with
 different versions of the same classes. The only real solution I currently
 see would be a truely mavenized Flex compiler buid, but that's not going to
 happen too soon.


 2012/11/26 netphreak sjepsenm...@gmail.com

 Hi, Christofer!

 Thanks for your hard work - it's much appreciated!!

 I've checked out your mavenizer project - and have identified a few
 problems.

 1.
 It think, that you need to package the pom jar dependencies into your jar
 file, it can be done using the maven shade plugin, to avoid class not found
 exceptions:
 plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-shade-plugin/artifactId
 executions
 execution
 phasepackage/phase
 goals
 goalshade/goal
 /goals
 /execution
 /executions
 configuration
 finalName${artifactId}-${version}/finalName
 /configuration
 /plugin

 2. I noticed, on OSX some folders are created in the FDKTarget:
 com\adobe\flex\compiler\rideau\4.6.0.23201
 com\adobe\flex\compiler\saxon9\4.6.0.23201...

 I suppose it should have been a set of nested folders?
 - I suggest you use the System.getProperty(file.separator), to ensure
 you use a compatible directory separator, to be system agnostic..


 The SDKDeployer fails, i suppose, based on the folder structure error
 described in point 2?


 Regards.



 Den fredag den 9. november 2012 11.15.54 UTC+1 skrev Christofer Dutz:

 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/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/flexmojoshttps://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/Homehttps://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