On Wed, Mar 19, 2008 at 5:40 PM, Alexey Moshchenikov < [EMAIL PROTECTED]> wrote:
> Could you help to solve problem in subject > > Parts of settings > > ivy.public.repo.url = http://bf-arft-rep > ivy.public.repo.ivy.pattern = > [organisation]/[module]/ivys/ivy-[revision].xml > ivy.public.repo.artifact.pattern = > [organisation]/[module]/[type]s/[artifact]-[revision].[ext] > > <url name="public" checkmodified="true"> > <ivy > pattern="${ivy.public.repo.url}/${ > ivy.public.repo.ivy.pattern}" /> > <artifact > pattern="${ivy.public.repo.url}/${ > ivy.public.repo.artifact.pattern}" /> > </url> > > Ant: output > > [ivy:settings] public [url] > [ivy:settings] cache: null > [ivy:settings] m2compatible: false > [ivy:settings] ivy patterns: > [ivy:settings] > http://bf-arft-rep/[organisation]/[module]/ivys/ivy-[revision].xml<http://bf-arft-rep/%5Borganisation%5D/%5Bmodule%5D/ivys/ivy-%5Brevision%5D.xml> > [ivy:settings] artifact patterns: > [ivy:settings] > > http://bf-arft-rep/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]<http://bf-arft-rep/%5Borganisation%5D/%5Bmodule%5D/%5Btype%5Ds/%5Bartifact%5D-%5Brevision%5D.%5Bext%5D> > [ivy:settings] repository: public > > ..... > > > [ivy:cachefileset] don't use cache for ru.documentum#ds-common-build > ;0.0.3: > checkModified=true > [ivy:cachefileset] trying > http://bf-arft-rep/ru.documentum/ds-common-build/ivys/ivy-0.0.3.xml > [ivy:cachefileset] tried > http://bf-arft-rep/ru.documentum/ds-common-build/ivys/ivy-0.0.3.xml > [ivy:cachefileset] public: found md file for > ru.documentum#ds-common-build;0.0.3 > [ivy:cachefileset] => > http://bf-arft-rep/ru.documentum/ds-common-build/ivys/ivy-0.0.3.xml (0.0.3 > ) > [ivy:cachefileset] parser = ivy parser > Resource org/apache/ivy/plugins/parser/xml/ivy.xsd loaded from ant loader > [ivy:cachefileset] post 1.3 ivy file: using exact as default matcher > [ivy:cachefileset] found ivy file in cache for > ru.documentum#ds-common-build;0.0.3 (resolved by public): > c:\java\ivy-cache\ru.documentum\ds-common-build\ivy-0.0.3.xml > [ivy:cachefileset] local.default.shared.cache: revision in cache (not > updated): ru.documentum#ds-common-build;0.0.3 > [ivy:cachefileset] found ru.documentum#ds-common-build;0.0.3 in public > > ...... > > [ivy:cachefileset] resolved ivy file produced in C:\Documents and > Settings\AlexeyM\.ivy2\cache\resolved- > ru.documentum-ds-common-build-caller-working.xml > [ivy:cachefileset] :: downloading artifacts :: > [ivy:cachefileset] [NOT REQUIRED] ru.documentum#ds-common-build > ;0.0.3!ds-common-build.zip > [ivy:cachefileset] :: resolution report :: resolve 78ms :: artifacts dl > 0ms > --------------------------------------------------------------------- > | | modules || artifacts | > | conf | number| search|dwnlded|evicted|| number|dwnlded| > --------------------------------------------------------------------- > | default | 1 | 1 | 0 | 0 || 1 | 0 | > --------------------------------------------------------------------- > > Thank you, Alexey > Do you really have changingPattern set? It seems Ivy doesn't consider your revision as changing. You need to have both changingPattern and checkModified to true, and make sure you publish a new version of your ivy file when you change your jars. This is explained on the main concept page. Xavier -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
