You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2007/07/07 00:35:13 UTC

[jira] Closed: (CONTINUUM-723) strange trouble on solaris

     [ http://jira.codehaus.org/browse/CONTINUUM-723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed CONTINUUM-723.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Future)
                   1.1-beta-1

confirm as fix (test with the attached test project which failed on 1.1-alpha-2)
See thread on user ML too (http://www.nabble.com/System-time-problem-in-Solaris-10-environment-%28Ant-%2B-Continuum%29-tf4029050.html)
Looks fixed by [plexus-utils-svn rev 6555|http://fisheye.codehaus.org/changelog/plexus/plexus-utils/trunk?cs=6555].
Try same version of continuum with p-u 1.4.2 and it failed.



> strange trouble on solaris 
> ---------------------------
>
>                 Key: CONTINUUM-723
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-723
>             Project: Continuum
>          Issue Type: Bug
>          Components: Environmental
>    Affects Versions: 1.0.3
>         Environment: solaris
>            Reporter: Olivier Lamy
>            Priority: Critical
>             Fix For: 1.1-beta-1
>
>         Attachments: CONTINUUM-723.tar.gz
>
>
> Hi,
> 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"
> ).format(date);
> On windows+cygwin : 2001-05-28T12:00:00.000+02:00
> On solaris with same user who start continuum exec junit with cli :
> 2001-05-28T12:00:00.000+02:00
> 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/plexus.sh > /dev/null &
> The .profile contains :
> ...
> LANG=en_US.ISO8859-15
> export LANG
> ##opts maven
> MAVEN_OPTS="-Xmx512m -Xms512m -Dfile.encoding=ISO-8859-1"
> export MAVEN_OPTS
> ...
> I don't change anything on plexus.sh script.
> Any ideas ??
> Thanks,
> -- 
> Olivier 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira