The problem only happen with this other font manager? It can be bugged.... You can try to debug AFEFontManager to figure out what is going on.
Looks like it is a bug on flex SDK, I searched on bugs.adobe.com but nothing.... VELO On Fri, Jun 26, 2009 at 6:09 AM, peja <[email protected]> wrote: > > I also tried to use absolute font paths - does not work. Since I am > still getting the "No FontManager provided" error message, maybe it is > a classpath problem for the stuff I manually added to my repo (flex- > fontkit, afe, aglj32) - which actually contains the FontManager class. > > Thanks, > Peter > > On 26 Jun., 09:32, peja <[email protected]> wrote: > > I moved the fonts folder into src/main/resources (also added it to the > > srcPath) but it did not work. I also ran the flex mojos plugin with a > > debugger - the configuration which is passed to the flex compiler > > looks perfectly ok, but then it (FontManager) fails with the message > > above. It looks like the flex compiler tries to build on the level of > > the parent pom - and thus does not see the standard directory > > structure (src/main/flex). > > > > So far the workaround will be: set up a new Flex project and compile > > the fonts into an own artifact. > > > > Any more ideas about what I can try? > > > > Thanks, > > Peter > > > > On 25 Jun., 18:46, Marvin Froeder <[email protected]> wrote: > > > > > Launching TestRunner.swf manually won't work.... it does need to > connect > > > into a socket launched by maven. > > > Well, don't know what is going on there: > > > > > > Embedded error: CreateProcess: FlashPlayer.exe > > > > C:\T2MDev\T2MWorkspace\t2mFlexLib\target\test-classes\TestRunner.swf > error=2 > > > > > Some error happen when flexmojos try to launch flashplayer..... > > > > > Run mvn with -X and check if anything useful is printed on command > line. > > > > > VELO > > > > > On Thu, Jun 25, 2009 at 1:36 PM, Van Anh Nguyen < > > > > > [email protected]> wrote: > > > > Yeah, sorry, I was falling asleep on my desk so I didn't know what I > was > > > > saying... yes, I did launch flashplayer.exe in the cmd line prompt... > I ran > > > > TestRunner.swf with it but i got error #2044 > > > > > > Error #2044: Unhandled IOErrorEvent:. text=Error #2031: Socket Error. > > > > at > > > > > org.sonatype.flexmojos.unitestingsupport::ControlSocket/connect()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/ControlSocket.as:37] > > > > at > > > > > org.sonatype.flexmojos.unitestingsupport::TestApplication/runTests()[/home/hudson/workspace/flex-mojos/jdk/1.5/label/ubuntu/trunk/flexmojos-testing/flexmojos-unittest-support/src/main/flex/org/sonatype/flexmojos/unitestingsupport/TestApplication.as:39] > > > > at flash.events::EventDispatcher/dispatchEventFunction() > > > > at flash.events::EventDispatcher/dispatchEvent() > > > > at > > > > > mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] > > > > at mx.core::UIComponent/set > > > > > initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] > > > > at > > > > > mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] > > > > at Function/http://adobe.com/AS3/2006/builtin::apply() > > > > at > > > > > mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] > > > > at > > > > > mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568] > > > > > > I tried running other projects with it, it worked fine... I'm very > new to > > > > this as this is the first time I do anything with flex or flexUnit... > > > > > > Thanks for the help... I think I'm in the wrong blog of discussion. > > > > Vân Anh > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
