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

Key: IDEADEV-4966
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Nikolay Chashnikov
Reporter: Gibson
Votes: 0
Watchers: 0
Operations

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

Web module always sets to "Do not package" on startup

Created: 03 Mar 06 12:30   Updated: 19 Feb 07 14:40
Component/s: J2EE.Deployment and Run.Generic
Fix Version/s: 5.1.1, Demetra 5181

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. File TestProject.tgz (289 kb)


Build: 4,155
Fixed in build: 2
Severity: High


 Description  « Hide
I have a JSP module and a Java module - the JSP module depends on the Java module and the Java module exports some named module-level libraries.
In the JSP module I set the named library to "Copy files to ..." and save the config.
The next time that I start up the jsp.iml definition file has been changed and the library is set to "do not package".

To reproduce:
1) unzip the given project
2) copy the jsp.iml file somewhere safe
3) load the project into Idea
4) once the project has finished loading, compare the file jsp.iml with the copy that you made in step 2 - they are different
5) go to the module definition for JSP.iml, the library Logging is set to "do not package" and it should be "copy"

I put this as high because I have never really managed to get a stable JSP module definition since Idea 3.0 - but if this bug is fixed I think I'm finally there ...



 All   Comments   Work Log   Change History      Sort Order:
Gibson - 03 Mar 06 18:00
Aargh, if I make my project with the changed .iml file it deletes the jar files that I manually put in WEB-INF/lib (

Gibson - 06 Mar 06 13:27
And even if I change the Web Module Settings back to "copy files", every time I update my project the setting goes back to "do not package".
Not cool

Gibson - 07 Mar 06 20:03
Yay! Is there a build I can test this in before 5.1.1 gets frozen?

Nikolay Chashnikov - 09 Mar 06 09:27
You can try next Demetra EAP build.

BTW, this bug occurs only with a named module-level libraries. As a workaround you can use project-level libraries or unnamed module libraries instead.