When building behind a Proxy that requeries authentication there are two things that need to be done in order to download (from SVN) and build Jmesa succesfully.
1) Configure your SVN client to use Proxy Auth when downloading the code as specified here:
There is a servers file in svn which is present at the following location
Win : C:\Documents and Settings\[username]\Application Data\Subversion\servers
Linux: /etc/subversion/servers
Here you need to set the proxy server and port settings so that command line SVN can access the external world form the proxy. Uncomment and change the lines necessary
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
If you get something like
svn: C:\Documents and Settings\[username]\Application Data\Subversion\servers:73:
Option expected
then it means that you have a space at the start of the property which you have un-commented. Make sure that there is no space in the beginning of the property in the servers file.
2)Configure the build.groovy Script to instruct Ant (AntBuilder) and Ivy, to use the proxy server when trying to resolve dependincies from a remote repository
In your build.groovy Script, before any call to ivyresolve() , add the following line to setup the proxy