renaming
This commit is contained in:
parent
b17e1aed61
commit
b45ee39cc4
3 changed files with 6 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -38,6 +38,6 @@ capnpc-java : $(CAPNPC_JAVA_SOURCES)
|
||||||
$(CXX) -I/usr/local/include -L/usr/local/lib -lkj -lcapnp $(CAPNPC_JAVA_SOURCES) -o capnpc-java
|
$(CXX) -I/usr/local/include -L/usr/local/lib -lkj -lcapnp $(CAPNPC_JAVA_SOURCES) -o capnpc-java
|
||||||
|
|
||||||
|
|
||||||
addressbook : capnp capnpc-java examples/Addressbook.java
|
addressbook : capnp capnpc-java examples/AddressbookMain.java
|
||||||
capnp compile -o ./capnpc-java examples/addressbook.capnp
|
capnp compile -o ./capnpc-java examples/addressbook.capnp
|
||||||
javac examples/Addressbook.java
|
javac examples/AddressbookMain.java
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
public class Addressbook {
|
public class AddressbookMain {
|
||||||
|
|
||||||
public static void writeAddressBook() {
|
public static void writeAddressBook() {
|
||||||
System.out.println("writing addressbook ...");
|
System.out.println("writing addressbook ...");
|
|
@ -1492,6 +1492,9 @@ private:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto filename = request.getFilename();
|
||||||
|
// filename.findLast(
|
||||||
|
|
||||||
auto nodeTexts = KJ_MAP(nested, node.getNestedNodes()) {
|
auto nodeTexts = KJ_MAP(nested, node.getNestedNodes()) {
|
||||||
return makeNodeText(namespacePrefix, "", nested.getName(), schemaLoader.get(nested.getId()), 1);
|
return makeNodeText(namespacePrefix, "", nested.getName(), schemaLoader.get(nested.getId()), 1);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue