summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/README
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-01 16:50:33 +0000
committerAlan Conway <aconway@apache.org>2007-08-01 16:50:33 +0000
commitf0281e4654f49dd1b0e4607d6721553847e428a2 (patch)
treeacc50e0425b88016d7ccaec6839c9d8e1af103aa /qpid/cpp/rubygen/README
parentc6766aa1bf420a908acef1ea577755f8741c9d03 (diff)
downloadqpid-python-f0281e4654f49dd1b0e4607d6721553847e428a2.tar.gz
* src/generate.sh: Moved requirements test to configure.ac
* rubygen: Cleanup and improvements, template for cluster work. * configure.ac: - support for ruby code generator + cleanup. - moved "can generate" tests to configure.ac - removed redundant APR stuff. * bootstrap: Remove codegen from bootstrap, all in config/make. * src/Makefile.am (libqpidcommon_la_LIBADD): - Ruby code generator. - Improvements to existing generator rules. - Removed APR stuff. * configure.ac (CPPUNIT_CXXFLAGS): Removed APR stuff. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/README')
-rw-r--r--qpid/cpp/rubygen/README13
1 files changed, 5 insertions, 8 deletions
diff --git a/qpid/cpp/rubygen/README b/qpid/cpp/rubygen/README
index 43111d4c4f..a1fd6cfec8 100644
--- a/qpid/cpp/rubygen/README
+++ b/qpid/cpp/rubygen/README
@@ -1,16 +1,13 @@
RUBY CODE GENERATOR
-amqpgen.rb: builds an AMQP model from XML files and provides generic code generation functions (e.g. capitalization of names etc)
+Run ./generate for usage.
+Examples in samples/
-cppgen.rb: C++ specific code generation functions.
+For example:
+ ./generate . ../../specs/amqp.0-9.xml samples/Proxy.rb
+will generate
-A template is a ruby file that generates one or more source files.
-For an example run
- samples/runme test <amqp.xml files>
-
-The first argument is a directory for generated files, remaining arguments
-are xml files.