I losted my ant file (build.xml),so i took a primary ,perhaps not the same one to the losted one. When i run it, i found there were many warings,as the following. Can you tell me how to get rid of these warings? thanks a lot!!!
Buildfile: build.xml
prepare: [echo] Tomcat Home = F:/tomcat5.0 [echo] webapps Home = F:/tomcat5.0/webapps
compile: [javac] Warning: commons-logging.properties modified in the future. [javac] Warning: dao\DAO.java modified in the future. [javac] Warning: dao\DBDao2.java modified in the future. [javac] Warning: dao\HibernateBase.java modified in the future. [javac] Warning: exceptions\BaseException.java modified in the future. [javac] Warning: exceptions\BaseExceptionHandler.java modified in the future. [javac] Warning: filters\SetCharacterEncodingFilter.java modified in the future. [javac] Warning: hibernate.cfg.xml modified in the future. [javac] Warning: log4j.properties modified in the future. [javac] Warning: manage\UserManageAction.java modified in the future. [javac] Warning: manage\UserManageForm.java modified in the future. [javac] Warning: models\adduser\UserInfo.hbm.xml modified in the future. [javac] Warning: models\adduser\UserInfo.java modified in the future. [javac] Warning: resourcebundles\application.properties modified in the future. [javac] Warning: resourcebundles\application_en.properties modified in the future. [javac] Warning: resourcebundles\application_zh_CN.properties modified in the future. [javac] Warning: resourcebundles\tempresources\application_temp.properties modified in the f uture. [javac] Warning: resourcebundles\tempresources\application_zh_CN.properties modified in the future. [ August 17, 2005: Message edited by: Bear Bibeault ]
Baiju Varugese
Ranch Hand
Joined: Dec 16, 2003
Posts: 74
posted
0
i think u changed the system time
Measure twice cut once carpenter theory <br /> <br />Baiju <br />SCJCP, SCBCD, IBM-486, IBM-484, SCEA Part I
Roseanne Zhang
Ranch Hand
Joined: Nov 14, 2000
Posts: 1953
posted
0
I had the same problem before, I checked out files from cvs to windows, and transfer them to a unix machine, somehow, I got huge amount of such warnings because the system timing issue.
If you transfer files from Australia/China/India to the United States, you will get the problem too. True enough, I did and met the problem once. [ August 18, 2005: Message edited by: Roseanne Zhang ]
Version control systems, Ant, and make all work better when you have the time set accurately on both the code repository and development machines. The best way to do this is to have them sync to a time standard (and for Linux, use UTC for the hardware clock, so moving on/off Daylight Savings doesn't whack you).
Commonly, on a Windows LAN, if a timeserver has been set up, the NET TIME command will sync up your PC's clock when you log in. Alternatively, there are a number of utilities available for that purpose, though some are "spyware" apps.
PC harware clocks keep horrible time, especially under Windows, so an accurate time service is essential.
Customer surveys are for companies who didn't pay proper attention to begin with.