Hi Onkar, Onkar Shinde schrieb:
If there is no policy about this then I guess this good time to have one. Because I am always told (in #ubuntu-motu) to keep the orig.tar.gz as close as possible to upstream tarball and hence use clean target to delete jar files. I am still learning lot of things about packaging so I would like to get habituated to right approach. And if the approach is backed by a policy then even better.
I think you have to differentiate here between the binaries (e.g. jars) that have been pre-built upstream and the binaries you produce during your own build.
IMO binaries that come within the source tarball and have been built /upstream/ should be stripped out with a get-orig-source target in debian/rules. This is a practice I have seen in several Debian Java packages now and which I like for the reasons I laid out in my earlier post.
The binaries that you build /yourself/ during the build process should be stripped out within the clean target so that you return to the state your folder hierarchy was in before the build.
Hope this helps to clarify the issue. Florian