Thanks. That is pretty much what I did.
> -----Original Message----- > From: Xavier Hanin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 18, 2007 8:09 AM > To: [email protected] > 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 <[EMAIL PROTECTED]> 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 > > [EMAIL PROTECTED] > > Principal Systems Developer > > SAS Institute > > > > > > > > > -- > Xavier Hanin - Independent Java Consultant > http://xhab.blogspot.com/ > http://ant.apache.org/ivy/ > http://www.xoocode.org/
