Adding initial windows support for the Play! Framework 2.0 preview

192 views
Skip to first unread message

Brian Nesbitt

unread,
Sep 8, 2011, 1:10:20 PM9/8/11
to play-fr...@googlegroups.com
Hey guys.  I have created the necessary .bat scripts for intital Windows support for the 2.0 preview.  I have blogged about it here.


I posted this in the introduction to 2.0 thread but also added it here in case others don't see it buried in the responses.

Brian Nesbitt

unread,
Sep 8, 2011, 5:13:14 PM9/8/11
to play-fr...@googlegroups.com
As pointed out today this outputs various ANSI color codes that don't work under windows.  There aren't many so they don't really get in the way, we just don't get color at the moment.

For example when creating a new project in a directory that contains files you get an error message in red:
The directory is not empty, cannot create a new application here.

Well on windows at the moment you get:
←[31mThe directory is not empty ME, cannot create a new application here.←[0m

When I run the sh.exe that comes with the git for windows package (msysgit) and execute the following script I get color:
printf "\n\033[31mThis is red\033[0mThis is reset\n"
printf "\n\033[34mThis is blue\033[0m\n"

so its definitely possible but probably not high priority or worth the potential effort it might take.  you can always use virtual box to have linux running locally or cygwin

Ivan Meredith

unread,
Sep 8, 2011, 5:31:24 PM9/8/11
to play-fr...@googlegroups.com
This is an issue under jenkins also.

> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/play-framework/-/5MaWnDzluHcJ.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>

Brian Nesbitt

unread,
Sep 9, 2011, 9:09:02 AM9/9/11
to play-fr...@googlegroups.com
I have posted another entry about adding ANSI support.

Reply all
Reply to author
Forward
0 new messages