qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

showWarnings option seems to have no effect #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have specified the shownWarnings option in my plugin config as follows

    <plugin>
        <groupId>info.flex-mojos</groupId>
        <artifactId>flex-compiler-mojo</artifactId>
        <version>2.0M10</version>
        <extensions>true</extensions>
        <configuration> 
                  <targetPlayer>9.0.124</targetPlayer>
                  <showWarnings>false</showWarnings>            
                </configuration>
    </plugin>

But I still get all kinds of warnings

Original issue reported on code.google.com by dirk.din...@gmail.com on 9 Dec 2008 at 4:27

GoogleCodeExporter commented 9 years ago
Dirk, can you send me your console output?

VELO

Original comment by velo...@gmail.com on 10 Jan 2009 at 2:03

GoogleCodeExporter commented 9 years ago
No user feedback

Original comment by velo...@gmail.com on 21 Jan 2009 at 7:04

GoogleCodeExporter commented 9 years ago
I tried to turn of the warnings too in the same manner, but nope. Doesn't work 
indeed.
<plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>3.2.0</version>
        <configuration>
           <showWarnings>false</showWarnings>
        </configuration>
        <extensions>true</extensions>
      </plugin>

Here's my output:

[INFO] [flexmojos:compile-swf]
[INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[WARNING] Source file was not defined, flexmojos will guess one.
[WARNING] Unable to find license.jar on classpath. Check wiki for instructions 
about
how to add it:
   https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.3
[INFO] Flex compiler configurations:
-compiler.accessible=false
-compiler.actionscript-file-encoding UTF-8
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=false
-compiler.es=false
-compiler.external-library-path
G:\temp\cn\core\admin\target\classes\libraries\playerglobal.swc
-compiler.fonts.local-fonts-snapshot 
G:\temp\cn\core\admin\target\classes\fonts.ser
-compiler.headless-server=false
-compiler.include-libraries=
-compiler.keep-all-type-selectors=false
-compiler.keep-generated-actionscript=false
-compiler.library-path G:\temp\cn\core\common-flex\target\credelnet2.swc
C:\NTUSER\.m2\repository\co
m\adobe\flex\sdk\datavisualization\3.2.0.3958\datavisualization-3.2.0.3958.swc
C:\NTUSER\.m2\reposit
ory\com\adobe\flex\framework\flex\3.2.0.3958\flex-3.2.0.3958.swc
C:\NTUSER\.m2\repository\com\adobe\
flex\framework\framework\3.2.0.3958\framework-3.2.0.3958.swc
C:\NTUSER\.m2\repository\com\adobe\flex
\framework\rpc\3.2.0.3958\rpc-3.2.0.3958.swc
C:\NTUSER\.m2\repository\com\adobe\flex\framework\utili
ties\3.2.0.3958\utilities-3.2.0.3958.swc
G:\temp\cn\core\common-portal\target\credelnet2.swc G:\temp
\cn\core\common-remotelayer\target\credelnet2.swc
C:\NTUSER\.m2\repository\com\ducroire\flex\compone
nts\money\1.0\money-1.0.swc
C:\NTUSER\.m2\repository\com\asfusion\mate\0.8.8.1\mate-0.8.8.1.swc C:\N
TUSER\.m2\repository\com\adobe\flex\extras\autocomplete\1.0\autocomplete-1.0.swc
C:\NTUSER\.m2\repos
itory\com\adobe\flex\framework\framework\3.2.0.3958\framework-3.2.0.3958-en_US.r
b.swc
C:\NTUSER\.m2\
repository\com\adobe\flex\framework\framework\3.2.0.3958\framework-3.2.0.3958-fr
_FR.rb.swc
C:\NTUSER
\.m2\repository\com\adobe\flex\framework\framework\3.2.0.3958\framework-3.2.0.39
58-nl_NL.rb.swc
C:\N
TUSER\.m2\repository\com\adobe\flex\framework\framework\3.2.0.3958\framework-3.2
.0.3958-de_DE.rb.swc
 C:\NTUSER\.m2\repository\com\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958-en_US.rb.swc C:\NTU
SER\.m2\repository\com\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958-fr_FR.
rb.swc C:\NTUSER\.m2
\repository\com\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958-nl_NL.rb.swc
C:\NTUSER\.m2\reposi
tory\com\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958-de_DE.rb.swc
C:\NTUSER\.m2\repository\co
m\adobe\flex\sdk\datavisualization\3.2.0.3958\datavisualization-3.2.0.3958-en_US
.rb.swc
C:\NTUSER\.m
2\repository\com\adobe\flex\sdk\datavisualization\3.2.0.3958\datavisualization-3
.2.0.3958-fr_FR.rb.s
wc
C:\NTUSER\.m2\repository\com\adobe\flex\sdk\datavisualization\3.2.0.3958\datavis
ualization-3.2.0.
3958-nl_NL.rb.swc
C:\NTUSER\.m2\repository\com\adobe\flex\sdk\datavisualization\3.2.0.3958\datavis
ua
lization-3.2.0.3958-de_DE.rb.swc
-compiler.locale en_US fr_FR nl_NL de_DE
-compiler.namespaces.namespace http://www.adobe.com/2006/mxml
G:\temp\cn\core\admin\target\classes\c
onfigs\mxml-manifest.xml
-compiler.optimize=true
-compiler.source-path G:\temp\cn\core\admin\src\main\flex
G:\temp\cn\core\admin\src\main\resources\l
ocale\{locale}
-compiler.strict=true
-compiler.use-resource-bundle-metadata=true
-compiler.verbose-stacktraces=false
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
-licenses.license flexbuilder3 137740069800258468166253
-licenses.license flexbuilder3.displayedFirstLaunchMessage true
-licenses.license flexbuilder3.displayedStartPageAtLeastOneTime true
-load-externs
C:\NTUSER\.m2\repository\com\ducroire\credelnet\client-portal\1.0-SNAPSHOT\clien
t-port
al-1.0-SNAPSHOT-link-report.xml
-metadata.date Tue Aug 04 12:17:34 CEST 2009
-target-player 9.0.0
-use-network=true
-verify-digests=true -load-config=
[WARNING]
G:\temp\cn\core\admin\src\main\flex\com\ducroire\credelnet\admin\model\enum\Stat
usRelation
s.as:[6,18] No constructor function was specified for class StatusRelations.   
public class StatusR
elations {
[WARNING]
G:\temp\cn\core\admin\src\main\flex\com\ducroire\credelnet\admin\model\enum\User
RoleTypeRe
lations.as:[6,18] No constructor function was specified for class
UserRoleTypeRelations.    public c
lass UserRoleTypeRelations {

and a lot more warnings!
And I really want to get rid of them.

Thanks!

Original comment by steven.r...@gmail.com on 4 Aug 2009 at 10:38