From: Chris W. <ch...@cw...> - 2005-03-24 03:10:34
|
On Mar 23, 2005, at 9:55 PM, Teemu Arina wrote: > I've got a slight problem with Bricks. I have now successfully ported > my stuff on OI2 1.99_06 and everything seems to work ok. Cool. > I made an installer for debian that grabs available packages from > apt and installs the rest from my home-made .deb packages, even OI2 > now that it is based on bricks. > > For my own application I wanted to do a similar thing by creating > Bricks. > But I keep getting the following: > > # oi2_manage install_package > --package_class=OpenInteract2::Brick::DicoleBase > [oi2_manage]: Caught exception during task execution > [oi2_manage]: Factory type [] is not defined in > [OpenInteract2::Brick::DicoleBase] The 'package_class' reference is supposed to be a OI2::App class rather than a OI2::Brick class. (I'll update the docs to clarify.) The 'package_class' functionality was implemented for the CPAN-distributable packages rather than using the bricks directly -- the difference is that CPAN-distributable packages have the .pm files outside the brick and that everything in the brick is stored as-is. But it makes some sense to make this available -- particularly since we'll need to distribute updates to the core packages -- so I'll add a '--brick_class' to the package installer. Chris -- Chris Winters Creating enterprise-capable snack systems since 1988 |