You should be able to specify what gets ignored during the golden file
comparison.
Take a look at build-tests.xml to see how ignore is used.
Jason Lee wrote:
> I need to touch up the golden files to reflect the JS changes I made
> for issue 691. That part was easy, and is done, but the tests fail
> because of an incorrect jsessionid value. How would I go about
> touching up the golden file with an ID that will be generated reliable
> during the unit test processing?
>
> --
> Jason Lee, SCJP
> Software Architect -- Objectstream, Inc.
> Mojarra and Mojarra Scales Dev Team
> https://mojarra.dev.java.net
> https://scales.dev.java.net
> http://blogs.steeplesoft.com