Search the web
Sign In
New User? Sign Up
taglist · Vim taglist (source browser) plugin
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
paths in tags file, exuberant ctags [win xp] on cygwin   Message List  
Reply | Forward Message #422 of 448 |
Hi All,

I am a bit confused. Using Exuberant Ctags I can generate tags files for Java
source, but the paths are generated as Windows paths, which vim on Cygwin
doesn't understand (of course).

How do I generate tags files that Cygwin will understand?

I installed Exuberant Ctags "Source and binary for Windows 98/NT/2000/XP" and
put in my Cygwin path..

I ran the tags commands (it only worked using Windows paths).
ctags -V -f 'c:\rob\cygHome\.tags' --language-force=java -R
'C:\rob\work\projects\nd\ford\tp07\rtb\src\java'
ctags -V -a -f 'c:\rob\cygHome\.tags' --language-force=java -R
'C:\rob\apps\java\jdksrc\jdk6.14'

I added this line to .vimrc:
autocmd FileType java set tags=~/.tags

I see the windows paths in .tags:
ParseException
C:\rob\apps\java\jdksrc\jdk6.14\com\sun\jmx\snmp\IPAcl\ParseException.java /^
public ParseException(String message) {$/;" m class:ParseException

And the in vim on Cygwin, it can't find the files when I use control+};
tag 1 of 8 or more
File
"/c/rob/cygHome/C:\rob\apps\java\jdksrc\jdk6.14\com\sun\jmx\snmp\IPAcl\ParseExce\
ption.java" does not exist

I thought maybe I should use the ctags that comes with Cygwin.. but that does
nothing
Fri Jul 24 - 12:43 PM > /usr/bin/ctags -V -f ~/.tags --language-force=java -R
/rob/apps/java/jdksrc/jdk6.14
ctags (standalone 21.4.22)
Copyright (C) 2007 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README

Any assistance would be much appreciated!

Rob
:)




Fri Jul 24, 2009 2:44 am

robertmarkbram
Offline Offline
Send Email Send Email

Forward
Message #422 of 448 |
Expand Messages Author Sort by Date

Hi All, I am a bit confused. Using Exuberant Ctags I can generate tags files for Java source, but the paths are generated as Windows paths, which vim on Cygwin...
Robert Mark Bram
robertmarkbram
Offline Send Email
Jul 24, 2009
2:44 am

Got answer from vim_use Google Group: http://groups.google.com/group/vim_use/browse_thread/thread/eb9892ad08345489 ... With this in mind, I re-ran my tags...
Robert Mark Bram
robertmarkbram
Offline Send Email
Jul 27, 2009
1:25 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help