Now is a good time to move to ant1.7

Steve Loughran <[email protected]> Thu, 11 Jan 2007 14:52:24 +0000
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>

Its been out a month, no major bugreps have surfaced, so I'd strongly 
encourage everyone to upgrade to Ant 1.7.0 for their smartfrog builds : 
http://ant.apache.org/

We've reached the limit on memory consumption for rmic, especially under 
a big build where other things are using up Ant's memory, so I've 
modifed the build files to switch to the Ant 1.7 "forking" rmi compiler 
whenever it is available.

If you stay with ant1.6.5, you are not going to be able to run the "ant 
cc" cruise control build from the command line without either upgrading 
ant or editing ANT_OPTS to add more memory; something like -Xmx256m 
appears to work.

While editing that env variable, remember to add your proxy settings so 
that ivy will work from behind firewalls.

ANT_OPTS =" -Xmx256m -Dhttp.proxyHost=web-proxy -Dhttp.proxyPort=8080"

For ant1.7, developers behind firewalls just need the proxy settings

ANT_OPTS =" -Dhttp.proxyHost=web-proxy -Dhttp.proxyPort=8080"

Incidentally, we now pass all http. and socks. properties down to 
smartfrog daemons started by ant, so test runs get the same settings too.

-Steve

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV