facebook

class folder deployment

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

    colinmacleod
    Member

    I have the following structure for my web app

    
    /src/java  -> java source files
    /src/conf -> resources like properties files
    /src/groovy -> groovy source files
    /src/web -> my webroot
    

    I’d like the contents of src/conf and src/groovy to be deployed to the WEB-INF/classes directory whenever I make changes to them. I tried adding them as “Class folders” in the “Java Build Path”/Libraries but this did not seem to work.

    Is there a way to do this?

    #229168 Reply

    Riyad Kalla
    Member

    Remove them from your libraries list, and instead go to the Source tab and add them as Source folders, Eclipse will automagically copy the contents to the output folder on build.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: class folder deployment

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