> > > This results in something that is quite awkward for the C build. For one > > thing I'm not sure an svn export of the proton-c directory would be > > considered releasable under this scheme as it would include the java > > binding, but not the source code necessary to build it, and apache policy > > requires releases to include full source code. Regardless it would no > > longer be a useful/sensible artifact to end-users since they couldn't > > actually build the java binding. > > > > This seems a slightly odd position to take. The artefact doesn't include the entire source to python, ruby, openssl, etc. If the dependencies for these are not present then the relevant parts of the tree are not built. The same is true in this proposal with respect to the java binding... there is a dependency on the Java API being installed in order to build the JNI bindings within the C build.
I must admit I remain bemused by the idea that trying to maintain two copies of the Java API in the source tree makes any kind of sense. I think we are contorting ourselves and adding potentially huge complication to our build/development process in order to try to satisfy a number of somewhat arbitrary "requirements" that are being imposed on the directory structure. Personally I don't perceive there to be an actually need to allow checking out of only part of the Proton tree. Indeed I would wish to strongly discourage the sort of silo-d attitude that checking out only Java or only C would imply. Moreover, while I see that it is advantageous to be able to release "source" packages directly as svn exports from points in the tree... I don't find this so compelling that I would break fundamental tenets of source control is expected to be used. Personally, given that our current plan is to release all of Proton at the same time, I'm not sure what would be wrong with simply shipping a single source tarball of the entire directory structure. People who wish to build from source would thus be able to build whatever they so desired. -- Rob
