Skip to content

Commit 2f11e86

Browse files
committed
finish documenting (jacoco, regexps for ctags)
1 parent 37187cd commit 2f11e86

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,10 +702,9 @@ Now you can instrument your classes and test them run:
702702

703703
$ ant -Djacoco=true -Djacoco.home=/<path_to>/jacoco jacoco-code-coverage
704704

705-
Now you should get output data in .
705+
Now you should get output data in jacoco.exec
706706

707-
Look at coverage/coverage.txt, coverage/coverage.xml and
708-
coverage/coverage.html to see how complete your tests are.
707+
Look at jacoco/index.html to see how complete your tests are.
709708

710709
9.4 Using Checkstyle
711710
--------------------

src/org/opensolaris/opengrok/analysis/Ctags.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ private void initialize() throws IOException {
9696

9797
//Ideally all below should be in ctags, or in outside config file,
9898
//we might run out of command line SOON
99+
100+
//Also note, that below ctags definitions HAVE to be in POSIX
101+
//otherwise the regexp will not work on some platforms
102+
//on Solaris regexp.h used is different than on linux (gnu regexp)
103+
//http://en.wikipedia.org/wiki/Regular_expression#POSIX_basic_and_extended
104+
99105
command.add("--langdef=scala"); // below is bug 61 to get full scala support
100106
command.add("--langmap=scala:.scala");
101107
command.add("--regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*class[[:space:]]+([a-zA-Z0-9_]+)/\\4/c,classes/");

0 commit comments

Comments
 (0)