facebook

Resource files in WEB-INF/classes files were deleted

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #224241 Reply

    Clarence Ho
    Member

    I used MyEclipse to create a new web project, and have put some resource files (e.g. log4j.properties) into the folder “WEB-INF/classes”. However, every time I modified some java source file and do a project rebuild, Eclipse will delete all the resource files that I put under that directory.

    Kindly advice if there is any way to avoid this.

    Regards
    Clarence

    #224245 Reply

    Patryn
    Member

    Look in the project properties, default output path in java build properties, there is for sure given WebRoot/classes as path.
    All sources are compiled or copied to this dir, other content in this dir will be deleted.
    You should copy your property files to one given source directory, e.g. an extra property directory and add it as source dir.


    André

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Resource files in WEB-INF/classes files were deleted

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