Question about Web Resource Directories

This is a discussion on Question about Web Resource Directories within the J2EE forums in Framework and Interface Programming category; 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...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-08-2007, 08:21 AM
=?UTF-8?Q?J=C3=B6rgen_Lundberg?=
Guest
 
Default 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
Reply With Quote
  #2  
Old 11-08-2007, 09:09 AM
Nikolay Chashnikov (JetBrains)
Guest
 
Default Re: Question about Web Resource Directories

Are you sure that exploded directory is correctly configured in Project
Settings | Web facet | "JavaEE build settings" tab?


> 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

Reply With Quote
  #3  
Old 11-08-2007, 09:23 AM
=?UTF-8?Q?J=C3=B6rgen_Lundberg?=
Guest
 
Default Re: Question about Web Resource Directories

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.
Reply With Quote
  #4  
Old 11-08-2007, 01:44 PM
Stephen Friedrich
Guest
 
Default Re: Question about Web Resource Directories

Hm, in the compiler settings: Are the extensions of your js and image files configured to let Idea copy them?

Jörgen Lundberg wrote:
> 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.

Reply With Quote
  #5  
Old 11-09-2007, 03:00 AM
Nikolay Chashnikov (JetBrains)
Guest
 
Default Re: Question about Web Resource Directories

May be your folders are marked as exluded in Project Structure ->
Modules -> <Your module> -> Sources? Or your files satisfy patterns in
Settings -> General -> "Ignore files and folders" field?

> 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.

Reply With Quote
  #6  
Old 11-09-2007, 07:03 AM
=?UTF-8?Q?J=C3=B6rgen_Lundberg?=
Guest
 
Default Re: Question about Web Resource Directories

> May be your folders are marked as exluded in Project Structure ->
> Modules -> <Your module> -> 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
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:24 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.