File tree 4 files changed +40
-6
lines changed
4 files changed +40
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ The java-callgraph package is build with maven. Install maven and do:
17
17
mvn install
18
18
</code >
19
19
20
- This will produce a ` target ` directory with two jars
20
+ This will produce a ` target ` directory with two executable jars:
21
21
22
22
#### Examples
23
23
35
35
-jar dacapo-9.12-bach.jar batik -s small
36
36
</code >
37
37
38
+ <code >
39
+ java -Xbootclasspath:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar: jar /lucene-core-2.4.jar: jar /luindex.jar -javaagent: target /javacg-0.1-SNAPSHOT-dycg-agent.jar="incl=org.apache.lucene.* ;" -jar dacapo-9.12-bach.jar luindex -s small
40
+ </code >
41
+
38
42
#### Known Restrictions
39
43
40
44
* The static call graph generator does not account for methods invoked via
Original file line number Diff line number Diff line change 21
21
<fileSets >
22
22
<fileSet >
23
23
<includes >
24
- <include >** /*.class</include >
24
+ <include >gr/gousiosg/javacg/dyn /*.class</include >
25
25
</includes >
26
26
<directory >target/classes</directory >
27
27
<outputDirectory >/</outputDirectory >
Original file line number Diff line number Diff line change
1
+ <assembly
2
+ xmlns =" http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd" >
5
+
6
+ <id >static</id >
7
+ <formats >
8
+ <format >jar</format >
9
+ </formats >
10
+ <includeBaseDirectory >false</includeBaseDirectory >
11
+
12
+ <dependencySets >
13
+ <dependencySet >
14
+ <unpack >true</unpack >
15
+ <includes >
16
+ <include >org.apache.bcel:bcel</include >
17
+ </includes >
18
+ <scope >provided</scope >
19
+ </dependencySet >
20
+ </dependencySets >
21
+ <fileSets >
22
+ <fileSet >
23
+ <includes >
24
+ <include >gr/gousiosg/javacg/stat/*.class</include >
25
+ </includes >
26
+ <directory >target/classes</directory >
27
+ <outputDirectory >/</outputDirectory >
28
+ </fileSet >
29
+ </fileSets >
30
+ </assembly >
Original file line number Diff line number Diff line change 18
18
<groupId >org.apache.bcel</groupId >
19
19
<artifactId >bcel</artifactId >
20
20
<version >5.2</version >
21
- <scope >compile </scope >
21
+ <scope >provided </scope >
22
22
</dependency >
23
23
<dependency >
24
24
<groupId >javassist</groupId >
35
35
<version >2.2.1</version >
36
36
<configuration >
37
37
<descriptors >
38
- <descriptor >assembly.xml</descriptor >
38
+ <descriptor >assembly-dyn.xml</descriptor >
39
+ <descriptor >assembly-st.xml</descriptor >
39
40
</descriptors >
40
41
<archive >
41
42
<manifestEntries >
42
43
<Can-Redefine-Classes >true</Can-Redefine-Classes >
43
44
<Premain-Class >gr.gousiosg.javacg.dyn.Instrumenter</Premain-Class >
45
+ <Main-Class >gr.gousiosg.javacg.stat.JCallGraph</Main-Class >
44
46
</manifestEntries >
45
47
</archive >
46
48
</configuration >
62
64
<target >1.5</target >
63
65
</configuration >
64
66
</plugin >
65
-
66
67
</plugins >
67
-
68
68
</build >
69
69
</project >
You can’t perform that action at this time.
0 commit comments