清理基于Play框架的项目

sof*_*sof 11 java scala sbt playframework

运行一个新Play-framework 2.0的项目后,我没能清理它 - 生成的工作人员坚持下面,

 $ play new myapp
   > app name: myapp
   > template: java app

myapp/
??? app
?   ??? controllers
?   ??? views
??? conf
??? project
??? public
    ??? images
    ??? javascripts
    ??? stylesheets

$ cd myapp
$ play
  [myapp] run 12345
Run Code Online (Sandbox Code Playgroud)

CtrlD

  [myapp] clean

myapp/
??? app
?   ??? controllers
?   ??? views
??? conf
??? logs
??? project
?   ??? project
?   ?   ??? target
?   ?       ??? config-classes
?   ??? target
?       ??? scala-2.9.1
?       ?   ??? sbt-0.11.2
?       ?       ??? cache
?       ?       ?   ??? compile
?       ?       ?   ??? update
?       ?       ??? classes
?       ??? streams
?           ??? compile
?           ?   ??? compile
?           ?   ?   ??? $global
?           ?   ??? compile-inputs
?           ?   ?   ??? $global
?           ?   ??? copy-resources
?           ?   ?   ??? $global
?           ?   ??? defined-sbt-plugins
?           ?   ?   ??? $global
?           ?   ??? $global
?           ?       ??? $global
?           ??? $global
?               ??? compilers
?               ?   ??? $global
?               ??? ivy-configuration
?               ?   ??? $global
?               ??? ivy-sbt
?               ?   ??? $global
?               ??? project-descriptors
?               ?   ??? $global
?               ??? update
?                   ??? $global
??? public
?   ??? images
?   ??? javascripts
?   ??? stylesheets
??? target
Run Code Online (Sandbox Code Playgroud)

我怎样才能成功清理它?

Dan*_*ton 18

play clean-all
Run Code Online (Sandbox Code Playgroud)

http://www.playframework.org/documentation/2.0/PlayConsole

  • `clean-all`不再适用于较新版本. (4认同)

MD.*_*med 18

clean-all不再有效.
一切你需要的 :

activator clean-files
Run Code Online (Sandbox Code Playgroud)

请参阅:https://www.playframework.com/documentation/2.3.x/PlayConsole