The changingPattern on your chain resolver isn't propagated to it's child resolvers (I think there is already an open JIRA issue for this). What happens if you define the changingPattern on your "internal" and "maven2" resolvers?
Maarten ----- Original Message ---- From: RonVen <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, November 6, 2008 10:26:17 AM Subject: resolving with force is true problem Hello, I have a use case where module A->B->C, and I published C in the local cache. C is called practitionerData in real life. However during a retrieve of module A, it does however not update C in the cache from the local repository. Below are the settings file and the ant verbose output. Can anybody explain what I'm doing wrong here? Thanx in advance. Ron. My settings look like <ivysettings> <settings defaultResolver="local"/> <caches defaultCacheDir="${user.home}/.ivy/cache" checkUpToDate="true"> </caches> <resolvers> <chain name="local" checkmodified="true" changingPattern=".*-SNAPSHOT.jar"> <filesystem name="internal" force="true" checkmodified="true"> <ivy pattern="${user.home}/.ivy/local/[organisation]/[module]/ivy-[revision].xml" /> <artifact pattern="${user.home}/.ivy/local/[organisation]/[module]/jars/[artifact]-[revision].[ext]" /> </filesystem> <ibiblio name="maven2" m2compatible="true"/> </chain> </resolvers> <modules> <module organisation="*" name="*" resolver="local"/> </modules> </ivysettings> And the output of and is: [ivy:retrieve] == resolving dependencies com.javee#practitionerDataHibernate;SNAPSHOT->com.javee#practitionerData;SNAPSHOT [default->default] [ivy:retrieve] local: Checking cache for: dependency: com.javee#practitionerData;SNAPSHOT {default=[default]} [ivy:retrieve] local: module revision found in cache: com.javee#practitionerData;SNAPSHOT [ivy:retrieve] don't use cache for com.javee#practitionerData;latest.integration: checkModified=true [ivy:retrieve] tried C:\Documents and Settings\Ron/.ivy/local/com.javee/practitionerData/ivy-[revision].xml [ivy:retrieve] internal: found md file for com.javee#practitionerData;latest.integration [ivy:retrieve] => C:\Documents and Settings\Ron\.ivy\local\com.javee\practitionerData\ivy-SNAPSHOT.xml (SNAPSHOT) [ivy:retrieve] default-cache: revision in cache (not updated): com.javee#practitionerData;SNAPSHOT [ivy:retrieve] found com.javee#practitionerData;SNAPSHOT in local [ivy:retrieve] retrieving C:\Documents and Settings\Ron\.ivy\cache\com.javee\practitionerData\jars\practitionerData-SNAPSHOT.jar [ivy:retrieve] to C:\Java\WorkspaceJuma\PractitionerDataHibernateTest\lib\practitionerData-SNAPSHOT.jar [NOT REQUIRED] -- View this message in context: http://www.nabble.com/resolving-with-force-is-true-problem-tp20357671p20357671.html Sent from the ivy-user mailing list archive at Nabble.com.
