pag-lab / jchord

Automatically exported from code.google.com/p/jchord
0 stars 0 forks source link

v2.0a chord.scope.kind=cha documented but not allowed #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
jChord 2.0a HTML user guide documents property/value chord.scope.kind=cha but 
it's not allowed at src/java/chord/project/Properties.java:77. 

Original issue reported on code.google.com by mab.m...@gmail.com on 17 Nov 2010 at 12:00

GoogleCodeExporter commented 9 years ago
I believe this bug report is invalid. 

Properties.java is obsolete and hasn't been in Trunk in a long time. Cha is 
present in Trunk. I don't know how well it works though -- I haven't had much 
success with it.

Original comment by asrabkin@gmail.com on 18 Nov 2010 at 5:21

GoogleCodeExporter commented 9 years ago
Cha still documented in 8/14/10 user guide. If it's problemmatic, I won't try 
to use it.

What do y'all recommend as the best jChord version to grab and run with?

Original comment by mab.m...@gmail.com on 30 Nov 2010 at 4:21

GoogleCodeExporter commented 9 years ago
Hi, we are planning a major release in December.  Meanwhile, please use the 
latest svn from the trunk, and email me if you run into any problems.

The most commonly used scope construction algorithm is rta.  I believe cha 
should work correctly too, but it can result in very large call graphs.  If you 
want to use cha, then the property to set is chord.scope.kind=cha (default is 
'rta').  In this case you also have the choice of setting 
chord.ch.kind=[static|dynamic] (default is 'static'; 'dynamic' results can 
result in much smaller call graph but it will run your program).  To eliminate 
most warnings, you can set DEFAULT_SCOPE_EXCLUDES in 
main/src/java/chord/project/Config.java to "mainClassPathPackages" (i.e. do not 
exclude packages like sun., com.sun., com.ibm., etc.).

Original comment by mayur.naik on 30 Nov 2010 at 7:13