Does the default configuration in Play 2.0 raise an IOException?

Is this a bug with the default setting for Play 2.0? I just installed Play 2.0, and when I create the application for the first time, I get the following:

Error during sbt execution: java.io.IOException: Cannot write parent directory: Path(/home/hanxue/play/myFirstApp/app) of /home/hanxue/play/myFirstApp/app/views

There are no write permissions in the application subdirectory:

hanxue@ubuntu-dev:~/play$ ls -l myFirstApp/
total 16
dr-xr-xr-x 2 hanxue hanxue 4096 2012-03-13 11:22 app

It seems that the $ PLAY / framework / sbt / boot / directory should be accessible to the whole world or play otherwise, throws an IOException about the impossibility of creating /opt/play-2.0/framework/sbt/boot/sbt.boot.lock . Is it for design?

I solved this by giving him access to the world record.

chmod -R o+w /opt/play-2.0/framework/sbt/boot/
+3
source share
1 answer

, sbt ( play-2.0 - sbt). Sbt , , , play-2.0, . , /opt/play-2.0/repository.

+3

All Articles