Sephen
Sephen

Reputation: 1111

Propel configuration file not found

when trying to reverse engineer a shema.xml in Propel i get the error message "Propel configuration file not found"

I created a new directory with a fairly standard build.properties file which i used before. But for some reason it's now looking for a different config file.

Hope someone can help

Thanks in advance

Upvotes: 1

Views: 780

Answers (3)

Cristiano Cinotti
Cristiano Cinotti

Reputation: 21

starting from commit 753bcc9 Propel has a new configuration system.

Now there's only one configuration file and you can choose your favorite fromat in: yaml, php, xml, ini and json.

You can find the full documentation in this PR. It's not merged by now: we're reviewing my awful English.

There's this issue by now: some configured paths are ignored because of a bug in command files ('build' command saves the generated files always in 'generated-class' subdir, ignoring your configuration). I'm working on it and I hope to fix it this weekend.

Best regards

Upvotes: 2

Stanislav Butsenko
Stanislav Butsenko

Reputation: 99

Leave here a dirty but working the config.yaml as example. I look forward to updating the documentation.

Upvotes: 0

Chris Noden
Chris Noden

Reputation: 56

I am getting this too. Turns out they've broken/changed something in the most recent dev commit.

I am using composer and have fixed it by forcing a rollback to an older commit.

In my composer.json I have a require line of:

"propel/propel": "dev-master#b412f08c98c83e05acd1e6e8357a177e7e26d047"

Then do a $ composer update

And it should work again.

Upvotes: 2

Related Questions