Hi folks,
I am having the same problems : being newbie to Ivy and trying to match an
artifact with some garbage at the end (timestamp). Mainly, it is the
woodstock in javanet repository :
the organization is : com.sun.woodstock
the module name is : webui-jsf
the revision in 4.3-SNAPSHOT
the artifact name is : webui-jsf-4.3-20080701.190901-8
Having all these I would need to match the 4.3- of the revision, and using
some regexp to ignore the "SNAPSHOT" from revision name and
"20080701.190901-8" from artifact name and pick the latest.
I've tried the changingPattern, changingMatcher, patternMatcher but I just
can get it working. Also, the Ivy documentation does not clearly states to
which tag these attributes applies : to dependency, to resolver ? to
something else ? Do I need to use them in conjuction with something else ?
Cheers and thanks in advance
Razvan
gin wrote:
>
> I'm very much of an Ivy newb, trying to use something like this in the
> ivyconf.xml:
> ..
> <filesystem name="eclipse_plugin_jar">
> <artifact
> pattern="${eclipse.dir}/plugins/[module]_[revision]*.[ext]"
> matcher="glob"/>
> </filesystem>
> ..
> So, I'd like to match files that has some 'garbage' at the end of the
> name. I want to ignore that.
> Can I do that?
>
> The above doesn't work:matcher seems illegal in this context, but without
> it, the 'exact' matcher seems to be used.
>
> Although I haven't yet found a precise description of the artifact
> element,
> matchers (e.g regex,glob) are mentioned several times w.r.t patterns.
> Don't they make sense for artefacts?
>
> Thanks in advance,
> Gerg
>
>
>
--
View this message in context:
http://www.nabble.com/ivy-artifact-pattern-matcher--tp11764679p18926886.html
Sent from the ivy-user mailing list archive at Nabble.com.