build.xml
files would normally be governed by the
xml entries listed in the previous chapter. ctags does
not allow one entry for *.xml
and another for
build.xml
. Code Browser helps out here; Code Browser
forces the language used by ctags to ant when
the file to be parsed is named build.xml
.
--langdef=ant --regex-ant=/<property[ \t]*name[ \t]*=[ \t]*\"([^\"]+)/\1/Properties/i --regex-ant=/<target[ \t]*name[ \t]*=[ \t]*\"([^\"]+)/\1/Targets/i --regex-ant=/<path[ \t]*id[ \t]*=[ \t]*\"([^\"]+)/\1/Paths/i --regex-ant=/<taskdef[ \t]*id[ \t]*=[ \t]*\"([^\"]+)/\1/Taskdefs/i --regex-ant=/<typedef[ \t]*id[ \t]*=[ \t]*\"([^\"]+)/\1/Typedefs/i