> From: Ninju Bohra [mailto:[EMAIL PROTECTED]
> Was hesitant in writing the javascript (having never
> done it yet ;-) so I perserved on the regular
> expression front and with the help of a collegue we
> came up with
> 
>     <propertyregex property="max.build.number"
>                    input="${sorted.builds}"
>                    regexp="([0-9]*)$"
>                    select="\1"/>

Just be careful that you are just selecting the last version number from
your sorted list, and that may not be the *max* build number. Most
likely <sortlist> sorts alphabetically, which is not always the same as
numerically. You should be fine if your version format sorts the same
way in either type of sort. --DD

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

Reply via email to