Commit Graph

18 Commits

Author SHA1 Message Date
Jamie Doornbos d7a8cf4518 Cleaned up abc build using flexTasks.jar
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5124 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-23 05:44:15 +00:00
Michael Bayne da9d8701c2 Sometimes my mind drifts away and forgets that I live in a world where I have
to write everything in two languages, and now have to take special care that
things written in one of those languages works properly in a wholly separate
and somewhat limited deployment environment. Ah such sweet forgetting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5119 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-22 14:12:10 +00:00
Par Winzell dbd1d92acc We've got asc.jar in extlibs now, use it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 16:56:05 +00:00
Par Winzell cbc7d7b007 New thane.abc version, add ObjectMarshaller to the list of compiled-in classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-11 21:45:24 +00:00
Par Winzell a3d1884340 More ugly changes because of Tamarin's immaturity. We're switching to the 'Main' frontend of ASC, which means we have to manually arrange the etc/asc-files.txt lines in the correct dependency order. This compiler also lacks an -outdir options, so we have to do a ridiculous <move> at the end.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5070 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 23:07:33 +00:00
Jamie Doornbos 10b282ce65 Added the bureau to the asc build
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5056 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:27:19 +00:00
Ray Greenwell 45c6def0bc We need verbosity now.
Maybe I'll screw around with passing properties down to sub-projects to
control their stack trace verbosity when I'm not sick.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5047 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-07 21:51:17 +00:00
Par Winzell b174219540 We now build a subset of Narya for execution on Tamarin, the server-side AS3 VM.
- We use the ASC compiler, which works quite differently from compc/mxmlc. It doesn't attempt any mapping between class hierarchy and directory structure. You feed it source, that's it. This compiler is under continuous development, and the one shipped in Flex SDK 3 is buggy, so we supply our own in lib/asc.jar for the time being.
 - Since much of Narya relies on classes that don't exist on Tamarin (e.g. DisplayObject), we have to isolate a specific subset of source. Right now that's done ridiculously explicitly as a list of class files, in etc/asc-files.txt. In the long run we will want to resolve this more elegantly, but there are no trivial solutions at hand.
 - We have not implemented the full flash.utils.describeType() for Tamarin, but rather a subset of its functionality: one method to see if one type derives from another, and another method to extract the public variable names in an object. The environment-specific code has been isolated to com.threerings.util.env.Environment, and build.xml simply copies either Environment.as-tm or Environment.as-fp into place depending on what it's targeting.
 - The ASC compilation links against lib/builtin.abc, which supplies information about core classes such as Object, Array, etc, and lib/thane.abc which is our homegrown emulation library containing e.g. flash.net.Socket and other things we need that's not part of the open-source code Adobe donated to Mozilla, but rather still in their proprietary Flash Player code.

I'm committing thane.abc and builtin.abc directly now, but they will shortly be built by the Thane project and published as maven whatnots. We could auto-publish lib/asc.jar too, but I think we may want more explicit control over how we version that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5045 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-07 15:33:07 +00:00
Ray Greenwell 4f0d94df11 Whoopsie, we want to build against flex, not link it in.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4951 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-03-04 04:55:15 +00:00
Ray Greenwell 32354987f2 Updated for flex 3.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4944 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-02-22 22:40:51 +00:00
Michael Bayne 4bb7a2f6a3 Build our Flash libraries like we build our Java libraries.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-02-18 18:33:25 +00:00
Michael Bayne aa10f80b16 Bring on the Googley goodness. There may be build breakage as we find all the
projects that use Narya and now need google-collect.jar but it had to be done.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-11-02 23:10:06 +00:00
Michael Bayne 30cb0b6122 Use junit4.jar.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4820 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-08-28 20:26:04 +00:00
Michael Bayne 839aaf05dd Nix whole depends business. We can reinstate it if we ever again need it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4784 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-26 20:17:31 +00:00
Par Winzell 9aaf4de2b5 Depot is always built, now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4781 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-26 20:00:48 +00:00
Par Winzell 1ea3195551 Add genrecord task and Depot dependency test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4755 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-11 23:29:30 +00:00
Michael Bayne dac3462f20 Sneaky sneaky.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-07 18:59:58 +00:00
Michael Bayne df9f13afa6 Move libs-incl.xml into etc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-06 00:34:06 +00:00