diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-04-18 18:35:51 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-04-18 18:35:51 +0000 |
commit | 9d916d3595bb83f912182297aae75f1726733242 (patch) | |
tree | a7aebbda5f4e6e4d790e78100271f2e0fc69d203 /java/common/codegen | |
parent | ff9b2e3e3e4df9852b90a1b8af95739628fe3fa7 (diff) | |
download | qpid-python-9d916d3595bb83f912182297aae75f1726733242.tar.gz |
QPID-901: update pom to work with new codegen
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649648 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/common/codegen')
-rwxr-xr-x | java/common/codegen | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/common/codegen b/java/common/codegen index f5d1577774..ab1ab1c542 100755 --- a/java/common/codegen +++ b/java/common/codegen @@ -6,6 +6,7 @@ from genutil import * out_dir = sys.argv[1] spec_file = sys.argv[2] +tpl_dir = sys.argv[3] pkg_dir = os.path.join(out_dir, "org/apache/qpidity/transport") if not os.path.exists(pkg_dir): @@ -22,7 +23,7 @@ def excludes(nd): return True def execute(output, template, **kwargs): - f = open(template) + f = open(os.path.join(tpl_dir, template)) input = f.read() f.close() p = Parser(**kwargs) |