@@ -9,31 +9,29 @@ http://stackoverflow.com/questions/4279611/how-to-embed-a-video-into-github-read
99Download
1010--------
1111
12- Extract `scalive-1.0.zip <TODO >`_ you will see:
12+ Extract `scalive-1.0.zip <TODO >`_, you will see:
1313
1414::
1515
1616 scalive/
1717 scalive
1818 scalive.bat
19- scalive-client-1.0.jar
20- scalive-agent-1.0.jar
21- scalive-repl-1.0.jar
22- 2.10.2/
23- scala-library-2.10.2.jar
24- scala-compiler-2.10.2.jar
25- scala-reflect-2.10.2.jar
26- 2.10.3/
27- scala-library-2.10.3.jar
28- scala-compiler-2.10.3.jar
29- scala-reflect-2.10.3.jar
19+ scalive-1.0.jar
20+
21+ scala-library-2.10.2.jar
22+ scala-compiler-2.10.2.jar
23+ scala-reflect-2.10.2.jar
24+
25+ scala-library-2.10.3.jar
26+ scala-compiler-2.10.3.jar
27+ scala-reflect-2.10.3.jar
3028
3129scala-library, scala-compiler, and scala-reflect of the appropriate version
3230will be loaded to your running JVM process, if they have not been loaded.
3331
34- JARs for Scala 2.10.2 and 2.10.3 are preincluded for convenience . If your Scala
32+ For convenience, Scala 2.10.2 and 2.10.3 JARs are preincluded. If your Scala
3533process is using a different version, you need to manually download the
36- corresponding JARS and save them as above.
34+ corresponding JARs and save them as above.
3735
3836Usage
3937-----
@@ -52,13 +50,6 @@ To connect a Scala REPL console to a process:
5250
5351 scalive <pid>
5452
55- If there are multiple class loaders in the process, Scalive will list them so
56- that you can choose. Then you run again:
57-
58- ::
59-
60- scalive <pid> <class-loader-id>
61-
6253How it works
6354------------
6455
@@ -73,27 +64,14 @@ Known issues
7364
74651.
7566
76- Please read:
77- http://www.scala-lang.org/old/node/8002
78-
79- The Scala REPL console needs to know the classpath used by the target process so
80- that it can compile the code you type at the console on the fly. Scalive tries
81- to get the classpath from the class loader for you.
82-
83- It's easy when the class loader is of type `URLClassLoader <http://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.html >`_
84- (just call ``getURLs ``). But when the class loader is of other type
85- (like `ClasspathFilter <http://www.scala-sbt.org/release/api/index.html#sbt.classpath.ClasspathFilter >`_
86- when the process is started by `SBT <http://www.scala-sbt.org/ >`_), Scalive must
87- solve the problem in the "case by case" style.
88-
89- Currently, Scalive only supports these process types:
90-
91- * Process with only one class loader (normal standalone JVM process, like
92- `Play <http://www.playframework.com/ >`_ or
93- `Xitrum <http://ngocdaothanh.github.io/xitrum/ >`_).
94- * Process started by SBT ``run ``.
67+ For simplicity and to avoid memory leak when you attach/detach many times,
68+ Scalive only supports processes with only the default system class loader,
69+ without additional class loaders (Ex: normal standalone JVM processes, like
70+ `Play <http://www.playframework.com/ >`_ or
71+ `Xitrum <http://ngocdaothanh.github.io/xitrum/ >`_ in production mode).
9572
96- If your process/class loader is not supported, please `create an issue <https://github.com/ngocdaothanh/scalive/issues >`_.
73+ Processes with multiple class loaders like
74+ `SBT <http://www.scala-sbt.org/ >`_ are not supported.
9775
98762.
9977
0 commit comments