Jamie Doornbos
3940a13e32
Preparing narya abc for mavenification: renamed naryalib.abc to narya-abc.abc so artifactId does not conflict. Also fixed narya-dist to include bureau classes and swapped in new hard-wired avmthane for test client target.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5114 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-21 23:39:35 +00:00
Par Winzell
5f32756b0a
Use the new asc.jar here too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5094 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 16:57:22 +00:00
Jamie Doornbos
d63fd40f74
Narya test targets (bureau fixes)
...
* Fixed misspelled "port" parameter
* Added check targets to prevent overwrite of executing file
* Tuned test parameters to try to capture logon failure
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 23:29:39 +00:00
Jamie Doornbos
c2a7e52626
Updated the testslib target to use Main compiler, added the actual test client code, implemented the target to run the thane test client, tweaked the tester options to run thane and go nice and slow (one operation every 3 seconds and only one instance)
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-10 00:57:22 +00:00
Par Winzell
993ae240b3
ScriptCompiler croaks and dies on this, let's try Main. I think we're going to end up writing our own frontend for this compiler, these are all so broken. Witness the bizarre need to move the target file at the end here.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 15:57:05 +00:00
Jamie Doornbos
f9238c8732
Dashes not allowed inside comments
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5059 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:58:37 +00:00
Jamie Doornbos
c626095393
First stab at test code to run a thane bureau - not yet runnable
...
* New directory tests/src/as with port of java test client
* New build target "abclib" to create a library of the test classes specified
in etc/asc_files.txt
* New target to compile TestClientMain.as against testslib.abc and another to
run it.
(This proposes the naming convention of *Main.as for "main" thane code and
main-*.abc for the compiled code)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:40:53 +00:00
Jamie Doornbos
e74035a05c
Bureaucracy smoke test and resulting bug fixes
...
* Added RegistryTester smoke test which randomly creates and destroys agents
in batches
* Fixed bug where correct agent id was never making it to client
* Implemented Bureau.toString (+refactored summarize method)
* Fixed nasty bug due to my assumption that SafeSubscriber =~ Subscriber, they
are in fact completely different
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5032 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-04-30 17:55:40 +00:00
Jamie Doornbos
f41233c5ac
Bureaucracy review updates and hello world test
...
* Fleshed out client-side Agent class, made abstract
* Delegate the creation of the bureau director to subclasses of BureauClient
* Moved BureauDirector's BureauReceiver and Subscriber implementations to
anonymous classes that delegate to protected methods.
* Use SafeSubscriber
* Added new service method for notiyfing the server when the creation of an
agent fails so that the registry is not perpetually waiting
* Made BureauCredentials more conformant
* Made BureauRegistry respond properly to client logging off
* Got rid of superfluous uses of safeToString
* Changed Launcher to CommandGenerator and now use ProcessBuilder and
copyMergedOutput
* Changed bureau process parameters to server name and port instead of URL
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5030 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-04-29 18:34:51 +00:00
Jonathan Le Plastrier
cade4b6435
Narya now builds using from dist/lib. Also, the weave taskdef reports a warning if it cannot find the retroweaver jars, instead of preventing ant from running. These changes will need to happen on the other rings as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4379 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-26 20:23:05 +00:00
Michael Bayne
afad7dd444
Added support for streaming List and ArrayList natively. A List will be
...
unmarshalled into an ArrayList on the receiver. Along the way, I improved
support for generic types as arguments to invocation services (which required
one unfortunate "sweeping" warning suppression, but since this is in generated
code, I think we can be sure it won't be doing anything untoward).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4375 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-19 00:31:50 +00:00
Michael Bayne
7cc7f75bcc
No longer need these dependency checks.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-12 17:43:57 +00:00
Michael Bayne
77290fc1a6
Fixed type-unsafety and deprecation bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-05 18:59:31 +00:00
Michael Bayne
237419b179
Exclude the openal package unless the lwjgl libraries are present.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3671 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-08-05 07:32:33 +00:00
Michael Bayne
817d246cb1
Need to exclude JME bits when we don't have the right jar files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3616 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-22 23:29:08 +00:00
Michael Bayne
4036d12121
Further test fixes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3358 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-02-17 02:14:44 +00:00
Michael Bayne
c0cd2cd3ca
Further repairs to the build configuration.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3356 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-02-17 02:05:35 +00:00
Michael Bayne
2198748dcb
Brought the tests back into the land of compilability.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3355 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-02-17 01:54:54 +00:00
Michael Bayne
5970b1eef9
Removed the explicit specification of the build compiler and optimization
...
configurations. We'll specify these in the top-level ant invocation and it
can filter down for the whole build.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2820 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-06 21:24:30 +00:00
Michael Bayne
a4df939073
No need to get libraries out of our parent's lib dir. It's all in
...
JAVA_LIBS and the dist/classes now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-02-06 23:57:27 +00:00
Michael Bayne
e54a4d41f4
The great invocation services rethink of 2002! Rearchitected the remote
...
method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 19:08:01 +00:00
Michael Bayne
8e4d4382bd
ComponentBundlerTask now requires the action definitions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1492 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-19 21:15:47 +00:00
Michael Bayne
11251fef90
Formatting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-15 17:45:24 +00:00
Ray Greenwell
e3bd4dfcfd
configure fringe as part of the tsbundles target.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-06 22:18:51 +00:00
Michael Bayne
1303897d3d
The tileset bundler task is called differently now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1179 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:25:22 +00:00
Michael Bayne
b18c6dc7bf
Blow away the test tileset map file so that it's recreated consistently
...
every time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1178 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-03 22:24:17 +00:00
Michael Bayne
873406f6c5
Moved male pirate components into their own directory (which prefixes all
...
their class names with male/).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1112 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 22:37:21 +00:00
Michael Bayne
2a6b668a98
Blow away the component map file before building so that it's consistent
...
between component repository rebuilds at present.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1092 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-05 07:11:21 +00:00
Michael Bayne
cbcf5d217e
Revamped bundle stuff to put all actions and classes in one top-level
...
metadata bundle and just the components in separate component bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 22:10:30 +00:00
Michael Bayne
947107b0ba
Added another set of component bundles for ships.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1049 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-19 20:00:32 +00:00
Michael Bayne
fcca82c3f6
Added build directives to generate dobj source files; made test object a
...
generated dobj class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@969 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:17:38 +00:00
Michael Bayne
0f47b72787
Repackaging! Changed a bunch of foo.tools.bar to foo.bar.tools and brought
...
some other things up to date with changes that had been made to that
effect previously. I love the vast sweeping changes that come along with a
change of mind.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-05 20:29:10 +00:00
Michael Bayne
dc00808761
Get shared java libraries from JAVA_LIBS; use resource_url instead of
...
application.root.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-01-16 03:00:37 +00:00
Michael Bayne
ec9986a365
Put test code first in classpath.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@738 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-12-05 03:37:14 +00:00
Michael Bayne
89f8ef5d68
Changed default target to compile because we don't always want to run the
...
tests.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 22:00:37 +00:00
Michael Bayne
244b301909
Build the objects tileset bundle as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 21:54:07 +00:00
Michael Bayne
f49005a40c
Added a target for building tileset bundles.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@672 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-29 00:19:49 +00:00
Michael Bayne
67b388cadc
We'll be compiling the builder app now.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@644 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:41:18 +00:00
Michael Bayne
be313f8922
*** empty log message ***
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-27 08:06:57 +00:00
Michael Bayne
2d064262a4
Need to define the application.root system property in case tests want to
...
use a resource manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@633 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-21 02:40:33 +00:00
Michael Bayne
0010525ee7
Run JUnit in a separate JVM to avoid XML parser jar file conflicts.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@619 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-18 04:05:26 +00:00
Michael Bayne
99a0730696
First pass at moving all of Narya test stuff into the tests directory.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:07:36 +00:00