The following comment has been added to this issue:

     Author: Niclas Hedhman
    Created: Tue, 13 Apr 2004 10:48 PM
       Body:
Thanks, that did the trick.
Can close the issue.
---------------------------------------------------------------------
View this comment:
  
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1234&page=comments#action_18612

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1234

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1234
    Summary: Jelly Execution
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven

   Assignee: 
   Reporter: Niclas Hedhman

    Created: Tue, 13 Apr 2004 4:22 PM
    Updated: Tue, 13 Apr 2004 10:48 PM

Description:
If I do;
<j:set var="length" value="${pwd.length() + 1}" />
<echo>
1: ${ verDir }
2: ${ length }
3: ${ verDir.substring( length ) }
4: ${ verDir.substring( 0, length ) }
5: ${ verDir.substring( 71 ) }
6: ${ verDir.substring( 0, 71 ) }
</echo>

I get the result;
1: /home/niclas/dev/opensource/avalon-sandbox/merlin-test/merlin-jmx-demo/versioning
2: 71
3: 
4: 
5: versioning
6: /home/niclas/dev/opensource/avalon-sandbox/merlin-test/merlin-jmx-demo/


Why on earths name doesn't substring( length ) work?




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to