On Wed, 09 Apr 2014 20:17:16 GMT, Jon Giddy wrote:
Not a great solution, but I got it to work by adding the ddb source files to my project's dub.json file.
{ "name": "foo", "description": "A simple vibe.d server application.", "copyright": "Copyright © 2014, scmjpg", "authors": ["scmjpg"], "dependencies": { "vibe-d": "~master", "ddb": "~master" }, "versions": ["VibeDefaultMain", "Have_vibe_d"], "sourceFiles": [ "/home/scmjpg/.dub/packages/ddb-master/source/postgres.d", "/home/scmjpg/.dub/packages/ddb-master/source/ddb/db.d", ] }
I guess the real solution is to convince the ddb developers to match the module and the directory structures.
Exactly, I guess they didn't notice the mismatch because they were using an old DUB version, which compiled everything at once. A similar workaround would be to use dub build --combined
, but the only real solution is to match up the directory structure.