/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | CtagsTest.java | 42 private static Ctags ctags; field in class:CtagsTest 50 ctags = new Ctags(); 51 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 64 repository.getSourceRoot() + "/bug19195/ctags.config"; 65 ctags.setCTagsExtraOptionsFile(extraOptionsFile); 67 assertTrue("No point in running ctags tests without valid ctags", 73 ctags.close(); 74 ctags = null; 95 return ctags [all...] |
H A D | JFlexXrefTest.java | 68 private static Ctags ctags; field in class:JFlexXrefTest 80 ctags = new Ctags(); 81 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 89 ctags.close(); 90 ctags = null; 162 Definitions defs = ctags.doCtags(file.getAbsolutePath() + "\n"); 351 xref.setDefs(ctags.doCtags(filename + "\n"));
|
/opengrok/test/org/opensolaris/opengrok/analysis/c/ |
H A D | CAnalyzerFactoryTest.java | 60 private static Ctags ctags; field in class:CAnalyzerFactoryTest 67 env.setCtags(System.getProperty(ctagsProperty, "ctags")); 84 ctags = new Ctags(); 85 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 94 ctags.close(); 95 ctags = null; 115 analyzer.setCtags(ctags);
|
H A D | CxxAnalyzerFactoryTest.java | 60 private static Ctags ctags; field in class:CxxAnalyzerFactoryTest 67 env.setCtags(System.getProperty(ctagsProperty, "ctags")); 84 ctags = new Ctags(); 85 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 94 ctags.close(); 95 ctags = null; 113 analyzer.setCtags(ctags);
|
/opengrok/test/org/opensolaris/opengrok/analysis/clojure/ |
H A D | ClojureAnalyzerFactoryTest.java | 58 private static Ctags ctags; field in class:ClojureAnalyzerFactoryTest 65 env.setCtags(System.getProperty(ctagsProperty, "ctags")); 82 ctags = new Ctags(); 83 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 92 ctags.close(); 93 ctags = null; 113 analyzer.setCtags(ctags);
|
/opengrok/test/org/opensolaris/opengrok/analysis/csharp/ |
H A D | CSharpAnalyzerFactoryTest.java | 55 private static Ctags ctags; field in class:CSharpAnalyzerFactoryTest 62 env.setCtags(System.getProperty(ctagsProperty, "ctags")); 79 ctags = new Ctags(); 80 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 89 ctags.close(); 90 ctags = null; 108 analyzer.setCtags(ctags);
|
/opengrok/test/org/opensolaris/opengrok/analysis/java/ |
H A D | JavaAnalyzerFactoryTest.java | 60 private static Ctags ctags; field in class:JavaAnalyzerFactoryTest 67 env.setCtags(System.getProperty(ctagsProperty, "ctags")); 84 ctags = new Ctags(); 85 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 94 ctags.close(); 95 ctags = null; 115 analyzer.setCtags(ctags);
|
/opengrok/test/org/opensolaris/opengrok/analysis/pascal/ |
H A D | PascalAnalyzerFactoryTest.java | 57 private static Ctags ctags; field in class:PascalAnalyzerFactoryTest 64 env.setCtags(System.getProperty(ctagsProperty, "ctags")); 81 ctags = new Ctags(); 82 ctags.setBinary(RuntimeEnvironment.getInstance().getCtags()); 91 ctags.close(); 92 ctags = null; 112 analyzer.setCtags(ctags);
|
/opengrok/src/org/opensolaris/opengrok/analysis/ |
H A D | FileAnalyzer.java | 109 protected Ctags ctags; field in class:FileAnalyzer 111 public void setCtags(Ctags ctags) { argument 112 this.ctags = ctags;
|
H A D | Ctags.java | 43 * Provides Ctags by having a running instance of ctags 51 private Process ctags; field in class:Ctags 55 //default: setCtags(System.getProperty("org.opensolaris.opengrok.analysis.Ctags", "ctags")); 61 private final int MAX_METHOD_LINE_LENGTH = 1030; //96 is used by universal ctags for some lines, but it's too low, OpenGrok can theoretically handle 50000 with 8G heap 76 if (ctags != null) { 77 ctags.destroy(); 96 // universal ctags are however safe, so enabling for them 114 //Ideally all below should be in ctags, or in outside config file, 116 //Also note, that below ctags definitions HAVE to be in POSIX 151 //temporarily use our defs until ctags wil [all...] |
/opengrok/src/org/opensolaris/opengrok/analysis/plain/ |
H A D | PlainAnalyzer.java | 79 if (fullpath != null && ctags != null) { 80 defs = ctags.doCtags(fullpath + "\n");
|
/opengrok/src/org/opensolaris/opengrok/index/ |
H A D | IndexDatabase.java | 114 private Ctags ctags; field in class:IndexDatabase 327 ctags = new Ctags(); 328 ctags.setBinary(ctgs); 330 if (ctags == null) { 331 LOGGER.severe("Unable to run ctags! searching definitions will not work!"); 334 if (ctags != null) { 337 ctags.setCTagsExtraOptionsFile(filename); 423 if (ctags != null) { 425 ctags.close(); 428 "An error occured while closing ctags proces [all...] |
/opengrok/src/org/opensolaris/opengrok/configuration/ |
H A D | Configuration.java | 69 private String ctags; field in class:Configuration 258 setCtags(System.getProperty("org.opensolaris.opengrok.analysis.Ctags", "ctags")); 351 return ctags; 354 public void setCtags(String ctags) { argument 355 this.ctags = ctags;
|
H A D | RuntimeEnvironment.java | 470 * Get the name of the ctags program in use 472 * @return the name of the ctags program in use 481 * @param ctags the ctags program to use 483 public void setCtags(String ctags) { argument 484 threadConfig.get().setCtags(ctags); 508 * Validate that I have a Exuberant ctags program I may use 537 * Are we using Universal ctags? 539 * @return true if we are using Universal ctags
|
/opengrok/platform/solaris/ips/ |
H A D | create.sh | 212 PKG pkgsend add file doc/ctags.config mode=0444 owner=root group=sys path=/usr/opengrok/doc/ctags.config 240 # Following line gets commented by that the developer/tool/exuberant-ctags has been removed from IPS 241 # This has to stay commented until the next release of Solaris will contain the exhuberant ctags package 242 #PKG pkgsend add depend fmri=pkg:/developer/tool/exuberant-ctags type=require
|
/opengrok/ |
H A D | OpenGrok | 27 # switch), default is DATA_ROOT/etc/ctags.config 230 # REQUIRED: Exuberant CTags (http://ctags.sf.net) 236 elif [ -r "${OPENGROK_INSTANCE_BASE}/etc/ctags.config" ]; then 237 CTAGS_OPTIONS_FILE="${OPENGROK_INSTANCE_BASE}/etc/ctags.config" 477 # Search for Exuberant ctags intelligently, skipping 478 # over other ctags implementations. 482 for program in ctags-exuberant exctags ctags; do
|