[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Time Zone Problem for Subclipse

From: Guozhu Wei <wgz99_at_mails.tsinghua.edu.cn>
Date: 2005-12-18 13:11:56 CET

I am a new user of subclipse.

I met a timezone problem while using subclipse.

While I checked out a project from subversion repository, the keyword $LastChangedDate$ is replaced by UCT time.

/**
 * $LastChangedDate: 2005-12-18 10:43:05Z $
 * $Author: guozhuwei $
 * $Rev: 11 $
 *
 */

But if I checked out the same project in command line, the keyword $LastChangedDate$ is replaced by CST time.

/**
 * $LastChangedDate: 2005-12-18 18:43:05 +0800 (Sun, 18 Dec 2005) $
 * $Author: guozhuwei $
 * $Rev: 11 $
 *
 */

Subversion system stores date in UCT time. The keywords substitution is processed when checked out by judging the local timezone.

I checked the configuration details of eclipse, but 'user.timezone' is setted to 'Asia/Shanghai'.

So why subclipse checks out the project using UCT time? Thanks!

I attached the configuration details below:

*** Date: Sun Dec 18 19:10:10 CST 2005

*** Platform Details:

*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20050929-0840
eclipse.commands=-os
linux
-ws
gtk
-arch
x86
-launcher
/usr/share/eclipse/eclipse
-name
Eclipse
-showsplash
600
-exitdata
3ec8000
-vm
/usr/lib/j2sdk1.5-sun/jre/bin/java
eclipse.product=org.eclipse.sdk.ide
eclipse.startTime=1134904139948
eclipse.vm=/usr/lib/j2sdk1.5-sun/jre/bin/java
eof=eof
file.encoding=GBK
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/usr/share/eclipse/startup.jar
java.class.version=49.0
java.endorsed.dirs=/usr/lib/j2sdk1.5-sun/jre/lib/endorsed
java.ext.dirs=/usr/lib/j2sdk1.5-sun/jre/lib/ext
java.home=/usr/lib/j2sdk1.5-sun/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_01-b08
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.5.0_01
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.5.0_01-b08
line.separator=

org.osgi.framework.bootdelegation=*
org.osgi.framework.executionenvironment=J2SE-1.5
org.osgi.framework.language=zh
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=2.6.14-2-686
org.osgi.framework.processor=i386
org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.3.0
org.osgi.supports.framework.extension=true
os.arch=i386
os.name=Linux
os.version=2.6.14-2-686
osgi.arch=x86
osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
osgi.bundlestore=/usr/share/eclipse/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:/usr/share/eclipse/configuration/
osgi.framework=file:/usr/share/eclipse/plugins/org.eclipse.osgi_3.1.1.jar
osgi.framework.beginningstartlevel=1
osgi.framework.shape=jar
osgi.framework.version=3.1.1
osgi.install.area=file:/usr/share/eclipse/
osgi.instance.area=file:/home/glove/code/java/workspace/
osgi.instance.area.default=file:/home/glove/workspace/
osgi.logfile=/home/glove/code/java/workspace/.metadata/.log
osgi.manifest.cache=/usr/share/eclipse/configuration/org.eclipse.osgi/manifests
osgi.nl=zh_CN
osgi.os=linux
osgi.splashLocation=/usr/share/eclipse/plugins/org.eclipse.platform_3.1.1/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath=/usr/share/eclipse/plugins
osgi.ws=gtk
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/usr/lib/j2sdk1.5-sun/jre/lib/rt.jar:/usr/lib/j2sdk1.5-sun/jre/lib/i18n.jar:/usr/lib/j2sdk1.5-sun/jre/lib/sunrsasign.jar:/usr/lib/j2sdk1.5-sun/jre/lib/jsse.jar:/usr/lib/j2sdk1.5-sun/jre/lib/jce.jar:/usr/lib/j2sdk1.5-sun/jre/lib/charsets.jar:/usr/lib/j2sdk1.5-sun/jre/classes
sun.boot.library.path=/usr/lib/j2sdk1.5-sun/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=
sun.io.unicode.encoding=UnicodeLittle
sun.jnu.encoding=GBK
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=unknown
user.country=CN
user.dir=/home/glove
user.home=/home/glove
user.language=zh
user.name=glove
user.timezone=Asia/Shanghai
Received on Sun Dec 18 23:11:56 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.