ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Adams <Jim.Ad...@sas.com>
Subject RE: Artifact question
Date Tue, 18 Dec 2007 14:29:45 GMT
Thanks. That is pretty much what I did.

> -----Original Message-----
> From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> Sent: Tuesday, December 18, 2007 8:09 AM
> To: ivy-user@incubator.apache.org
> Subject: Re: Artifact question
>
> Not sure if the problem is solved, so here is what I'd do:
> <artifact path="org.apache.ant_1.7.0.v200706080842\about_files"
> name="NOTICE" ext="" type="notice" conf="VJR"/>
> And use a pattern like this:
> whatever/[path]/[artifact](.[ext])
>
> If you use the type in your pattern, then you may want to use a different
> type, maybe empty. What is important is to use the parenthesis to tell Ivy
> that if a token is empty (here ext), the static text in the parenthesis
> (here the dot before ext) should be ommitted too.
>
> Xavier
>
> On Dec 13, 2007 10:00 PM, Jim Adams <Jim.Adams@sas.com> wrote:
>
> > How do you specify an artifact that has no file extension? For instance ,
> > I want to place a file in the repo called NOTICE (a rather common thing to
> > do).  I could do something like this:
> > <artifact type="" path="org.apache.ant_1.7.0.v200706080842\about_files"
> > name="NOTICE" conf="VJR"/>
> >
> > Or
> > <artifact ext="" path="org.apache.ant_1.7.0.v200706080842\about_files"
> > name="NOTICE" conf="VJR"/>
> >
> > But the default extension is jar. I am not sure how to say none.
> >
> > Jim Adams
> > Jim.Adams@sas.com
> > Principal Systems Developer
> > SAS Institute
> >
> >
> >
>
>
> --
> Xavier Hanin - Independent Java Consultant
> http://xhab.blogspot.com/
> http://ant.apache.org/ivy/
> http://www.xoocode.org/

Mime
View raw message