I ran some tests with debug enabled and I notice some differences in the
logs.

As an example, calling:
*<ivy:repreport organisation="Apache" module="log4j"
branch="plain_branch"/>*

logs:
...
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]         found 18 resources
[ivy:repreport]         found 18 urls
[ivy:repreport]         0 matched
\\192.168.0.1\root\ivyrep\dist\Apache\log4j\ivy-plain_branch-[revision].xml
[ivy:repreport] maggie do not support transaction. ivy pattern does not use
revision as a directory
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]         found 18 resources
[ivy:repreport]         found 18 urls
[ivy:repreport]         0 matched
\\192.168.0.1\root\ivyrep\dist\Apache\log4j\[artifact]-plain_branch
-[revision].jar
...

But calling:
*<ivy:repreport organisation="Apache" module="log4j" branch="dot.branch"/>*

logs:
...
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]         found 18 resources
[ivy:repreport]         found 18 urls
[ivy:repreport]         0 matched
\\192.168.0.1\root\ivyrep\dist\Apache\log4j\ivy-[branch]-[revision].xml
[ivy:repreport] maggie do not support transaction. ivy pattern does not use
revision as a directory
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]     using maggie to list all in
\\192.168.0.1\root\ivyrep\dist\Apache\log4j
[ivy:repreport]         found 18 resources
[ivy:repreport]         found 18 urls
[ivy:repreport]         0 matched
\\192.168.0.1\root\ivyrep\dist\Apache\log4j\[artifact]-[branch]
-[revision].jar
...

Neither branch exists but notice how in the second case the branch name
isn't replaced on the pattern.
That seems to be related to my problem, since I'm getting matches on plain
branch names and no matches on the ones that contain one or more dot
characters.

Any ideas? I'll gladly run any additional tests.

Thank you,
Gabriel


On Fri, Dec 2, 2016 at 3:52 PM, Marc De Boeck <mdeb...@gmail.com> wrote:

> Since branches often refer to versions or releases, it is not unusual that
> they contain dots in their names.
> We also have dots in the name of our branches  and don't have any problems
> with it.
> Maybe you can execute your repreport with debugging enabled ?
>
> Regards
> Marc
>
>
> 2016-12-02 16:54 GMT+01:00 Gabriel Soto <gabs...@gmail.com>:
>
> > Hello,
> >
> > I'm calling a basic repreport for a module on my local repo:
> >
> > <ivy:repreport
> >     todir="${out.dir}"
> >     xml="true"
> >     organisation="${ivy.organisation}"
> >     module="${ivy.module}"
> >     branch="${ivy.branch}"/>
> >
> > Most of the time, the task behaves as expected but every time the branch
> > contains a '.' it outputs an empty report (the same behavior as if the
> > branch didn't exist).
> >
> > Does this limitation make sense?
> > May I be hitting a bug?
> > Is it a bad idea to use dots in branch names?
> >
> > I'm using Ivy 2.4.0.
> >
> > Thank you!
> > Gabriel
> >
>

Reply via email to