Java 清理基于 Play 框架的项目
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9841024/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Clean up Play-framework based project
提问by sof
After running a new Play-framework 2.0
based project, i failed to clean it - the generated staff persisted below,
运行一个新的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
CtrlD
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
How can i succeed in cleaning it up?
我怎样才能成功地清理它?
采纳答案by Dan Burton
回答by MD. Mohiuddin Ahmed
clean-all
no longer works.
All you need :
clean-all
不再有效。
一切你需要的 :
activator clean-files
See : https://www.playframework.com/documentation/2.3.x/PlayConsole
请参阅:https: //www.playframework.com/documentation/2.3.x/PlayConsole