test-swf will include as internal all dependencies with scope test.

VELO

On Jun 25, 4:36 pm, Richard Rodseth <[email protected]> wrote:
> Aha! I added  scope internal to the MonkeyLink dependency.
>
>          <dependency>
>                   <groupId>com.gorillalogic</groupId>
>                   <artifactId>monkeylink</artifactId>
>                   <version>5-4-2010-flex3.5</version>
>                   <type>swc</type>
>                   <scope>internal</scope>
>                 </dependency>
>
> But then I get an error a load time, followed by an alert saying the
> automation manager does not appear to be present.
> So I do wonder if test-swf goal is working correctly, or if I am using it
> correctly.
> Has anyone used it successfully?
>
> TypeError: Error #1009: Cannot access a property or method of a null object
> reference.
>     at com.gorillalogic.monkeylink::MonkeyLink/startLink()
>     at MethodInfo-6841()
>     at flash.events::EventDispatcher/dispatchEventFunction()
>     at flash.events::EventDispatcher/dispatchEvent()
>     at mx.managers::SystemManager/preloader_preloaderDoneHandler()
>     at flash.events::EventDispatcher/dispatchEventFunction()
>     at flash.events::EventDispatcher/dispatchEvent()
>
> On Fri, Jun 25, 2010 at 12:08 PM, Richard Rodseth <[email protected]>wrote:
>
> > I'm having similar problems as my colleague.
>
> > I can get the green dot in FlexMonkey if I build and run the application in
> > Flashbuilder, with the following compiler options:
>
> > -locale en_US  -source-path=../locale/{locale} -define=BUILD::buildNumber,0
> > -define=BUILD::timestamp,0 -define=CONFIG::debug,true -include-libraries
> > "../libs/automation_monkey.swc" -include-libraries
> > "${flexlib}/libs/automation.swc" -include-libraries
> > "${flexlib}/libs/automation_agent.swc"  -include-libraries
> > "${flexlib}/libs/automation_dmv.swc"
>
> > But if I use the flex-mojos generated SWF I don't see the green dot.
> > I have uploaded the monkeylink libary to Artifcatory, and added the
> > dependency to my pom.
>
> >                 <dependency>
> >                   <groupId>com.gorillalogic</groupId>
> >                   <artifactId>monkeylink</artifactId>
> >                   <version>5-4-2010-flex3.5</version>
> >                   <type>swc</type>
> >                 </dependency>
>
> > I have added the following to the POM and do in fact get SWF with "-test"
> > appended to the name.
>
> >                    <executions>
> >                        <execution>
> >                            <goals>
> >                                <goal>test-swf</goal>
> >                            </goals>
> >                        </execution>
> >                    </executions>
>
> > Could it be a licensing issue?
> > Is there a tool I can use to verify that the SWF has the necessary libaries
> > included?
>
> > Thanks for any suggestions. We are struggling.
>
> > On Fri, Jun 25, 2010 at 9:31 AM, Comet <[email protected]> wrote:
>
> >> So I edited my POM file according to
>
> >>http://groups.google.com/group/flex-mojos/browse_frm/thread/8df5bc420...
> >> and got a bunch of errors saying libraries not found from either my
> >> company private repository nor the flexmojo one.  So this makes me
> >> wonder where compiler gets the dependencies from when building swf
> >> file using the test-swf goal?
>
> >> --
> >> 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/

Reply via email to