History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22432
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Nikolay Chashnikov
Reporter: Stephen Friedrich
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

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

Created: 11 Oct 07 12:00   Updated: 04 Jul 08 20:11
Component/s: Project Configuration, J2EE
Fix Version/s: Diana 8526, Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. classes.png
(6 kb)

2. lib.png
(6 kb)

Build: 7,343
Fixed in build: 8,513
Severity: High


 Description  « Hide
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".



 All   Comments   Work Log   Change History      Sort Order:
Stephen Friedrich - 11 Apr 08 02:31
Bump. Just fell into that trap again.

Stephen Friedrich - 01 Jul 08 16:20
Was that a big/risky change to make?
I feel this is worth fixing in Selena, too.

Nikolay Chashnikov - 01 Jul 08 16:46
OK, I will backport the fix.

Alexander Chernikov - 04 Jul 08 19:53
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 - 04 Jul 08 20:11
Several more experiments in Selena have given correct results. Hm...