depot-1.0 doesn't have its .tmpl files, which causes genrecord to crash and burn. Bump to 1.1 and commit genrecord results.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6357 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Charlie Groves
2010-12-09 21:57:33 +00:00
parent 4209af8963
commit ed7bea986d
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -77,7 +77,7 @@
<dependency> <dependency>
<groupId>com.samskivert</groupId> <groupId>com.samskivert</groupId>
<artifactId>depot</artifactId> <artifactId>depot</artifactId>
<version>1.0</version> <version>1.1</version>
<scope>compile</scope> <scope>compile</scope>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
@@ -83,10 +83,10 @@ public class ConfigRecord extends PersistentRecord
*/ */
public static Key<ConfigRecord> getKey (String node, String object, String field) public static Key<ConfigRecord> getKey (String node, String object, String field)
{ {
return new Key<ConfigRecord>( return newKey(_R, node, object, field);
ConfigRecord.class,
new ColumnExp[] { NODE, OBJECT, FIELD },
new Comparable[] { node, object, field });
} }
/** Register the key fields in an order matching the getKey() factory. */
static { registerKeyFields(NODE, OBJECT, FIELD); }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }
@@ -105,10 +105,10 @@ public class NodeRecord extends PersistentRecord
*/ */
public static Key<NodeRecord> getKey (String nodeName) public static Key<NodeRecord> getKey (String nodeName)
{ {
return new Key<NodeRecord>( return newKey(_R, nodeName);
NodeRecord.class,
new ColumnExp[] { NODE_NAME },
new Comparable[] { nodeName });
} }
/** Register the key fields in an order matching the getKey() factory. */
static { registerKeyFields(NODE_NAME); }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }