sbalough / ivyidea

Automatically exported from code.google.com/p/ivyidea
0 stars 0 forks source link

Establish a predictable order of dependencies in .iml files #140

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On an existing Ivy-configured module that's under VCS, run "remove all 
resolved libraries"
2. Now on the same module, run "Resolve for YYY module"
3. Look at the VCS changes in the module .iml file: the order of the resolved 
libraries is markedly different.

What is the expected output? What do you see instead?
I would prefer that the libraries are added to the .iml file in a predicable 
order that's not based on the existing order. This would reduce needless VCS 
conflicts amongst our team.

What version of the product are you using? On what operating system?
IntelliJ IDEA 13.1.6
Build #IU-135.1306, built on November 12, 2014
JRE: 1.7.0_60-b19 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
IvyIDEA: 1.0.10

Please provide any additional information below.
Contrary to Issue 98, I think it's appropriate that the .iml file has the 
modules library dependencies, and I don't have a problem with the 
relative-to-$USER_HOME$ entries in there. We don't get collisions because of 
$USER_HOME$ being in the path, we get collisions because on resolve, IvyIDEA 
re-orders the jar files within the .iml file. This is especially true if you 
run "remove all resolved libraries" (which is a go-to strategy for me when I'm 
not getting the library updates I'm expecting).

Original issue reported on code.google.com by zjacob...@paypros.com on 15 Dec 2014 at 9:10

GoogleCodeExporter commented 8 years ago
Related to Issue 48 also.

Original comment by zjacob...@paypros.com on 16 Dec 2014 at 11:22