continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy" <>
Subject strange trouble on solaris
Date Wed, 07 Jun 2006 06:56:46 GMT
I have a junit test with contains the following code :

SimpleDateFormat simpleDateFormat = new SimpleDateFormat( "yyyy-MM-dd",
Locale.FRANCE );
// harcoded date due to xmlunit comparaison
Date timeStamp = simpleDateFormat.parse( "2001-05-28" );
return DateTools.setNoonHour( timeStamp );

FastDateFormat.getInstance( "yyyy-MM-dd'T'HH:mm:ss.SSSZZ"

On windows+cygwin : 2001-05-28T12:00:00.000+02:00
On solaris with same user who start continuum exec junit with cli :
The same junit with continuum says : 2001-05-28T12:00:00.000+00:00

Error says :
Expected attribute value '2001-05-28T12:00:00.000+02:00' but was
'2001-05-28T12:00:00.000+00:00' - comparing  at
/OTA_HotelAvailRS[1]/@TimeStamp to  at /OTA_HotelAvailRS[1]/@TimeStamp

I start continuum with $CONTINUUM_HOME/bin/ > /dev/null &

The .profile contains :
export LANG

##opts maven
MAVEN_OPTS="-Xmx512m -Xms512m -Dfile.encoding=ISO-8859-1"

I don't change anything on script.

Any ideas ??

This e-mail, any attachments and the information contained therein ("this message") are confidential
and intended solely for the use of the addressee(s). If you have received this message in
error please send it back to the sender and delete it. Unauthorized publication, use, dissemination
or disclosure of this message, either in whole or in part is strictly prohibited.
Ce message electronique et tous les fichiers joints ainsi que  les informations contenues
dans ce message ( ci apres "le message" ), sont confidentiels et destines exclusivement a
l'usage de la  personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur,
merci  de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale
ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de
ce message, sont interdites.

View raw message