File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes I losted my ant file (build.xml) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "I losted my ant file (build.xml)" Watch "I losted my ant file (build.xml)" New topic
Author

I losted my ant file (build.xml)

charles qi
Greenhorn

Joined: Aug 17, 2005
Posts: 4
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
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
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

Joined: Aug 17, 2005
Posts: 4
thanks a lot
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15961
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I losted my ant file (build.xml)
 
Similar Threads
Unable to compile java file through ant
Regarding Ant issue.
Ant deploy not working
Ant does not output property file in classes folder.
help me please