I found a solution but I'm not sure why it works. Actually I added
<keepGeneratedActionscript>true</keepGeneratedActionscript> in the
pom.xml and now the compilation works fine

On 12 mai, 10:16, Julien Ripault <tlua...@gmail.com> wrote:
> I traced the error and it occurs in AbstractFlexCompilerMojo.java in
> the method build at the line 2473
>  bytes = builder.build( incremental );
>
> At the end of the method, there is a test
> if ( bytes == 0 )
> {
>   throw new MojoExecutionException( "Error compiling!");
>
> }
>
> Exception that I get in the console when I do mvn install -e
>
> the builder is a flex2.tools.oem.Application but I can't get further.
>
> On 11 mai, 22:55, Marvin Froeder <velo...@gmail.com> wrote:
>
>
>
>
>
> > The it is an issue with your machine....
>
> > On Tue, May 11, 2010 at 1:17 PM, Julien Ripault <tlua...@gmail.com> wrote:
> > > And now IDEA does it too :(
>
> > > I will try to trace the error and see if it is a file that's causing
> > > this
>
> > > On 11 mai, 18:03, Marvin Froeder <velo...@gmail.com> wrote:
> > > > I can't reproduce it, unless you can point the problem out and a fix,
> > > there
> > > > is nothing I can do.
>
> > > > VELO
>
> > > > On Tue, May 11, 2010 at 12:40 PM, Julien Ripault <tlua...@gmail.com>
> > > wrote:
> > > > > I tried to remove all the content of my repository to let maven
> > > > > redownload it all. And when I run the mvn install, it begins to
> > > > > compile, indicates some warning in my code and then boom, it displays
> > > > > the error.
>
> > > > > On 11 mai, 17:25, Marvin Froeder <velo...@gmail.com> wrote:
> > > > > > No idea what intellij does, but make sure your jars aren't 
> > > > > > corrupted.
>
> > > > > > VELO
>
> > > > > > On Tue, May 11, 2010 at 12:06 PM, Julien Ripault <tlua...@gmail.com>
> > > > > wrote:
> > > > > > > Hi,
>
> > > > > > > I'm copiling a Flex 4 (4.0.0.14159) project with FlexMojos 3.6.1.
> > > > > > > Normally I do it using Intellij IDEA based on the configuration
> > > > > > > generated via the pom.xml and everything works like a charm. But 
> > > > > > > if
> > > I
> > > > > > > do it manually via a command console : mvn install, I get this :
> > > > > > > macromedia.asc.parser.InputBuffer cannot be cast to
> > > > > > > flex2.compiler.as3.CodeFragmentsInputBuffer
>
> > > > > > > I've found nothing on Google. The compilation with IDEA is based 
> > > > > > > on
> > > > > > > the compiler present in my m2 repository so I don't really
> > > understand
> > > > > > > why it doesn't work.
>
> > > > > > > has someone got this error ?
>
> > > > > > > Regards
>
> > > > > > > --
> > > > > > > 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<flex-mojos%2bunsubscr...@googlegrou
> > > > > > >  ps.com>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > > > <flex-mojos%2bunsubscr...@googlegrou ps.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<flex-mojos%2bunsubscr...@googlegrou
> > > > > >  ps.com>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.com>
> > > > > > For more options, visit this group athttp://
> > > > > 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<flex-mojos%2bunsubscr...@googlegrou
> > > > >  ps.com>
> > > <flex-mojos%2bunsubscr...@googlegrou ps.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<flex-mojos%2bunsubscr...@googlegrou
> > > >  ps.com>
> > > > For more options, visit this group athttp://
> > > 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<flex-mojos%2bunsubscr...@googlegrou
> > >  ps.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 
> > athttp://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 athttp://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/

Reply via email to