On Apr 6, 2009, at 4:44 PM, Hans Dockter wrote:
Hi Guillaume,
On Apr 6, 2009, at 4:22 PM, tog wrote:
Hi
I would like to know few things:
1- gradlew is currently not supporting http proxy. Is that feature
planned for 0.6 ?
Yes
2- Similarly I have some tests that use JAVA_OPTS="-DproxyHost=..."
While groovy uses these options, they don't seem to be
propagated when the tests are lanched by gradle.
The tests are run in there own JVM. You can specify options for this
JVM like:
options.fork(jvmArgs: ["-ea", '-Xms128m', '-Xmx1g', '-
XX:MaxPermSize=256m', '-XX:+HeapDumpOnOutOfMemoryError'])
I forgot to mention that this has to be done within the test task:
test {
options.fork(...)
}
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email