• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I losted my ant file (build.xml)

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i think u changed the system time
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks a lot
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic