Hey Michael, I fixed this Task to actually work with OSX a while ago, but Simon's implementation of my changes somehow caused it not to work correctly. I believe that I mentioned this on this mailing list a while back too.
I've attached a JAR file of my changes that DO work. This is currently what we are working with at Scholastic and we haven't had any issues with it. Use the following tag to use it within your build.xml file: <taskdef name="unittest" classname="org.as2lib.ant.UnitTestForMacAndPC" classpath="jar/as2ant4MacAndPC.jar" /> *Notice that I changed the class name. Simon, we should try to work together to get a version that will work for everyone. Feel free to IM me to figure out the best way to do so. -Chris On 3/5/07, Michael <[EMAIL PROTECTED]> wrote:
There's some stuff in the history on this list about getting the UnitTest task to work on OSX - seems like it should work now, but unfortunately I'm having problems. These manifest as follows: No messages show up in the console after the swf is launched ( i.e. it stops at [mtasc] Compiling 1 source file. [mtasc] /Users/michaelforrest/workspac... [unittest] open "/Users/michaelforrest/work... [unittest] - ). When the swf is closed, the server doesn't get stopped, and the [terminate] button has to be pressed in order to launch another unit test or I get " Error on starting server". However, when the server is supposedly running and I run netstat, I don't see any servers running on port 3212. I'm running the bundled version of Java ( java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing) ). I've tried the trunk version of as2ant, as well as the jar from this email http://osflash.org/pipermail/osflash_osflash.org/2006-August/010528.html Any ideas? Cheers Michael _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
as2ant4MacAndPC.jar
Description: Binary data
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
