incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ivy Wiki] Update of "IvyUseCases" by AndreasSahlbach
Date Wed, 03 Jan 2007 18:12:00 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ivy Wiki" for change notification.

The following page has been changed by AndreasSahlbach:
http://wiki.apache.org/ivy/IvyUseCases

The comment on the change is:
some additional comment

------------------------------------------------------------------------------
  1) will not work without 2). I need a controlled way to access my repositories. I need to
be able to get stuff from repositories (dependencies, my own build results, information about
resolves) and I need to be able to put stuff into repositories (again: dependencies and my
build results). All this needs to be usable from ant, so that I can put it altogether in a
neat ant script (for the "dressed apes" that are going to use my ant script at the end).
  Examples:
   * We use several repositories depending in which environment we are currently developing
(inside the intranet / outside the intranet / offline). I need to have a way to copy all dependencies
of my project to my local repository so I can plug off the network cable and can still build
everything.
-  * For a deployment ant target I want to retrieve the "latest.whatever" from my enterprise
repository with all its dependencies. I am using ivy:install for that right now, but ivy:install
needs ivy:resolve to work properly. This is pretty annoying, because I don't need to "resolve"
my 47 dependencies just for the deployment task.
+  * For a deployment ant target I want to retrieve the "latest.whatever" from my enterprise
repository with all its dependencies. I am using ivy:install for that right now, but ivy:install
needs ivy:resolve to work properly. This is pretty annoying, because I don't need to "resolve"
my 47 dependencies just for the deployment task. 
+  ''Additional comment:'' I just noticed that I am still cheating here, actually there is
no way to ask ivy to get the results of an ivy build from the repository. What I would like
to do is an ivy:retrieve with a specific configuration of my own artifact (not of my dependencies).
To say it by example: My build produces a public API in form of a jar and a server application
in form of an ear or war. My build should put everything into the enterprise repository and
in the following deploy task, it should be able retrieve the war or ear file so I can copy
it into the webapps dir or something. 
   * I need a clean way to put an additional dependency into the repository so again I can
put it into a neat ant script. Again I am doing this with groovy magic and the ivy:install
task, but here again ivy:resolve is needed so Ivy knows about my repositories. This also means
that the installation of an additional 3rd party dependency will fail if the resolve process
fails (prolly because it is lacking the very same dependency I am just trying to install with
this task)
   * ivy should help the user in the task to create ivy-files. Maybe by presenting a basic
form that the user can fill out and providing a fresh ivy.xml as a template for further editing
  

Mime
View raw message