Hello, I am quite green in all of this web development and J2EE part of the world.
I've got a project and java module created in the IDE.
I've got my java sources specifed and my jsp/html etc resources specified.
When I build the project, the java files are compiled to the appropriate output path, but intellij also copies some resource files into the classes folder.
For example it after compiling I have:
...\classes\production\myproject\com\...(my compiled classes tree)
I don't understand why those extra folders and files are in the classes folder. After the build when the web module is deployed to jboss, all the resources are correctly deployed to the correct folder. The compiled classes are also deployed to the correct folder. For example:
But again this classes folder also has the extra images and WEB-INF folder.
The same images folder is off course also in C:\jboss-4.0.5.GA\server\default\deploy\myproject.war\images and that is the only place it should be.
There are other files that are duplicated in the classes folder which should not be.
I am not sure why this is happening and how to avoid it.
I would appreciate any insight.