RE: problem with jtags

"Paul Kinnucan" <[email protected]> Fri, 6 Apr 2007 15:19:55 -0400
Newsgroups gmane.emacs.jdee
Message-ID <DB873318D1A41648BEAC4B5AAB63B3E1126EC96F@MESSAGE-AH.ad.mathworks.com>
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?