Debug option removed.... if you wanna to create a debug swf just set
optimize to false.

VELO

On Wed, Mar 31, 2010 at 5:34 PM, Marvin Froeder <[email protected]> wrote:

> Odd...
>
>> C:\flex\flex_sdk_4.0.0.14159\lib>java -jar optimizer.jar -help advanced
>> list
>> Adobe Flex Compiler (optimizer)
>> Version 4.0.0 build 14159
>> Copyright (c) 2004-2009 Adobe Systems, Inc. Todos os direitos reservados.
>>
>>
>> -compiler.debug
>> -compiler.keep-as3-metadata [name] [...]
>> -help [keyword] [...]
>> -input <filename>
>> -load-config <filename>
>> -output <filename>
>> -version
>>
>
> It makes no sense IMO, but debug is there...
>
> I can drop it off, but flex compiler should be able to handle it.
>
>
> VELO
>
>
> On Wed, Mar 31, 2010 at 5:13 PM, alpduhuez <[email protected]> wrote:
>
>> Thanks Velo, those updates got the project compiling.  Thank you.
>>
>> Now the whole reason for this post. :)   I'm trying to use the 'create-
>> rsl' goal, but it is blowing up b/c -compiler.debug is not a param.  I
>> tried pulling it out cleanly but didn't work, I don't fully grok how
>> some stuff happens I guess.  So I just forcefully removed it in
>> DefaultFlexCompiler.optimize().  This worked & the build continues.
>>
>> :: Here is the stacktrace ::
>>
>> [DEBUG] Compilation arguments:
>> -input=/Users/brandon.lonac/Source/depot/Service/ui/java/projects/
>> Tsunami/short/flex/shell-core-interfaces/target/classes/original.swf
>> -output=/Users/brandon.lonac/Source/depot/Service/ui/java/projects/
>> Tsunami/short/flex/shell-core-interfaces/target/classes/optimized.swf
>> -load-config=
>> -compiler.debug=false
>> -compiler.keep-as3-metadata=Listener
>> command line: Error: unknown configuration variable 'compiler.debug'
>>
>> Use 'optimizer -help' for information about using the command line.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 19.855s
>> [INFO] Finished at: Wed Mar 31 13:09:45 PDT 2010
>> [INFO] Final Memory: 13M/506M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
>> plugin:4.0-SNAPSHOT:create-rsl (default-create-rsl) on project pl-
>> console-flex-shell-core-interfaces: Got 1 errors building project,
>> check logs -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-
>> SNAPSHOT:create-rsl (default-create-rsl) on project pl-console-flex-
>> shell-core-interfaces: Got 1 errors building project, check logs
>>         at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
>> 580)
>>         at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
>> 323)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
>>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
>>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
>> 39)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
>> 25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
>> 290)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
>> 230)
>>        at
>>
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
>> 409)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
>> 352)
>> Caused by: org.apache.maven.plugin.MojoFailureException: Got 1 errors
>> building project, check logs
>>        at
>>
>> org.sonatype.flexmojos.plugin.optimizer.AbstractOptimizerMojo.optimize(AbstractOptimizerMojo.java:
>> 248)
>>        at
>>
>> org.sonatype.flexmojos.plugin.optimizer.RSLCreatorMojo.optimize(RSLCreatorMojo.java:
>> 110)
>>        at
>>
>> org.sonatype.flexmojos.plugin.optimizer.AbstractOptimizerMojo.optimize(AbstractOptimizerMojo.java:
>> 302)
>>        at
>>
>> org.sonatype.flexmojos.plugin.optimizer.RSLCreatorMojo.execute(RSLCreatorMojo.java:
>> 78)
>>         at
>>
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
>> 105)
>>         at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
>> 576)
>>        ... 14 more
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Flex Mojos" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<flex-mojos%[email protected]>
>> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

To unsubscribe, reply using "remove me" as the subject.

Reply via email to