Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ack CPAN distribution.

Maintainer(s)' notes

ack's issues are tracked at https://github.com/petdance/ack2

Report information
The Basics
Id: 20587
Status: resolved
Priority: 0/
Queue: ack

People
Owner: Nobody in particular
Requestors: coke [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: --java should work
Please add --java as a supported language. Should default to the following file types: .jsp, .java, .properties, .xml
Subject: Re: [rt.cpan.org #20587] --java should work
Date: Thu, 20 Jul 2006 15:32:42 -0500
To: bug-ack [...] rt.cpan.org
From: Andy Lester <andy [...] petdance.com>
On Jul 20, 2006, at 3:24 PM, via RT wrote: Show quoted text
> Please add --java as a supported language. Should default to the > following file types: > > .jsp, .java, .properties, .xml
.xml? Why? That seems very broad. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
Subject: Re: [rt.cpan.org #20587] --java should work
Date: Thu, 20 Jul 2006 16:47:32 -0400
To: bug-ack [...] rt.cpan.org
From: Will Coleda <will [...] coleda.com>
J2EE development, anything using ant are going to have .xml files about, containing configuration and build information. Regards. On Jul 20, 2006, at 4:33 PM, andy@petdance.com via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20587 > > > > On Jul 20, 2006, at 3:24 PM, via RT wrote: >
>> Please add --java as a supported language. Should default to the >> following file types: >> >> .jsp, .java, .properties, .xml
> > .xml? Why? That seems very broad. >
-- Will "Coke" Coleda will@coleda.com
Subject: Re: [rt.cpan.org #20587] --java should work
Date: Fri, 25 Aug 2006 08:06:48 -0300
To: bug-ack [...] rt.cpan.org
From: "Adriano Ferreira" <a.r.ferreira [...] gmail.com>
Will Coleda <will@coleda.com> wrote: Show quoted text
>J2EE development, anything using ant are going to have .xml files >about, containing configuration and >build information.
But that does not make .xml files Java sources. I have projects where .xml files are used for configuration and storing SQL phrasebooks which I would not expect to be searched when I would try $ ack --java
Subject: Re: [rt.cpan.org #20587] --java should work
Date: Fri, 25 Aug 2006 10:16:46 -0400
To: bug-ack [...] rt.cpan.org
From: Will Coleda <will [...] coleda.com>
I don't use ack to search *code*, I use it to search *any non- generated files that contain text*. How would you search for config information then, if you wanted to? But, assuming we won't agree, ack needs to give each of us the ability to do what we want. perhaps --j2ee vs --java, or the ability to define our own language sets, or the ability to exclude file types on the fly, or... Regards. On Aug 25, 2006, at 7:07 AM, a.r.ferreira@gmail.com via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20587 > > > Will Coleda <will@coleda.com> wrote:
>> J2EE development, anything using ant are going to have .xml files >> about, containing configuration and >> build information.
> > But that does not make .xml files Java sources. I have projects where > .xml files are used for configuration and storing SQL phrasebooks > which I would not expect to be searched when I would try > > $ ack --java > >
-- Will "Coke" Coleda will@coleda.com
Subject: Re: [rt.cpan.org #20587] --java should work
Date: Fri, 25 Aug 2006 10:37:08 -0500
To: bug-ack [...] rt.cpan.org
From: Andy Lester <andy [...] petdance.com>
On Aug 25, 2006, at 9:17 AM, Will Coleda via RT wrote: Show quoted text
> But, assuming we won't agree, ack needs to give each of us the > ability to do what we want.
Patches, or at least rough interfaces of how you'd see it happen, welcome. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
I've added --java -> .java in 1.34.