Login | Register
My pages Projects Community openCollabNet

Discussions > dev > propel / c++ > Reply to message

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author Roel Vanhout <roel.vanhout@gmail.com>
Full name Roel Vanhout <roel.vanhout@gmail.com>
Date 2006-07-21 09:11:01 PDT
Message Hi,

I'm trying to get propel to generate c++ classes. I've progressed
nicely, but to do things neatly, I need a way to specify which
OMBuilder to use (I need to override build() and getClassFilePath()).
However I haven't yet found a way; is there a clean way to specify
that the factory should instantiate my CPP_OMBuilder and not OMBuilder
like there is for the other classes (like the other classes can be set
in the properties file)? If not, would you be willing to make it
configurable? In that case, I'd like to see that file
(generator\classes​propel\engine\bui​lder\om\OMBuilder.​php) moved to
the php5/ subdirectoy, so that I could keep all language-specific
things in a separate directory.
Also, I noticed the following line in the default.properties:

propel.targetPlatform = php5

Can I leverage this to make generating c++ classes easier? What is it
used for? Thanks.

cheers,

roel