Login | Register
My pages Projects Community openCollabNet

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-24 04:17:38 PDT
Message Hello Soenke,

Thanks for your answer, this works for all classes that are in the
propel\generator\c​lasses\propel\engi​ne\builder\om\php​5 directory but
there is one file (OMBuilder.php) that is one directory higher. I
don't see it mentioned in the default.properties list of builders. In
this file, which defines the OMBuilder class, the <?php is added to
every file that is written out and it sets .cpp as extention for files
that are written, both of which I'd like to change. I don't see
however where I can indicate that my custom class should be used.

cheers,

roel


On 7/24/06, Soenke Ruempler <ruempler@topconc​epts.com> wrote:
> Roel Vanhout <mailto:roel.vanh​out at gmail dot com> wrote on Monday, July 24,
> 2006 12:50 PM:
>
> > I'm not sure if that was directed at the PECL thing or the pure C++
> > that I'm trying to accomplish :) , but either way: is there anyone who
> > knows the answer to my original question whether it is possible to use
> > another OMBuilder class? Thanks.
>
> Of course, in build.properties we have it like this:
>
> propel.builder.mapbuilder.class = tcc.Propel.Engine.Builder.Map
> propel.builder.object.class =tcc.Propel.Engine.B​uilder.ComplexObject​
> propel.builder.peer.class =tcs.Propel.Engine.B​uilder.ComplexPeer
>
> -soenke
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@prop​el.tigris.org
> For additional commands, e-mail: dev-help at propel dot tigris dot org
>
>