Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread أحمد المحمودي
Package: debhelper Version: 7.2.8ubuntu1 Severity: wishlist The patch attached adds support for building/cleaning with 'ant' if build.xml is found -- System Information: Debian Release: 5.0 APT prefers jaunty-updates APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500,

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread Joey Hess
أحمد المحمودي wrote: The patch attached adds support for building/cleaning with 'ant' if build.xml is found This will need to be updated to use the new modular build system support in debhelper 7.3.2 (in experimental) before it can be applied. diff --git a/dh_auto_build b/dh_auto_build

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread أحمد المحمودي
On Tue, Jul 14, 2009 at 01:22:40PM -0400, Joey Hess wrote: This will need to be updated to use the new modular build system support in debhelper 7.3.2 (in experimental) before it can be applied. This patch was against the master branch, which corresponds to 7.2.x series. Can't it be applied to

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread Joey Hess
أحمد المحمودي wrote: On Tue, Jul 14, 2009 at 01:22:40PM -0400, Joey Hess wrote: This will need to be updated to use the new modular build system support in debhelper 7.3.2 (in experimental) before it can be applied. This patch was against the master branch, which corresponds to 7.2.x

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread أحمد المحمودي
On Tue, Jul 14, 2009 at 01:52:57PM -0400, Joey Hess wrote: I don't plan to add new build systems to 7.2.x. 7.3.x will be in unstable soon and has a much better approach to build systems. Ok, I'll try to get it compatible work the new 7.3.x. So in other to install files built by ant, the

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread Joey Hess
Attached is a translation to a debhelper build system class. It is not tested. If ant supports building files in a location outside the source directory, this needs to be modified to allow that. -- see shy jo # A debhelper build system class for handling Ant based projects. # # Copyright: ©

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread أحمد المحمودي
On Tue, Jul 14, 2009 at 02:02:15PM -0400, Joey Hess wrote: Attached is a translation to a debhelper build system class. It is not tested. I tested it now (after modifying Dh_Buildsystems.pm to add ant, at the end), and it works ! Thanks a lot ! If ant supports building files in a location

Bug#537021: debhelper: Support auto-building/cleaning with ant

2009-07-14 Thread أحمد المحمودي
On Tue, Jul 14, 2009 at 02:02:15PM -0400, Joey Hess wrote: If ant supports building files in a location outside the source directory, this needs to be modified to allow that. ---end quoted text--- Actually, what usually happens is that building is in a location outside source dir. Usually