Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Nikolay Chashnikov 
Subsystem
J2EE 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7343
Fixed in build
8513
Subsystems
0, 0
Severity
0
  • Submitted by   Stephen Friedrich
    2 years ago (11 Oct 2007 12:00)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:54)
  • Jira: IDEA-41394
    (history, comments)

IDEA-41394

Add library => Idea wants to deploy jars in WEB-INF/classes

1
Added by <no user>
15 Sep 2009
lib.png   (6 KB)
Added by <no user>
15 Sep 2009
classes.png   (5 KB)

In a web project, create a library
when Idea asks add it to the module containing the web facet
See the web facet setting: Idea configured the library as "Copy files to" - "WEB-INF/classes".

If you select a different deployment method from the dropdown, then switch back to "Copy files to", then the path changes to the correct "WEB-INF/lib".

Issue was resolved
Comments (5)
 
History (1)
 
Links
 
Stephen Friedrich
  Stephen Friedrich
11 Apr 2008 02:31
(21 months ago)
#permalink
Bump. Just fell into that trap again.
Stephen Friedrich
  Stephen Friedrich
01 Jul 2008 16:20
(19 months ago)
#permalink
Was that a big/risky change to make?
I feel this is worth fixing in Selena, too.
Nikolay Chashnikov
  Nikolay Chashnikov
01 Jul 2008 16:46
(19 months ago)
#permalink
OK, I will backport the fix.
Alexander Chernikov
  Alexander Chernikov
04 Jul 2008 19:53
(19 months ago)
#permalink
For me it's fixed in Diana 8529, but not fixed in Selena 7894.
To reproduce I followed the description. Library was created on the project level.

A note regarding this:
If you select a different deployment method from the dropdown, then switch back to "Copy files to", then the path changes to the correct "WEB-INF/lib".

If library is empty then action name is "Copy directory" and workaround above does not work.
If library contains a jar then action name is "Copy files" and workaround above works.
Alexander Chernikov
  Alexander Chernikov
04 Jul 2008 20:11
(19 months ago)
#permalink
Several more experiments in Selena have given correct results. Hm...