ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff <jeffrey.blatt...@yahoo.com>
Subject resetting resolvers / re-configuring ivy
Date Wed, 02 May 2007 19:19:52 GMT
i have a multi-level project. there is a top level build.xml that essentially sets up dependencies
for and calls module build.xml's ...

one of the modules is "dependencies", and it's job is to simply create a local file system
repo for the rest of the modules to use.

the problem is that when the top level build.xml calls dependencies, that module calls ivy:configure
with a particular ivy settings that includes many resolvers ...

then each module calls ivy:configure pointing to an ivy settings that just points to the locally
built repo.

the problem is that since this is all happening from within a single "ant" call, the ivy settings,
and the resolvers set up when the top level build call the dependencies module are still in
effect when the other modules are built, even though ivy:configure was called again w/ the
simpler set of resolvers. the results is that i see errors like :

[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  unknown resolver ibiblio-maven2
[ivy:retrieve]  unknown resolver ibiblio-maven2
...

the build still succeeds, but i'd sure like to make those errors go away.

the root problem i guess is that i want to re-configure ivy from within a single ant call.
is this possible?



       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message