You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.properties 4.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # Version controlled properties for profiling ant script
  2. # You can locally override properties defined here by placing
  3. # them in a project.properties file in the same directory.
  4. #
  5. # Do not check your project.properties file into CVS!
  6. # directory containing aspectj libraries (aspectj[tools|weaver|rt].jar)
  7. aspectj.lib.dir=../../aj-build/dist/tools/lib
  8. # root directory of your workspace containing the aspectj tree (if
  9. # using head for profiling as opposed to a built version of aspectj)
  10. aspectj.workspace.root=../..
  11. # set this property to false in your project.properties to use the contents of your workspace
  12. # for compilation, as opposed to the jars in aspectj.lib.dir
  13. use.aspectjtools.jar=true
  14. # the iajc task that ships with 1.5.0 or any prior release does
  15. # not support the need <jvmarg> nested attribute that this
  16. # profiling script needs. To profile AspectJ versions < 1.5.1,
  17. # use the local copy of AjcTask in the "classes" folder by
  18. # defining the following property
  19. use.local.iajc.task.class=true
  20. # directory in which results will be placed
  21. results.dir=results
  22. # source and target levels for compilation
  23. source.level=1.5
  24. target.level=1.5
  25. # the maximum memory to make available for the compilation/weaving
  26. ajc.maxmem=768m
  27. # the name of the file containing the path definitions needed to compile
  28. # a particular target application as the subject of the profiling
  29. # we profile the compilation and weaving of spring 1.2.6 by default.
  30. target.application.definitions.file=./spring-1.2.6.xml
  31. # target application name, used as the subdirectory under results to store
  32. # profiling results
  33. target.application.name=spring-1.2.6
  34. # source root directory for the aspects you want to compile and weave alongside
  35. # the target application (unless it contains sufficient aspects on its own...)
  36. test.aspects.src.dir=./aspects/simple-suite/src
  37. # installation dir of a spring-1.2.6 distribution. you will need to set this
  38. # in project.properties unless you point the target.application.definitions.file
  39. # to compile a different target application altogether.
  40. spring.install.dir=must-set-spring.install.dir-property-in-project.properties
  41. # for binary and loadtime weaving, the location of the jar file that will be
  42. # woven into
  43. weave.injar=${spring.install.dir}/dist/spring.jar
  44. # location of aop.xml file to be included when load-time weaving
  45. # use this to control the set of types exposed to the weaver so as to
  46. # match the set of types woven in the other modes for fair comparisons
  47. # across weave times
  48. ltw.aop.xml=./ltw-app/META-INF/aop.xml
  49. # args to pass to vm for hprof run
  50. #
  51. # hprof usage: java -agentlib:hprof=[help]|[<option>=<value>, ...]
  52. #
  53. # Option Name and Value Description Default
  54. # --------------------- ----------- -------
  55. # heap=dump|sites|all heap profiling all
  56. # cpu=samples|times|old CPU usage off
  57. # monitor=y|n monitor contention n
  58. # format=a|b text(txt) or binary output a
  59. # file=<file> write data to file java.hprof[.txt]
  60. # net=<host>:<port> send data over a socket off
  61. # depth=<size> stack trace depth 4
  62. # interval=<ms> sample interval in ms 10
  63. # cutoff=<value> output cutoff point 0.0001
  64. # lineno=y|n line number in traces? y
  65. # thread=y|n thread in traces? n
  66. # doe=y|n dump on exit? y
  67. # msa=y|n Solaris micro state accounting n
  68. # force=y|n force output to <file> y
  69. # verbose=y|n print messages about dumps y
  70. # see http://java.sun.com/developer/technicalArticles/Programming/HPROF.html
  71. hprof.args=-agentlib:hprof=heap=sites,cpu=samples
  72. # for full details on object allocation and reachability use heap=all instead
  73. # (v. large files)
  74. # for full timing info use cpu=times (much slower)
  75. # for Java 1.4 and below use the following style instead
  76. # hprof.args=-Xrunhprof:cpu=times
  77. # args to pass to vm for gc run
  78. # after a run this file will be copied into results/${target.application.name}/gt.<date-time>.txt
  79. # you can analyze it with JTune (http://www.hp.com/products1/unix/java/java2/hpjtune/index.html)
  80. # Start JTune with java -jar HPTune.jar
  81. gc.args=-Xloggc:gc.txt