2 Replies Latest reply: Apr 18, 2013 6:54 AM by 996326 RSS

    Deploying not *.class files

    996326
      Greetings:

      I have a web project where I use Velocity templates. My *.vm files are located in a subdirectory called templates inside adfmsrc folder. Consequently, we could say that they are in templates package. However, when I tried call these VM files I got a ResourceNotFoundException. Analyzing the directory where my web application was deployed ( C:/Oracle/Middleware/jdeveloper/system11.1.1.6.38.62.29/o.j2ee/drs/MyWebApp ) I saw that templates folder and its VM files are not in WEB-INF/classes. My conclusion was that JDeveloper was not deploying templates package. In Project properties dialog I went to Project Source Paths -> Resources, Included tab and added adfmsrc/templates subfolder. But even then it did not work. Does someone have a beter suggestion?

      Thanks,

      Rafael Afonso