Re: IVY-1282

2018-02-02 Thread Gintautas Grigelionis
Thanks Maarten. Somehow, I managed to look at conf and dependencies and
overlooked dependency :-(
Perhaps adding links from conf element and defaultconf/defaultconfmapping
attributes would help?

The JIRA issue is about dependency conf being sensitive to whitespace
around separators.
Previously, I tried to implement the same method for splitting on comma in
StringUtils,
but I overlooked splitting on semicolon which happens in two separate
classes AFAICS:
AbstractModuleDescriptorParser and XMLModuleDescriptorUpdater.

Gintas

2018-02-02 11:07 GMT+01:00 Maarten Coene <maarten_co...@yahoo.com.invalid>:

> Without looking at the JIRA issue, the 'specification' of what 'A;B'
> should do is explained here: http://ant.apache.org/ivy/
> history/latest-milestone/ivyfile/dependency.html
>
> without a defaultconfmapping set the following should be equivalent:
> A;B = A->A;B->B
>
> Maarten
>
>   Van: Gintautas Grigelionis <g.grigelio...@gmail.com>
>  Aan: Ant Developers List <dev@ant.apache.org>
>  Verzonden: vrijdag 2 februari 9:55 2018
>  Onderwerp: IVY-1282
>
> It seems that there still are problems with conf mappings containing
> whitespace around semicolon separator. The rules for using semicolon are
> supposedly self-evident and are not explained anywhere AFAICS.
>
> My understanding is that semicolon is used in situtations when different
> confs have different mappings, like "A->default;B->master" or "A;B->master"
> when defaultconfmapping is set. I cannot find a specification, though, what
> should happen when defaultconfmapping is not set or when conf is "A;B": an
> exception or semicolon interpreted as comma?
>
> Gintas
>
>
>
>


Re: IVY-1282

2018-02-02 Thread Maarten Coene
Without looking at the JIRA issue, the 'specification' of what 'A;B' should do 
is explained here: 
http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html

without a defaultconfmapping set the following should be equivalent:
A;B = A->A;B->B

Maarten

  Van: Gintautas Grigelionis <g.grigelio...@gmail.com>
 Aan: Ant Developers List <dev@ant.apache.org> 
 Verzonden: vrijdag 2 februari 9:55 2018
 Onderwerp: IVY-1282
   
It seems that there still are problems with conf mappings containing
whitespace around semicolon separator. The rules for using semicolon are
supposedly self-evident and are not explained anywhere AFAICS.

My understanding is that semicolon is used in situtations when different
confs have different mappings, like "A->default;B->master" or "A;B->master"
when defaultconfmapping is set. I cannot find a specification, though, what
should happen when defaultconfmapping is not set or when conf is "A;B": an
exception or semicolon interpreted as comma?

Gintas


   

IVY-1282

2018-02-02 Thread Gintautas Grigelionis
It seems that there still are problems with conf mappings containing
whitespace around semicolon separator. The rules for using semicolon are
supposedly self-evident and are not explained anywhere AFAICS.

My understanding is that semicolon is used in situtations when different
confs have different mappings, like "A->default;B->master" or "A;B->master"
when defaultconfmapping is set. I cannot find a specification, though, what
should happen when defaultconfmapping is not set or when conf is "A;B": an
exception or semicolon interpreted as comma?

Gintas