Yeah, I mentioned this some time ago:

http://apache-flex-development.2333347.n4.nabble.com/keep-generated-actionscript-error-td44093.html

Could this be the same case?

On Wed, May 20, 2015 at 6:55 PM, kevin.godell <kevin.god...@gmail.com>
wrote:

> I had a similar issue when making a simple tabbed navigator app and trying
> to use the keep actionscript arg on flash builder. Whenever I tried to
> compile, warnings popped up and I had to tell it to ignore the errors. The
> app still compiled and the actionscript was generated, but FB thought there
> was something wrong. I wasn't even using maven or flexmojos.
>
> On Wednesday, May 20, 2015, Alex Harui [via Apache Flex Development] <
> ml-node+s2333347n46762...@n4.nabble.com> wrote:
>
> > Chris,
> >
> > Is there a way to see what parameters are being passed to the compiler
> and
> > what the compiler’s other output is.  For me, the compiler usually says
> > something like:
> >
> > Loading configuration file <path to>/flex-config.xml
> >
> >
> > Also, can you reproduce this just by typing on the command line without
> > Maven/FlexMojos involved?
> >
> > -Alex
> >
> > On 5/20/15, 1:30 AM, "Christofer Dutz" <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=0>> wrote:
> >
> > >Ok now this is strange ... I added an example to the flexmojos examples.
> > >
> > >Unfortunately at first my totally stripped down demo compiled without
> > >problems. So I added all of my config options to flexmojos and got the
> > >same error. By taking away one option at a time I found out that I get
> > >that error as soon as I set to keep the generated ActionScript ... any
> > >Idea why?
> > >
> > >If I comment in the option to keep the generated actionscript, I get
> > this:
> > >INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf
> > >(default-compile-swf) @ simple-air ---
> > >[INFO] Flexmojos 7.1.0-SNAPSHOT
> > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > >Writing configuration dump to
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> >
> >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT-configs.xml
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> >
> >n/examples/mobile/simple-air/src/main/flex/SimpleAirMobileApplication.mxml
> >
> > >(22):  Error: Typ wurde nicht gefunden oder war keine
> > >Kompilierungszeit-Konstante: ViewNavigatorBase.
> > >
> > >        xmlns:s="library://ns.adobe.com/flex/spark">
> > >
> > >[INFO]
> > >------------------------------------------------------------------------
> > >[INFO] Reactor Summary:
> > >[INFO]
> > >[INFO] mobile ............................................. SUCCESS [
> > >0.106 s]
> > >[INFO] simple-air ......................................... FAILURE [
> > >2.734 s]
> > >[INFO]
> > >------------------------------------------------------------------------
> > >[INFO] BUILD FAILURE
> > >[INFO]
> > >------------------------------------------------------------------------
> > >
> > >If I comment it out, I get this:
> > >
> > >[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf
> > >(default-compile-swf) @ simple-air ---
> > >[INFO] Flexmojos 7.1.0-SNAPSHOT
> > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > >Writing configuration dump to
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> >
> >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT-configs.xml
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT.swf
> > >(2513851 bytes)
> > >[INFO]
> > >[INFO] --- maven-resources-plugin:2.7:testResources
> > >(default-testResources) @ simple-air ---
> > >[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> > >resources, i.e. build is platform dependent!
> > >[INFO] skip non existing resourceDirectory
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/src/test/resources
> > >[INFO]
> > >[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:test-compile
> > >(default-test-compile) @ simple-air ---
> > >[INFO] Flexmojos 7.1.0-SNAPSHOT
> > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > >[INFO] Skipping compiler, test source path doesn't exist.
> > >[INFO]
> > >[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:test-run
> > >(default-test-run) @ simple-air ---
> > >[INFO] Flexmojos 7.1.0-SNAPSHOT
> > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > >[INFO] Skipping test run. Runner not found:
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/target/test-classes
> > >[INFO]
> > >[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:sign-air
> > >(default-sign-air) @ simple-air ---
> > >[INFO] Flexmojos 7.1.0-SNAPSHOT
> > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > >[INFO]   completed 0 of 100
> > >[INFO]   completed 100 of 100
> > >[INFO]   AIR package created:
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT.air
> > >[INFO]
> > >[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:sign-air (default) @
> > >simple-air ---
> > >[INFO] Flexmojos 7.1.0-SNAPSHOT
> > >[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
> > >[INFO]   completed 0 of 100
> > >[INFO]   completed 100 of 100
> > >[INFO]   AIR package created:
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT.air
> > >[INFO]
> > >[INFO] --- maven-install-plugin:2.5.2:install (default-install) @
> > >simple-air ---
> > >[INFO] Installing
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT.air to
> >
> >/Users/christoferdutz/Maven-Repository/org/apache/flex/examples/mobile/sim
> >
> > >ple-air/1.0.0-SNAPSHOT/simple-air-1.0.0-SNAPSHOT.air
> > >[INFO] Installing
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/pom.xml to
> >
> >/Users/christoferdutz/Maven-Repository/org/apache/flex/examples/mobile/sim
> >
> > >ple-air/1.0.0-SNAPSHOT/simple-air-1.0.0-SNAPSHOT.pom
> > >[INFO] Installing
> >
> >/Users/christoferdutz/Projects/Apache/Flex/flex-utilities/maven-flex-plugi
> >
> > >n/examples/mobile/simple-air/target/simple-air-1.0.0-SNAPSHOT.swf to
> >
> >/Users/christoferdutz/Maven-Repository/org/apache/flex/examples/mobile/sim
> >
> > >ple-air/1.0.0-SNAPSHOT/simple-air-1.0.0-SNAPSHOT.swf
> > >[INFO]
> > >------------------------------------------------------------------------
> > >[INFO] Reactor Summary:
> > >[INFO]
> > >[INFO] mobile ............................................. SUCCESS [
> > >0.110 s]
> > >[INFO] simple-air ......................................... SUCCESS [
> > >18.229 s]
> > >[INFO]
> > >------------------------------------------------------------------------
> > >[INFO] BUILD SUCCESS
> > >[INFO]
> > >------------------------------------------------------------------------
> > >
> > >You can have a look at the code here:
> > >
> >
> https://github.com/apache/flex-utilities/tree/develop/maven-flex-plugin/ex
> > >amples/mobile/simple-air
> > >
> > >Chris
> > >
> > >________________________________________
> > >Von: Alex Harui <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=1>>
> > >Gesendet: Dienstag, 19. Mai 2015 20:51
> > >An: [hidden email] <http://
> /user/SendEmail.jtp?type=node&node=46762&i=2>
> > >Betreff: Re: AW: AW: Problems with TabbedViewNavigatorApplication?
> > >
> > >What is a code sample and what is the error?
> > >
> > >On 5/19/15, 11:49 AM, "Christofer Dutz" <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=3>> wrote:
> > >
> > >>Hi Alex,
> > >>
> > >>I'm currently using Air 14.0 so that shouldn't be too old.
> > >>I always assumed that I need the playerglobal OR the airglobal not both
> > >>and the Flexmojos code seems to support that assumption. The strange
> > >>thing is that even if I add a local variable of that type, still the
> > >>compiler is complaining about it missing that class.
> > >>
> > >>Chris
> > >>
> > >>-----Ursprüngliche Nachricht-----
> > >>Von: Alex Harui [mailto:[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=4>]
> > >>Gesendet: Dienstag, 19. Mai 2015 17:27
> > >>An: [hidden email] <http://
> /user/SendEmail.jtp?type=node&node=46762&i=5>
> > >>Betreff: Re: AW: Problems with TabbedViewNavigatorApplication?
> > >>
> > >>Hmm, could be, but I’d be a bit surprised.  I’ve never bothered to dump
> > >>the contents of an airglobal.  I just looked in an AIR SDK and see that
> > a
> > >>playerglobal.swc is bundled.  But when I look at the library paths for
> > >>compiling an AIR app, I don’t see any references to playerglobal.
> Could
> > >>you have picked up a very old airglobal (before there was Vector) or
> > what
> > >>actually is the problem with Vectors you are seeing?
> > >>
> > >>-Alex
> > >>
> > >>
> > >>On 5/19/15, 7:28 AM, "Christofer Dutz" <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=6>> wrote:
> > >>
> > >>>Ok so I found out that I seem to have to add playerglobal to my build.
> > >>>I was assuming that for air an airglobal would be enough, but there
> > >>>seem to be problems with Vectors. Don't quite know what's going wrong.
> > >>>
> > >>>In my flexmojos build it turned out that if I add the playerglobal
> > >>>after the airglobal, the playerglobal has no effect, but if I add the
> > >>>playerglobal in front of the airglobal, the classes of the airglobal
> > >>>are missing ... think I have to do a little digging here ... Any
> Ideas?
> > >>>
> > >>>Chris
> > >>>
> > >>>________________________________________
> > >>>Von: Christofer Dutz <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=7>>
> > >>>Gesendet: Dienstag, 19. Mai 2015 15:32
> > >>>An: [hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=46762&i=8>
> > >>>Betreff: Problems with TabbedViewNavigatorApplication?
> > >>>
> > >>>Hi,
> > >>>
> > >>>
> > >>>I'm currently whipping up a little Mobile application mainly testing
> > >>>the new maven fdks + new Flexmojos + new whatsoever :-)
> > >>>
> > >>>
> > >>>Now I wanted to use a TabbedViewNavigatorApplication as base of my
> > >>>application. But I seem to be getting:
> > >>>
> > >>>
> > >>> Error: Typ wurde nicht gefunden oder war keine
> > >>>Kompilierungszeit-Konstante: ViewNavigatorBase.?
> > >>>
> > >>>
> > >>>Well in english this must be something like:
> > >>>
> > >>>
> > >>> Error: Type was not found or wasn't a compile-time-constant:
> > >>>ViewNavigatorBase
> > >>>
> > >>>
> > >>>Well the ViewNavigatorBase class is there and I see the library being
> > >>>referenced in the config.xml
> > >>>
> > >>>I am using the mobile theme, if this could be causing the problem.
> > >>>
> > >>>
> > >>>Is there a problem in my FDKs?
> > >>>
> > >>>
> > >>>Chris
> > >>
> >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://apache-flex-development.2333347.n4.nabble.com/Problems-with-TabbedViewNavigatorApplication-tp46696p46762.html
> >  To start a new topic under Apache Flex Development, email
> > ml-node+s2333347n1...@n4.nabble.com
> > <javascript:_e(%7B%7D,'cvml','ml-node%2bs2333347n1...@n4.nabble.com');>
> > To unsubscribe from Apache Flex Development, click here
> > <
> http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=a2V2aW4uZ29kZWxsQGdtYWlsLmNvbXwxfDI1MDE5NDgwNQ==
> >
> > .
> > NAML
> > <
> http://apache-flex-development.2333347.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://apache-flex-development.2333347.n4.nabble.com/Problems-with-TabbedViewNavigatorApplication-tp46696p46772.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.
>

Reply via email to