realm-java icon indicating copy to clipboard operation
realm-java copied to clipboard

Should our code generator be part of tightdb.jar?

Open kspangsege opened this issue 14 years ago • 2 comments

In my opinion, the code generator should not be part of tightdb.jar, because it is only needed during compilation of the customers Java code. When the customer deploys the code, they still need to include tightdb.jar, but there is no longer any need for the generator.

I suggest we produce two JARs: tightdb.jar tightdb-codegen.jar

kspangsege avatar Aug 19 '12 01:08 kspangsege

How much code do we save? It will also be more "difficult" to handle/understand the two jar's. Hmm---

bmunkholm avatar Aug 27 '12 12:08 bmunkholm

I re-configured the JAR plugin to package only the "com.tightdb" and "com.tightdb.lib" packages into tightdb.jar. And tightdb-devkit.jar remains the same, so it contains the code generator classes etc.

nmihajlovski avatar Sep 11 '12 22:09 nmihajlovski