java中rebuild在哪,Java/Rebuilds

Automatic and manual rebuilding of Java packages

You have updated a Java library and you want to test whether the update breaks existing reverse-dependencies? Here are a few tips.

The manual method

ubuntu-dev-tools (reverse-depends -b) and devscripts (build-rdeps) contain two useful tools to find reverse-build-dependencies. Usually reverse-depends -b will give you better results. Alternatively you can also use apt-cache rdepends  to find reverse-dependencies and to check if the listed build-dependencies are consistent with the dependencies of the package.

More useful tools: Schroot, to develop and test your packages in a confined environment. reprepro in combination with cowbuilder, pbuilder or sbuild.

First of all install your new build-dependency that should be tested. Download all source packages with apt source  and the required build-dependencies with apt build-dep . Change to the package directory and rebuild the package with debuild -us -uc. Repeat the same steps for all reverse-dependencies.

With cowbuilder: sudo DIST=sid ARCH=amd64 cowbuilder --build .dsc

DebOMatic

DebOMatic is an automatic build machine for Debian source packages. Project Homepage with documentation

ratt

ratt, rebuild all the things!.

Mass rebuild with AWS or similar services

This is a more sophisticated approach for rebuilding a lot or even all Java packages.

Scripts and more documentation can be found at https://github.com/FauxFaux/debjdk9.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值