RE: problem with jtags

"Nascif Abousalh-Neto" <[email protected]> Wed, 11 Apr 2007 08:43:09 -0400
Newsgroups gmane.emacs.jdee
Message-ID <[email protected]>
On the same topic, Google Code recently published a tags extension with an Emacs client:
http://code.google.com/p/google-gtags/ 

-----Original Message-----
From: Paul Kinnucan [mailto:[email protected]] 
Sent: Friday, April 06, 2007 3:20 PM
To: Jason Coffin; [email protected]
Subject: RE: problem with jtags

Hi Jason,

It's been a long time since I encountered this issue but I believe it has to do with the Unix xargs command, which jtags uses to pass files for tagging to etags on the command line. xargs limits the length of the argument that can be passed to some default or else to the value of the ARG_MAX environment variable, whichever is larger. Jtags can easily exceed the default value (I don't remember what it is). Try setting the ARG_MAX variable to a value larger than the default. Google xargs for more info.

Paul

> -----Original Message-----
> From: Jason Coffin [mailto:[email protected]]
> Sent: Thursday, April 05, 2007 5:47 PM
> To: [email protected]
> Subject: problem with jtags
> 
> I'm having a problem using the jtags script with Cygwin on Windows XP.
> When I run the command at the root directory of my project I get this 
> output and no tags file (as far as I can tell):
> 
> Tagging everything
> xargs: etags: Argument list too long
> 
> Any ideas?