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

Key: IDEADEV-20974
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Anton Makeev
Reporter: Matthew Flower
Votes: 3
Watchers: 8
Operations

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

Maven refresh loses module settings for run configurations

Created: 20 Aug 07 21:46   Updated: 27 Dec 07 17:44
Component/s: Maven Integration
Fix Version/s: Selena 7.0.3

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

1. run-conf-before-and-after.jpg
(145 kb)

2. web-facet-before-and-after.jpg
(207 kb)
Environment: Mac OS X

Build: 7,123
Fixed in build: 7,589
Severity: High


 Description  « Hide
When I do a "Maven refresh" by clicking the "Synchronize" button in the maven tool window, the "Use classpath and JDK of module" setting of each of my run configuration becomes blank. I end up needing to reset all of them in order to be able to run them.

 All   Comments   Work Log   Change History      Sort Order:
Christian Nelson - 31 Oct 07 03:06
Which web/ejb modules are to be deployed (and the format: .war or exploded) is also lost on synchronize, making synchronization pretty disruptive.

Anton Makeev - 04 Dec 07 14:47
Matthew, does the problem still remains? I tried to reproduce it but I couldn't. That kind of run configuration did you use?

Christian Nelson - 04 Dec 07 19:33
With build 7584, both "run configuration" settings and web facet settings (is this IDEA-14566?) are lost on maven synchronize. I've attached two images:
  • Run Configuration settings before and after maven synchronization (run-conf-before-and-after.jpg)
  • Web Fact settings before and after maven synchronization (web-facet-before-and-after.jpg)

The changed settings are highlighted.

Maven support is configured to create regular idea modules.


Anton Makeev - 05 Dec 07 12:14
Ok, thanks. The fix will be available after 7.0.2 release.

Frédéric Donckels - 05 Dec 07 12:33
Thanks!

I'm watching this issue and this is really painful (I don't restart IntelliJ very often but I use the maven synchonize quite often)

To add an extra stuff to check:
the JavaEE settings are also lost (I manually add an application.xml and a jboss.xml because it looks like the maven settings are not handled, and after synchronization, this is lost from the facet)


Anton Makeev - 05 Dec 07 15:43
Fix will be available right AFTER 7.0.2

Matthew Flower - 07 Dec 07 23:55
Sorry I missed the conversation (vacation). I can confirm that it is still broken in 7584, and I look forward to the upcoming fix.

You may also want to check that your fix will prevent the Spring facet from losing its filesets. Those are also lost with each refresh.


Frédéric Donckels - 19 Dec 07 12:18
I don't understand the status of this issue:
Fix Version/s: Selena 7.0.3 First EAP
But, it says also:
Fixed in build: 7,589
which is not the case

Anton Makeev - 19 Dec 07 12:23
The fix will be available in upcoming 7.0.3 eap.

Moshe Bergman - 26 Dec 07 12:29
I am using 7613 and the issue is still not fixed.

(Java EE settings are lost and so are the run settings)


Anton Makeev - 26 Dec 07 14:35
You should reimport your project with 'regular modules' option.
The option 'temporary modules' is deprecated and will be removed in the next eap.

Moshe Bergman - 27 Dec 07 17:44
Wow. Thanks. I can confirm that it works