From: <ju...@us...> - 2017-05-10 23:27:17
|
Revision: 8891 http://sourceforge.net/p/smartfrog/svn/8891 Author: julgui Date: 2017-05-10 23:27:14 +0000 (Wed, 10 May 2017) Log Message: ----------- File to call sfhome automatically in windows env Added Paths: ----------- trunk/core/smartfrog/bin/setSFHOME.bat trunk/core/smartfrog/bin/sfhome.bat Added: trunk/core/smartfrog/bin/setSFHOME.bat =================================================================== --- trunk/core/smartfrog/bin/setSFHOME.bat (rev 0) +++ trunk/core/smartfrog/bin/setSFHOME.bat 2017-05-10 23:27:14 UTC (rev 8891) @@ -0,0 +1,13 @@ +@echo off +rem ------------------------------------------------------ +rem SET SFHOME property if not set before to <smartfrog_dist>. +rem Call this script from Smartfrog Distro dir or <smartfrog_dist>/bin. +rem ------------------------------------------------------ + +if defined SFHOME goto continue1 + if exist "%cd%\sfDaemon.bat" cd .. + set SFHOME=%cd% + cd .. +:continue1 + +echo SFHOME="%SFHOME%" Added: trunk/core/smartfrog/bin/sfhome.bat =================================================================== --- trunk/core/smartfrog/bin/sfhome.bat (rev 0) +++ trunk/core/smartfrog/bin/sfhome.bat 2017-05-10 23:27:14 UTC (rev 8891) @@ -0,0 +1 @@ +cd %SFHOME% \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |