|
Re: Information about CircularExpansionException [message #698845 is a reply to message #698828] |
Wed, 20 July 2011 10:58 |
|
Hi Axel,
Property expansion is recursive so a string ${model} that when expanded, contains the string ${model}, will lead to an
endless recursion. Buckminster traps that and throws a CircularExpansionException. The circularity can be indirect (a
string expanding to a string that in turn expands to a string etc.).
This shouldn't be a problem unless you introduce such circularity with some property and I don't think it's related to
changes in 3.7.
HTH,
- thomas
On 2011-07-20 12:11, Axel Guckelsberger wrote:
> Hi all,
>
> during materialisation the following appears at a random point (meaning not
> for a certain package):
>
> ERROR [0018] :
> org.eclipse.buckminster.core.common.model.CircularExpansionException:
> ${modelName}
>
>
> Some searching lead me to the
> org.eclipse.buckminster.core.common.model.ExpandingProperties#checkedExpand
> method:
>
> if (recursionGuard> MAX_NESTING_DEPTH) // 64
> throw new CircularExpansionException((String) topValue);
>
>
> Is this a known problem in 3.7 or did anybody see this before? Thank you in
> advance for any information about this behaviour.
>
> Regards,
> Axel
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02485 seconds