yahoo / squidb

SquiDB is a SQLite database library for Android and iOS
https://github.com/yahoo/squidb/wiki
Apache License 2.0
1.31k stars 132 forks source link

Eclipse Support #115

Closed bleuf1sh closed 8 years ago

bleuf1sh commented 8 years ago

Would it be possible to add instructions for how to setup squidb for use in an Android Eclipse project to the Wiki? -Thanks

sbosley commented 8 years ago

I'm not sure how to best advise you on this one -- are you using gradle? Build systems other than gradle aren't officially supported I'm afraid, nor do we have plans to add support for anything else at this time. If you are using gradle (e.g. the Eclipse Gradle plugin), the instructions on this wiki page should still work.

If you are not using gradle, your best bet is probably to download jars from Bintray and manually add them to your project (here's our Bintray page). Or, you could clone SquiDB and import the projects as source dependencies. You can configure APT for code generation in eclipse using the instructions found here.

Since things other than gradle aren't officially supported I'm not sure if the ideas for non-gradle will be sufficient -- they might be though! If you find out more info that you think will be helpful to future visitors, you're welcome to post your findings back here and I'll link to this issue from a wiki page.

bleuf1sh commented 8 years ago

@sbosley thanks! I'll try those out and if something works out smoothly I'll let you know. I appreciate the quick response and I really loved y'alls talk at Droidcon Tel Aviv.

I'll try the route of cloning SquiDB and importing it as a source dependency because it could be beneficial for debugging and accessing the underlying source more easily.

sbosley commented 8 years ago

Closing this issue as we still have no plans to support non-gradle build systems. @bleuf1sh not sure if you found a solution that works for you, but if you did feel free to share details and we'll add a note to the wiki.