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 | c7b58ba05104496a96cce3c7acd035253fd89f79 (patch) | |
| tree | 6fb65c261f7ac7e53e8d9360e79e39635046a0b5 /cpp/rubygen/0-10 | |
| parent | d2e4e9a156c15bfc4c11fd0e6088940caabd5339 (diff) | |
| download | qpid-python-c7b58ba05104496a96cce3c7acd035253fd89f79.tar.gz | |
Add directory to #include
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793909 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/0-10')
| -rwxr-xr-x | cpp/rubygen/0-10/handlers.rb | 2 | ||||
| -rwxr-xr-x | cpp/rubygen/0-10/specification.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/rubygen/0-10/handlers.rb b/cpp/rubygen/0-10/handlers.rb index db4fdc871b..981ea890e6 100755 --- a/cpp/rubygen/0-10/handlers.rb +++ b/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/cpp/rubygen/0-10/specification.rb b/cpp/rubygen/0-10/specification.rb index e27ad00231..7366599eba 100755 --- a/cpp/rubygen/0-10/specification.rb +++ b/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 |
