ahmetb / orman

lightweight and minimalist ORM for Java/Android. works with SQLite & MySQL. (not actively maintained)
Other
249 stars 47 forks source link

Build mechanism for distribution #6

Closed ahmetb closed 13 years ago

ahmetb commented 13 years ago

We need a build mechanism that can build and package project into a JAR file. Maybe we can think about using jarjar for bundling connector/adapter dependencies for targeted builds.

For instance, core build should not contain a connector in JAR package. mysql build should contain lib/mysql-connector-java-*.jar sqlite-unix build should contain lib/sqlite4java.jar and lib/*.so+lib/*.jnilib binaries. sqlite-windows build should contain lib/sqlite4java.jar and sqlite4java-win32-*.dll dynamic linkers. etc.

Build tool can be Maven, Rake, sbt, Ant or anything that makes sense, easy to maintain and not outdated.

Build should be single step! See Joel's test.

ahmetb commented 13 years ago

fixed without different types of builds. only core build for now.