tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

Added support for Windows environment #20

Closed pschulz closed 11 years ago

pschulz commented 11 years ago

I'm pretty sure that this is not the beautiful or Scala way to solve it, so please comment and correct me. But it fixes at least the problem described.

Nevertheless there come up some more things. For instance it is not possible at the moment to interact with the yo command. You can execute it, but as soon as it requires user interaction it does not work any longer.

pschulz commented 11 years ago

Short explanaition: If you call the scripts in Windows with the prefixed built-in command "cmd /c". It solves all the issues like using the current user's session environment variables (like PATHEXT) and so on.

milliondreams commented 11 years ago

Excellent! I think the interaction or process input issue would be in SBT... Posting a query to the SBT mailing list may help.

Will merge this in the meanwhile. Thanks for the contribution!