I'm probably missing something very simple but I still can't figure
out what. I am using latest symfony-sandbox from git (running on
Windows7) and have created a new bundle based on HelloBundle:
1. I have added bundle registration to AppKernel.php
// register your bundles
new Application\MyBundle\MyBundle(),
2. I have added bundle mapping to config.yml:
doctrine.orm:
mappings:
MyBundle: ~
auto_generate_proxy_classes: %kernel.debug%
3. I have created an entity class Application\MyBundle\Entity
\Product.php:
namespace Application\AffiliateStoreBundle\Entity;
/**
* @orm:Entity
*/
class Product
{
/**
* @orm:Column(type="string", length=255)
*/
protected $name;
public function getName()
{
return $this->name;
}
public function setName($name)
{
$this->name = $name;
}
}
But when I run doctrine:schema:create command it just dumps the
content of Product.php file and writes this "No Metadata Classes to
process" error. What am I doing wrong?
Thanks,
Oleg
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en