[Zope-dev] Request for review: z3c.recipe.i18n (branch: baijum-zcml-path)
Baiju M
baiju.m.mail at gmail.com
Mon Aug 9 07:12:52 EDT 2010
On Mon, Aug 9, 2010 at 2:04 PM, Michael Howitz <mh at gocept.com> wrote:
> Am 09.08.2010 um 09:38 schrieb Baiju M:
> [...]
>
> Incidentally, can you use
>
> zcml = <include file="/absolute/path/name" />
>
> without specifying a package? In other words, is this just syntactic
>
> sugar for something that's already possible, or a way to do something
>
> that wasn't possible before?
>
> Thanks for the review!
>
> I can use "file" option without specifying the package.
>
> So, I am not going to merge my branch.
>
> But could you please document this in the package for the next one who wants
> this feature?
I just added a note like this:
Note: To include a ZCML file outside package, you can use,
``include`` directive with ``file`` option. For example: ``<include
file="${buildout:directory}/etc/site.zcml" />``
Thanks for reminding!
Regards,
Baiju M
More information about the Zope-Dev
mailing list