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
:)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to