• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I losted my ant file (build.xml)

 
charles qi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think u changed the system time
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
charles qi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic