facebook

Disabling of automatic cleaning of WEB-INF/classes?

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #281727 Reply

    jyutzler
    Member

    My current development workflow is as follows:

      another team provides a .war file containing a skeleton web application
      I explode the web application (using Maven, FWIW) and set up a web project on top of it
      I develop something useful in a parallel directory
      An ANT process copies my files on top of the skeleton web application
      I use MyEclipse to deploy the application to my app servers for development and testing
      When I am done, I repackage the .war file and pass it on to the next group

    Under normal circumstances this process works fine, but now I’m running into problems. The other team has started putting a number of files into the WEB-INF/classes directory of the web application. These files are summarily deleted by MyEclipse because WEB-INF/classes is treated as an output directory. It appears that my only workaround is to copy these files into a source directory (before MyEclipse has a chance to delete them) so that they are automatically copied back to where they belong, but it is error prone (and frankly lame) to have to do this.

    Is there any way to disable this automatic cleaning process so that I do not have to deal with this problem?

    #281759 Reply

    Loyal Water
    Member

    You will have to go to Windows > Prefs > Java > Complier > Building > Output Folder and uncheck the “Scrub output folders when cleaning projects” option. This option indicates whether the Java Builder is allowed to clean the output folders when performing full build operations. I guess this is what you are looking for.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Disabling of automatic cleaning of WEB-INF/classes?

You must be logged in to post in the forum log in