My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 17: Ivy auto-resolve should be an option
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  laurent.foret
Closed:  Feb 2009
Type-Enhancement
Priority-Medium
Affect-1.1-M1
Fix-1.1-M2


Sign in to add a comment
 
Reported by droozenr...@gmail.com, Nov 14, 2008
Environment : ivybeans 1.1 M1, netbeans 6.5 RC2 , Windows XP , jdk N/A

Description :

Whenever I start Netbeans, all my Ivy Enabled projects attempt to resolve.
I would like Auto-resolving, upon Netbeans start up and save of ivy.xml, to
be an option in the Project Properties.
Comment 1 by laurent.foret, Nov 16, 2008
I am not sure I will implement it. Because, the classpathprovider depends on that ivy
resolution.

Why do you want that issue ? Performance ?
Labels: -Type-Defect Type-Enhancement Affect-1.1-M1
Comment 2 by droozenr...@gmail.com, Nov 18, 2008
There are a few reasons why I think this plugin could benefit from this. 

Performance is one. Netbeans already loads up relatively slowly and for my projects,
probably others as well, I saved and resolved the night before, I see no reason to
resolve when I log in just so that ivy can resolve again when I make changes and
build my project again later.

Also, a user can be in the course of making several changes to an ivy.xml file
(especially upon first configuring a Project for ivy, in my case). I myself might
tend to save my file before I'm ready for it to resolve; I often save a file before
switching to another file, perhaps to look up whatever jars I might need. It can be
frustrating for ivy to resolve automatically each time I save ivy.xml (and have
errors then show up in my project that I have to open and save each file in my
project, from  issue 13 ). I think it would be improper to force a particular usage on
the user if not necessary.

I think it's a great plugin, so far! Just trying to help! :)
Comment 3 by laurent.foret, Nov 18, 2008
Thanks alot for the compliment and all your feed back. It really helps.

A compromise can be :

- Always trigger an ivy resolution while opening the project. The CPProvider should 
be well "feed" at least once.
- make optional the resolution on save of ivy.xml or the settings file.



Status: Accepted
Comment 4 by droozenr...@gmail.com, Nov 18, 2008
Yeah, that should be fine.
Comment 5 by laurent.foret, Jan 18, 2009
(No comment was entered for this change.)
Status: Started
Comment 6 by laurent.foret, Feb 01, 2009
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivybeans\module\IvyLibraryController.java
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivybeans\module\customizer\Bundle.properties
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivybeans\module\customizer\CompositeCategoryProviderImpl.java
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivybeans\module\customizer\CustomizerIvy.form
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivybeans\module\customizer\CustomizerIvy.java
Sending       
D:\scm\svn\code.google\ivybeans\trunk\ivybeans\ivy-module\src\com\googlecode\ivybeans\module\customizer\IvyLibraryUi.java
Transmitting file data ......
Committed revision 236.
Status: Fixed
Labels: Fix-1.1-M2
Sign in to add a comment

Hosted by Google Code