2 Replies Latest reply on Feb 4, 2009 8:43 AM by erdem agaoglu

    special source dirs

    erdem agaoglu Newbie


      I have a seam web project which is configured to work on tomcat with hot-deployment. Project works perfectly as it creates hot-deployable components under src/hot and compiles them to WebContent/WEB-INF/dev. From what i have seen, upon deploying project to server, eclipse copies those under .metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/myproject and runs from there.

      Now I'm trying to get wicket working along with these.i simply copy this functionality by creating a new source folder(src/web) for wicket components, instructing eclipse to compile those to somewhere else, instrumenting these compiled classes with a ant script and copying instrumented classes to WebContent/WEB-INF/dev. So far so good.

      When i deploy this project to my server, eclipse copies all these to same place, but also adds compiled(not-instrumented) wicket components to WEB-INF/classes which breaks my deployment. How can i configure eclipse to compile my components but not to touch any further?