jcrossley3 / lein-modules

An alternative to Maven multi-module projects in Leiningen
Eclipse Public License 1.0
83 stars 16 forks source link

Windows Compatibility #23

Closed timur-han closed 10 years ago

timur-han commented 10 years ago

Hi,

When I try to run the modules on Windows, the process ends with the following error. I had no problem under Ubuntu and I can execute the task desired in each submodule.


java.io.IOException: Cannot run program "lein" (in directory "C:\Users\timur\dev\workspaces\ipsm\ipsm-model"): CreatePro cess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start (ProcessBuilder.java:1048)

jcrossley3 commented 10 years ago

Try setting the :subprocess option to "lein.bat". Its default value is "lein" which probably doesn't work on windows.

timur-han commented 10 years ago

Yes it worked, when I changed it to "lein.bat" Still, it would ease the development process if it could be run on the windows and linux machines with the same configuration :-)

On Tue, Oct 14, 2014 at 5:31 PM, Jim Crossley notifications@github.com wrote:

Try setting the :subprocess option to "lein.bat". Its default value is "lein" which probably doesn't work on windows.

— Reply to this email directly or view it on GitHub https://github.com/jcrossley3/lein-modules/issues/23#issuecomment-59065187 .