FS#10472 - [apache-ant] package installs .cmd and .bat files.

Attached to Project: Arch Linux
Opened by Pranay Kanwar (warl0ck) - Thursday, 22 May 2008, 11:03 GMT
Last edited by Paul Mattal (paul) - Thursday, 25 June 2009, 04:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The apache-ant package, ships *.cmd and *.bat files, which
are not required on a Linux system.

Additional info:

* package version(s)
apache-ant 1.7.0-2


Steps to reproduce:

install apache-ant, then

$ ls /usr/bin/*.{cmd,bat}
ant.bat ant.cmd antenv.cmd antRun.bat envset.cmd lcp.bat runrc.cmd
This task depends upon

Closed by  Paul Mattal (paul)
Thursday, 25 June 2009, 04:36 GMT
Reason for closing:  Fixed
Comment by Paul Mattal (paul) - Thursday, 22 May 2008, 12:04 GMT
These are installed by ant as part of their install process.

What is the motivation to remove them?
Comment by Jan de Groot (JGC) - Thursday, 22 May 2008, 12:15 GMT
Motivation to remove them is simple: why should a linux system have cmd and bat files in /usr/bin?
Comment by Paul Mattal (paul) - Thursday, 22 May 2008, 12:24 GMT
If this is the only motivation, I think this falls under vanilla.

The upstream build process installs them, and there's no compelling (space/compatibility) reason to remove them.

I see no reason to customize an upstream build process unless it's doing something that is grossly inefficient or incompatible with Arch.
Comment by Greg (dolby) - Thursday, 22 May 2008, 12:37 GMT
A request upstream would probably be nice.
Comment by Jan de Groot (JGC) - Thursday, 22 May 2008, 12:52 GMT
Another thing is these jar files in /usr/lib/*.jar. Jarfiles are not system libraries. All other java software installs this stuff in /usr/share/java.
Comment by Paul Mattal (paul) - Tuesday, 15 July 2008, 12:48 GMT
I'll see if I can move these in the next build.
Comment by Paul Mattal (paul) - Wednesday, 30 July 2008, 23:59 GMT
The more I think about this the more I'm agreeing about removing the cmd and bat. I'd be more likely to leave this alone if it weren't in some obscure directory, but that *does* become our problem when they go in /usr/bin.

I'll plan to address this one way or another with the next build.
Comment by Gavin Bisesi (Daenyth) - Thursday, 11 December 2008, 18:34 GMT
Status? I'd also like them removed.
Comment by Gavin Bisesi (Daenyth) - Saturday, 21 March 2009, 14:28 GMT
As of 1.7.1-1, they're not removed. Perhaps a case for  FS#12399 ?
Comment by Paul Mattal (paul) - Wednesday, 10 June 2009, 00:38 GMT
resolved in 1.7.1-2 in testing, to be moved to extra in a week

Loading...