Question about Web Resource Directories
I'm in a project that has the web-files in a directory where the images and javascript are subfolders of the html-directory. Like this:
html
+---images
+---javascript
In the "Web Resource Directories" part of the "Web-Settings"-tab in the web-facet I have created a web recource dir that points to the html-dir and "Path Relative to Deployment Root" is "/"
However, the images and javascript directories are not copied to my exploded directory, what am I doing wrong?
I'm using IDEA 7.0.1.
/Jörgen Lundberg
请先登录再写评论。
Are you sure that exploded directory is correctly configured in Project
Settings | Web facet | "JavaEE build settings" tab?
I have "create web module exploded directory" checked.
The html- and jsp-files in the top directory (html) are copied correctly but not the subdirectories.
Hm, in the compiler settings: Are the extensions of your js and image files configured to let Idea copy them?
Jörgen Lundberg wrote:
May be your folders are marked as exluded in Project Structure ->
Modules -> -> Sources? Or your files satisfy patterns in Settings -> General ->]]> "Ignore files and folders" field?
Nope, none of of those two.
But, today when I restarted IDEA the files get copied to the exploded directory correctly...
Thanks for the help anyway.
/Jörgen