This post originated from an RSS feed registered with Java Buzz
by Matt Raible.
Original Post: Can you test all of AppFuse?
Feed Title: Raible Designs ~ We Build Web Apps
Feed URL: http://static.raibledesigns.com/500.html
Feed Description: Opinions and tips on how to build web applications using Java. Currently using Hibernate, Struts, XHTML, CSS, Ant, JUnit and XDoclet.
I'll admit, it's time for me to get a G5. I can no longer test everything in AppFuse in one fell swoop. When I try to run this Ant build file (which I'd like to use with CruiseControl) on my Mac and Linux machines, I get OutOfMemory errors. My PowerBook has ANT_OPTS set to "-Xmx768m" and my Fedora Core 3 box has it set to "-Xms1024M -Xmx1024M". Both machines have 1 GB of RAM. The build dies a lot sooner on Linux (15 minutes), and the PowerBook gets really close to finishing (42 minutes). I'm guessing all the tests would take about 50 minutes on the PowerBook. There are currently 21 AppFuse combinations tested by this script. Spring is used in all of these, so I've eliminated that as a listed option.
NOTE: If you're trying this on Windows, remove the "fixcrlf" call at the beginning of the "test" target.
Struts + Hibernate
Struts + Hibernate and iBATIS
Struts + iBATIS
Struts with AppGen - Generic
Struts with AppGen - Detailed
Spring MVC + Hibernate
Spring MVC + iBATIS
Spring MVC with AppGen - Generic
Spring MVC with AppGen - Detailed
WebWork + Hibernate
WebWork + iBATIS
WebWork with AppGen - Generic
WebWork with AppGen - Detailed
JSF + Hibernate
JSF + iBATIS
JSF with AppGen - Generic
JSF with AppGen - Detailed
Tapestry + Hibernate
Tapestry + iBATIS
Tapestry with AppGen - Generic
Tapestry with AppGen - Detailed
So, the question is - can your machine run all the tests for AppFuse? If so, let me know your specs. I'd love to get this setup for CruiseControl, but if I can't even run it with Ant, I doubt CruiseControl will be any better. I realize I could split things up, but I prefer to have one build file.