You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2007/01/31 10:54:44 UTC

[jira] Commented: (MAVEN-1745) Some properties cause infinite recursion leading to a StackOverflowError

    [ http://jira.codehaus.org/browse/MAVEN-1745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86372 ] 

Lukas Theussl commented on MAVEN-1745:
--------------------------------------

I don't think this is a dupe of MAVEN-1543. There you have
{noformat}
maven.repo.remote=file:/xxxx,${maven.repo.remote}
{noformat}
which is a true recursion, but here we have
{noformat}
maven.myprop.name = ${maven.myprop.name.text}
{noformat}
where I don't see the recursion. This is the same as the case at MAVEN-1830. Should we re-open this, document it, or is this a known jelly 'feature'?

> Some properties cause infinite recursion leading to a StackOverflowError
> ------------------------------------------------------------------------
>
>                 Key: MAVEN-1745
>                 URL: http://jira.codehaus.org/browse/MAVEN-1745
>             Project: Maven 1.x
>          Issue Type: Sub-task
>          Components: jelly/ant integration
>    Affects Versions: 1.1-beta-2
>         Environment: Tested on Win2000 and AIX
>            Reporter: Eric Ballet Baz
>
> In a "project.properties" file defining a properties such as :
> maven.myprop.name = ${maven.myprop.name.text}
> will cause a java.lang.StackOverflowError because jelly is recursing with no end ...
> Define a simple goal as the following to demonstrate the problem.
> <goal name="hello">
>    <a:echo>Hello</a:echo>
> </goal>
> Thx
> Eric Ballet-Baz

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira