Clean up Play-framework based project

17,229

Solution 1

play clean-all

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

Solution 2

clean-all no longer works.
All you need :

activator clean-files

See : https://www.playframework.com/documentation/2.3.x/PlayConsole

Share:
17,229
sof
Author by

sof

Updated on June 25, 2022

Comments

  • sof
    sof almost 2 years

    After running a new Play-framework 2.0 based project, i failed to clean it - the generated staff persisted below,

     $ 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

      [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?

  • MD. Mohiuddin Ahmed
    MD. Mohiuddin Ahmed over 9 years
    clean-all is no longer working with newer versions.