We have a situation where we're running unit tests which test the
runtime loading of modules using the flexmojos:test-run goal.  We
noticed that the maven.cfg, in the Flash Player trust directory, only
contains the full paths to the TestRunner.swf files.  Our tests are
unable to pass because the TestRunner.swf requires a "local trusted"
security sandbox to access the modules before they are loaded from
disk.  We could change the local security sandbox to "local-
filesystem" by changing the compiler flag "use-network=false", but
then potential integration tests which require resources from the
network and the file system would fail.  Ideally we need a way to have
a "local trusted" security sandbox available for a directory when our
unit tests run.

Is it possible to change the path written to the maven.cfg file to be
to the test-classes directory (w/o the trailing slash) rather than the
path to the TestRunner.swf?  Could FM offer a configuration option
within the test-run goal to set what path to write to maven.cfg to
establish a "local trusted" security sandbox?  Is this is feasible for
the 3.4-SNAPSHOT?

-Brian
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---

Reply via email to