diff options
| author | Alan Conway <aconway@apache.org> | 2009-07-14 14:32:39 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-07-14 14:32:39 +0000 |
| commit | ffd20ee19a5fd027e0007c27a12dd402dbeca4f8 (patch) | |
| tree | 82452ea79b23a144d25b34af40de908052b95936 /qpid/cpp/rubygen/0-10 | |
| parent | 1bf6c4e9f0622d855cf794d1b7cbf32c2b2036cb (diff) | |
| download | qpid-python-ffd20ee19a5fd027e0007c27a12dd402dbeca4f8.tar.gz | |
Add directory to #include
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/0-10')
| -rwxr-xr-x | qpid/cpp/rubygen/0-10/handlers.rb | 2 | ||||
| -rwxr-xr-x | qpid/cpp/rubygen/0-10/specification.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/rubygen/0-10/handlers.rb b/qpid/cpp/rubygen/0-10/handlers.rb index db4fdc871b..981ea890e6 100755 --- a/qpid/cpp/rubygen/0-10/handlers.rb +++ b/qpid/cpp/rubygen/0-10/handlers.rb @@ -35,7 +35,7 @@ class GenHandlers < CppGen def generate() h_file("#{@dir}/handlers.h") { - include "specification" + include "#{@dir}/specification" namespace("#{@ns}") { action_handler "Command", @amqp.collect_all(AmqpCommand) action_handler "Control", @amqp.collect_all(AmqpControl) diff --git a/qpid/cpp/rubygen/0-10/specification.rb b/qpid/cpp/rubygen/0-10/specification.rb index e27ad00231..7366599eba 100755 --- a/qpid/cpp/rubygen/0-10/specification.rb +++ b/qpid/cpp/rubygen/0-10/specification.rb @@ -342,8 +342,8 @@ class Specification < CppGen } cpp_file("#{@dir}/#{name}") { - include "#{name}" - include "exceptions.h" + include "#{@dir}/#{name}" + include "#{@dir}/exceptions.h" namespace(@ns) { genl "using framing::in_place;" genl |
