Hey All,
I'm trying to access all the current context variables in my maven.xml,
using the below jelly script:

<j:forEach items="${context.getVariables()}" var="variable">
    <echo>${variable}</echo>
</j:forEach>

or

<j:forEach items="${context.getVariableNames()}" var="variable">
    <echo>${variable}</echo>
</j:forEach>

Both the above execute with the following output:

java:jar-resources:
    [echo] file.encoding.pkg=sun.io

BUILD FAILED
File...... d:\Development\Projects\foobar\maven.xml
Element... j:forEach
Line...... 101
Column.... 69
java.util.ConcurrentModificationException

Anyone have any ideas or alternatives?

Cheers,
Dan



www.about.sensis.com.au
A leading Australian advertising, information and directories business.
www.sensis.com.au
www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au
www.tradingpost.com.au
This email and any attachments are intended only for the use of the recipient 
and may be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss 
and/or damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, 
disclose, copy or retain this email and you should notify the sender 
immediately by return email or by contacting Sensis Pty Ltd by telephone on 
[+61 3 8653 5000]

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

Reply via email to