qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Giusti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-4798) use stripped BSD licensed vesions of the amqp spec files
Date Thu, 02 May 2013 13:56:17 GMT

    [ https://issues.apache.org/jira/browse/QPID-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647535#comment-13647535
] 

Ken Giusti commented on QPID-4798:
----------------------------------

Applied the attached patch.  Attempting to generate code from new xml files fails:

cmake ..
<SNIP>
Generated /home/kgiusti/work/qpid/build/trunk/src/qpid/framing/StreamCancelBody.h
Generated /home/kgiusti/work/qpid/build/trunk/src/qpid/framing/StreamCancelBody.cpp/home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/amqpgen.rb:527:in
`genl': undefined method `+' for nil:NilClass (NoMethodError)
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:138:in `block
in declare_exception'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/amqpgen.rb:532:in `prefix'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/cppgen.rb:403:in `doxygen_comment'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:138:in `declare_exception'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:147:in `block
in declare_exceptions'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:147:in `each'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:147:in `declare_exceptions'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:175:in `block
(2 levels) in reply_exceptions_h'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/cppgen.rb:358:in `namespace'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:174:in `block
in reply_exceptions_h'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/cppgen.rb:326:in `block in h_file'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/amqpgen.rb:505:in `file'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/cppgen.rb:322:in `h_file'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:169:in `reply_exceptions_h'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:201:in `generate'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/framing.0-10/constants.rb:207:in `<top
(required)>'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/generate:74:in `load'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/generate:74:in `block in <main>'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/generate:70:in `each'
	from /home/kgiusti/work/qpid/qpid/qpid/cpp/rubygen/generate:70:in `<main>'

Can't see a problem with the XML file - I suspect a bug in the rubygen code.

Re-assigning back to Rafi.

Needs someone who understands ruby to look at this.  To me, Ruby is just a little less decipherable
than Martian.


                
> use stripped BSD licensed vesions of the amqp spec files
> --------------------------------------------------------
>
>                 Key: QPID-4798
>                 URL: https://issues.apache.org/jira/browse/QPID-4798
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client, Java Common, Python Client
>            Reporter: Rafael H. Schloming
>            Assignee: Ken Giusti
>             Fix For: 0.22
>
>         Attachments: qpid-4798.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message