Whenever I run my application with activator run I get the following warning:
\"The system cannot find the file BIN_DIRECTORY\\..\\conf\\sbtconf
@Haim Raman. Or you could just leave the
set SBT_HOME=%BIN_DIRECTORY%
and rather define your sbtconfig.txt file location in the same activator.bat file.
i.e. pathToactivatorfolder/bin/activator.bat
So let's say if your activator is installed in "C:\activator" you do that by changing the line:
set FN=%SBT_HOME%..\conf\sbtconfig.txt.
To :
set FN=%SBT_HOME%\..\..\pathTosbtfolder\conf\sbtconfig.txt
So let's say if your sbt is installed in "C:\Program Files (x86)\sbt" (remember activator is installed in "C:\activator")
then your settings will look like this:set FN=%SBT_HOME%\..\..\Program Files (x86)\sbt\conf\sbtconfig.txt
Note that \..\..\ just means going up two directories. So you can always define your sbtconfig.txt location relative to your activator install path.