Problems with type and ext attribute of artifact

Posted by user315228 on Stack Overflow See other posts from Stack Overflow or by user315228
Published on 2010-05-21T14:35:25Z Indexed on 2010/05/21 14:40 UTC
Read the original article Hit count: 273

Filed under:

Hi,

I have following definition in ivy.xml

<dependency org="southbeach" name="ego" rev="4.3.1" conf="properties->asterik" >
  <artifact name="ego" type="conf" ext="conf" conf="properties->asterik"/>
</dependency>

I have files with either extension conf or properties which i need at runtime, in ivysettings.xml, i have following:

<filesystem name="privateFSa">
  <artifact pattern="${localRepositoryLocation}/[artifact].[ext]" />
</filesystem>

It always tries to look for ego.jar instead of ego.conf. can please somebody shed light on this? am i doing something wrong or ivy just supports tar,zip,gz, jar and not properties or conf files?

I did workaround for now in ivysettings.xml

<filesystem name="privateFSa">
<artifact pattern="${localRepositoryLocation}/[artifact].conf" />
</filesystem>

but this doesnt looks good to hardcode conf there. Thanks,
Almas

© Stack Overflow or respective owner

Related posts about ivy