ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Castrianni <>
Subject RE: Ivy Status usage question
Date Fri, 13 Jun 2008 16:19:16 GMT
I had this same question when I first started with IVY and I don't know what the best practice
is.  By the way, is there a best practices document anywhere?  With such a powerful and flexible
tool such as IVY, a best practices document is pretty important.  I am doing some very complicated
things and I can't help but wonder if I am making it harder on myself because I am using IVY
incorrectly or inefficiently.

Anyway, I use to configure my filesystem resolver with the status as part of the directory
hierarchy.  I have since removed that since IVY can handle searching through all of the different
revision ivy.xml files to find the correct ones based on status.  So I have one directory
with a bunch of different builds of the same module.  Each build is its own directory with
the ivy.xml file inside.  Some may be set as development status, some as testing status, and
some as release status (I made my own statuses instead of the IVY default).  Then if I request
latest.testing, IVY is smart enough to skip any development status builds.  If I request latest.release,
IVY is smart enough to skip any development and testing status builds.

Shawn Castrianni
CM Chief Architect
Halliburton Drilling, Evaluation and Digital Solutions Building 2
2101 City West Blvd.
Houston, TX  77042
Work:  713-839-3086
Cell:  832-654-0888
Fax:  713-839-2758

-----Original Message-----
From: Dave []
Sent: Friday, June 13, 2008 9:07 AM
Subject: Ivy Status usage question

Hey all,
I'm still coming to grips with the power of Ivy (it's a really extraordinary
tool), and I've a question I'm hoping you can help me with.
I have a component called "common". I'd like to be able to store 3 versions
in our shared repository.
1. A released version 1.0
2. A development version so other components can get the latest changes
3. An integration testing version, which is a milestone of the development

I intend to map the following existing Ivy status to each version
1 = Release
2 = Integration
3 = Milestone

2 and 3 will eventually become release 1.1

I'd like to know what's the best way of handling such a situation so that
it's as little maintenance as possible.
Should I use a repository with:

or should I just have a common folder without any version sub-folders, and
create versioned jars and ivy files for each artifact publishing them all
the same common folder?

Any best practice tips for me in this regard?

Thanks in advance,

There are 10 types of people in the world.
Those who understand binary and those who do not.

This e-mail, including any attached files, may contain confidential and privileged information
for the sole use of the intended recipient.  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient (or authorized to
receive information for the intended recipient), please contact the sender by reply e-mail
and delete all copies of this message.

View raw message