jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1
  • MAVEN-1543 build.properties props can't recurse
  • MAVEN-1745

Some properties cause infinite recursion leading to a StackOverflowError

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.1-beta-2
  • Fix Version/s: None
  • Component/s: jelly/ant integration
  • Labels:
    None
  • Environment:
    Tested on Win2000 and AIX

Description

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

Issue Links

is duplicated by

Bug - A problem which impairs or prevents the functions of the product. MAVEN-1830 java.lang.StackOverflowError on <ant:property environment="env"/>

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brett Porter added a comment - 15/Feb/06 2:45 PM

this is just a dupe of the original bug it was filed as a subtask of.

Show
Brett Porter added a comment - 15/Feb/06 2:45 PM this is just a dupe of the original bug it was filed as a subtask of.
Hide
Permalink
Lukas Theussl added a comment - 31/Jan/07 3:53 AM

I don't think this is a dupe of MAVEN-1543. There you have

maven.repo.remote=file:/xxxx,${maven.repo.remote}

which is a true recursion, but here we have

maven.myprop.name = ${maven.myprop.name.text}

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'?

Show
Lukas Theussl added a comment - 31/Jan/07 3:53 AM I don't think this is a dupe of MAVEN-1543. There you have
maven.repo.remote=file:/xxxx,${maven.repo.remote}
which is a true recursion, but here we have
maven.myprop.name = ${maven.myprop.name.text}
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'?

People

  • Assignee:
    Unassigned
    Reporter:
    Eric Ballet Baz
Vote (0)
Watch (1)

Dates

  • Created:
    15/Feb/06 7:29 AM
    Updated:
    31/Jan/07 3:53 AM
    Resolved:
    15/Feb/06 2:45 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.