I currently have set up Grails 2.3.0 and 2.3.11 inside /opt
directory. How I avoid re-installing by making GVM recognize them as existing candidates?
Asked
Active
Viewed 194 times
2

Alexander Suraphel
- 10,103
- 10
- 55
- 90
-
1i think simlink to `~/.gvm/grails/` will help – Igor Artamonov Oct 13 '14 at 08:46
1 Answers
2
Move each of the directories to ~/.gvm/grails/<version>
(e.g. from /opt/grails-2.4.3
to ~/.gvm/grails/2.4.3
) and symlink those back to /opt
... or vice versa.
EDIT for sdkman
sdkman replaced GVM. use ~/.sdkman
instead of ~/.gvm

cfrick
- 35,203
- 6
- 56
- 68
-
Thanks! Do I symlink all the files or the top directory? Can you `ls` and send me one of your `~/.gvm/grails/
`? – Alexander Suraphel Oct 13 '14 at 08:49 -
@AlexanderSuraphel I have added an example, that should make this clear – cfrick Oct 13 '14 at 08:54
-
Thanks! Got it now. when do I symlink to for my existing groovy installations? – Alexander Suraphel Oct 13 '14 at 08:57
-