Oh, you're about 3 hours ahead of me. I'm in Santa Clara, California. With your latest change, I don't see caching/rsl libraries in external- library-path anymore. All compile arguments looked nice and clean now. However, when I loaded the swf, the modules were not loaded. I hope it's not another SDK bug since this version (3.4) should have the module loading bug fixed. Strange thing is that when the caching/rsl libraries were actually merged, the modules were loaded fine. I'm investigating what's the cause.
Thank you very much for your help! Flexmojos is awesome! Jian On Sep 4, 11:25 am, Marvin Froeder <[email protected]> wrote: > Well, you assumed we live on the same time zone, right?! But no, we are not, > and I doubt we are even on the same earths hemisphere. I live on south of > Brazil, same line as Argentina, but I live closer to the ocean. > > I did change staticLinkRuntimeSharedLibraries default value to false... > > Do you think I must revert the external option too? > > VELO > > On Fri, Sep 4, 2009 at 3:19 PM, JL <[email protected]> wrote: > > > Wow, you started working at 4:30am?! > > > I used SDK 3.4.0.9271 and flexmojos 3.4-SNAPSHOT. I didn't set > > staticLink argument. > > > The exception (Class mx.core::Application could not be found) > > indicated that the framework library was not loaded properly. That > > made me think it might have something to do with the external-library- > > path argument. If a library is listed in external-library-path, it > > will be compiled as external library even there's also a -runtime- > > shared-library-path argument specified for the library. This might be > > a bug in Flex compiler cause you would think that -runtime-shared- > > library-path settings should overwrite the settings in library-path > > and external-library-path, etc. Now, I'm wondering if you can change > > the flexmojos to not put caching/rsl libraries in external-library- > > path? With your fix last night, caching/rsl libraries are no longer > > in library-path. > > > Thank you very much! > > > Jian > > > On Sep 4, 4:33 am, Marvin Froeder <[email protected]> wrote: > > > Weird, the application should be on RSL/CACHING..... > > > FDK 3.3 or 3.4? Did you set staticLink to true or false? > >http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw... > > > > <http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw.. > > .>Could > > > you try both values? > > > > Marie von Ebner-Eschenbach< > >http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac....> > > > - "Even a stopped clock is right twice a day." > > > > On Fri, Sep 4, 2009 at 12:41 AM, JL <[email protected]> wrote: > > > > > Now the caching/rsl libraries are not in -compiler.library-path > > > > anymore. However, they appeared in -compiler.external-library-path. - > > > > runtime-shared-library-path were also created. > > > > > Now the problem is that once the swf is loaded, I got the following > > > > exception. I don't know if it has anything to do with the external- > > > > library-path? > > > > > VerifyError: Error #1014: Class mx.core::Application could not be > > > > found. > > > > > at flash.display::MovieClip/nextFrame() > > > > at mx.managers::SystemManager/deferredNextFrame() > > > > at mx.managers::SystemManager/preloader_initProgressHandler() > > > > at flash.events::EventDispatcher/dispatchEventFunction() > > > > at flash.events::EventDispatcher/dispatchEvent() > > > > at mx.preloaders::Preloader/timerHandler() > > > > at flash.utils::Timer/_timerDispatch() > > > > at flash.utils::Timer/tick() > > > > > Thank you very much! > > > > > On Sep 3, 8:17 pm, JL <[email protected]> wrote: > > > > > I will test it now, thank you very much! > > > > > > On Sep 3, 8:11 pm, Marvin Froeder <[email protected]> wrote: > > > > > > > Hey JL, > > > > > > I just did a change on flexmojos 3.4 that may help you with this > > flex > > > > 3.4 > > > > > > problems.... > > > > > > > Try it and lemme know? > > > > > > > Jonathan Swift< > > > >http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> > > > > > > - "May you live every day of your life." > > > > > > > On Thu, Sep 3, 2009 at 10:48 PM, JL <[email protected]> wrote: > > > > > > > > Sorry for the slow response. I was interrupted so many times > > while > > > > > > > working on this issue. > > > > > > > > I tested compiler 3.3.0.4852, and flexmojos 3.3.0. Regarding the > > > > > > > compiler arguments, it also generated -compiler.library-path with > > > > > > > caching/rsl libraries and -runtime-shared-library-path arguments > > for > > > > > > > each of the caching/rsl libraries. However, the size of the > > generated > > > > > > > swf file was reduced a lot. Did that indicate that, if the > > compiler > > > > > > > worked correctly, a library should be compiled as rsl as long as > > it's > > > > > > > in -runtime-shared-library-path. It does matter even the library > > > > also > > > > > > > appears in -compiler.library-path? > > > > > > > > Thank you! > > > > > > > JL > > > > > > > > On Sep 3, 4:29 pm, Marvin Froeder <[email protected]> wrote: > > > > > > > > What is going on that you can't download deps? > > > > > > > > VELO > > > > > > > > > Mike Ditka < > > > >http://www.brainyquote.com/quotes/authors/m/mike_ditka.html> > > > > > > > - > > > > > > > > "If God had wanted man to play soccer, he wouldn't have given > > us > > > > arms." > > > > > > > > > On Thu, Sep 3, 2009 at 7:51 PM, JL <[email protected]> wrote: > > > > > > > > > > I'm trying to use 3.3.0.4852. However, I'm still struggling > > to > > > > get all > > > > > > > > > files downloaded from the repository. > > > > > > > > > > I'll let you know as soon as I get some clue. > > > > > > > > > > Thank you very much and enjoy your independence day weekend! > > > > > > > > > > JL > > > > > > > > > > On Sep 3, 2:47 pm, Marvin Froeder <[email protected]> wrote: > > > > > > > > > > Hrm, I knew there was a bug on some maven version (2.2.1 or > > > > similar) > > > > > > > when > > > > > > > > > it > > > > > > > > > > generate or download checksum, not sure right know, anyway > > I > > > > set > > > > > > > nexus to > > > > > > > > > > rebuild maven metadata. > > > > > > > > > > Ok, I understand you must use 3.4, but can't you give 3.3 a > > > > shot, so > > > > > > > we > > > > > > > > > know > > > > > > > > > > if that is somehow related or if it is an urgent bug that > > must > > > > be > > > > > > > fixed? > > > > > > > > > > This weekend is independency day over here, and I do plan > > > > loots of > > > > > > > beer > > > > > > > > > and > > > > > > > > > > beach =D > > > > > > > > > > > Stephen Leacock< > > >http://www.brainyquote.com/quotes/authors/s/stephen_leacock.html> > > > > > > > > > > - "I detest life-insurance agents: they always argue that I > > > > shall > > > > > > > some > > > > > > > > > > day > > > > > > > > > > die, which is not so." > > > > > > > > > > > On Thu, Sep 3, 2009 at 6:40 PM, JL <[email protected]> > > wrote: > > > > > > > > > > > > Marvin, > > > > > > > > > > > > Thank you very much for replying! > > > > > > > > > > > > I need to use 3.4.9271 because this is the latest > > production > > > > > > > release > > > > > > > > > > > and it fixed a module-related bug. > > > > > > > > > > > > I was assuming that maven constructed the compile > > arguments > > > > like - > > > > > > > > > > > compiler.library-path. The caching/rsl libraries were > > > > mistakenly > > > > > > > put > > > > > > > > > > > in -compiler.library-path by maven. If true, this issue > > > > should > > > > > > > have > > > > > > > > > > > nothing to do with the flex SDK. Please correct me if > > I''m > > > > wrong. > > > > > > > > > > > > I could try another version. BTW, downloading flexmojos > > and > > > > > > > related > > > > > > > > > > > libraries from the repository ( > > > > > > >http://repository.sonatype.org/content/ > > > > > > > > > > > groups/flexgroup) is hard because there's a lot CHECKSUM > > > > failures > > > > > > > on > > > > > > > > > > > files that is over 1M. > > > > > > > > > > > > Thank you very much, > > > > > > > > > > > > Jian > > > > > > > > > > > > On Sep 3, 1:58 pm, Marvin Froeder <[email protected]> > > wrote: > > > > > > > > > > > > Could you try other flex SDK version? So far I had saw > > lots > > > > of > > > > > > > creepy > > > > > > > > > > > bugs > > > > > > > > > > > > on 3.4 > > > > > > > > > > > > > Ogden Nash < > > > > > > > > >http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> > > > > > > > > > > > - > > > > > > > > > > > > "The trouble with a kitten is that when it grows up, > > it's > > > > always > > > > > > > a > > > > > > > > > cat." > > > > > > > > > > > > > On Thu, Sep 3, 2009 at 5:03 PM, JL <[email protected] > > > > > wrote: > > > > > > > > > > > > > > Gurus, > > > > > > > > > > > > > > I was trying to use caching on framework, rpc and > > > > > > > > > datavisualization, > > > > > > > > > > > > > use rsl on other libraries like degrafa.swc. > > However, > > > > the size > > > > > > > of > > > > > > > > > the > > > > > > > > > > > > > generated swf file was not reduced. Then in the > > trace, I > > > > saw > > > > > > > all > > > > > > > > > > > > > those libraries were still listed in the > > > > -compiler.library-path > > > > > > > > > > > > > argument. On the other hand, there's also > > > > > > > -runtime-shared-library- > > > > > > > > > > > > > path arguments for each of the libraries. > > > > > > > > > > > > > > I was using flexmojos-maven-plugin version > > 3.4-SNAPSHOT > > > > and > > > > > > > flex > > > > > > > > > > > > > compiler version 3.4.0.9271. > > > > > > > > > > > > > > The plugin config in pom.xml was like: > > > > > > > > > > > > > > <dependency> > > > > > > > > <groupId>com.adobe.flex.framework</groupId> > > > <artifactId>framework</artifactId> > > > > > > > > > > > > > <version>3.4.0.9271</version> > > > > > > > > > > > > > <type>swc</type> > > > > > > > > > > > > > <scope>caching</scope> > > > > > > > > > > > > > </dependency> > > > > > > > > > > > > > <dependency> > > > > > > > > <groupId>com.adobe.flex.framework</groupId> > > > <artifactId>framework</artifactId> > > > > > > > > > > > > > <version>3.4.0.9271</version> > > > > > > > > > > > > > <type>rb.swc</type> > > > > > > > > > > > > > </dependency> > > > > > > > > > > > > > <dependency> > > ... > > read 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] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
