ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bonvin John" <>
Subject RE: Default pattern for [artifact]
Date Fri, 30 Jan 2009 08:47:46 GMT
Thanks Michael.

That's exactly the point I had missed. The [artifact] pattern is in fact a very nice flexibility
option that allows to have artifact names differing from the module name and its default value
is perfectly ok for my needs.

Best regards,


-----Message d'origine-----
De : Partridge, Michael [] 
Envoyé : jeudi, 29 janvier 2009 19:39
À :
Objet : RE: Default pattern for [artifact]

You might do something like this in your ivysettings.xml:

<!--defines your repository layout, in effect-->
<property name="ivy.local.default.artifact.pattern"
]" /> 

<!--defines where ivy should look for artifacts to publish-->
<property name="ivy.publish.src.artifacts.pattern"

If you plan to publish multiple types of artifacts (jar, source,
javadoc), you'll need to use [type] in

-----Original Message-----
From: Bonvin John [] 
Sent: Thursday, January 29, 2009 7:00 AM
Subject: Default pattern for [artifact]

Hello all !

I'm new to Ivy and currently in the process of understanding + testing
it as a potential tool for managing our dependencies between modules. So
please forgive me if my question is too simple or betrays my
misunderstanding ;-).

The ivy doc says that the default name of an artifact is the module
name. If anything else is desired, it must be specified in the 'name'
attribute of the 'artifact' tag in the ivy file.

What if our artifacts (nearly) all share the same pattern for naming,
e.g. [artifact]=[organisation]-[module] instead of the default
[artifact]=[module] ? I'd like to avoid having to type twice, for each
of my modules, the organisation and the module in my ivy file. I'd
imagine there could be some place in the ivy settings file where this
pattern could be specified, but have found nothing in the ivy doc nor on
the net.

Thank you for your kind assistance.

_Disclaimer Vaudoise.ch________________________________________________________________
Le présent courriel, y compris les pièces jointes, s'adresse exclusivement à la (aux) personne(s)
ou à la société à laquelle (auxquelles) il est destiné et peut comporter des informations
confidentielles et/ou protégées par la loi. Toute divulgation, reproduction ou utilisation
de ces informations est interdite et peut être illégale. Si vous n'êtes pas destinataire
de ce courriel, merci de le détruire immédiatement et d'en aviser l'expéditeur.
This e-mail, including attachments, is intended for the person(s) or company named and may
contain confidential and/or legally privileged information. Unauthorized disclosure, copying
or use of this information may be unlawful and is prohibited. If you are not the intended
recipient, please delete this message and notify the sender.

View raw message