aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes how to check the size of file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how to check the size of file" Watch "how to check the size of file" New topic
Author

how to check the size of file

santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

Hi

I am using ant1.6.2 . How can I check the size of the file using ant. which ant task will help for this?


santhosh<br />SCJP,SCWCD
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
I'm curious: If you had the size of the file, say, in a property - what would/could you do with it?


Ping & DNS - updated with new look and Ping home screen widget
santhoshkumar samala
Ranch Hand

Joined: Nov 12, 2003
Posts: 156

I will have it in property.. but when the file is in remote place and it is in some CVS, then I dont want to get all the files and check the size but I will run the ant task which will show me the size of the files
 
 
subject: how to check the size of file
 
Similar Threads
Problem in running my first EJB program
Deploy ear file in WAS using ANT
how to execute ejb3.0
How to check for file and delete it?
Need help to build a file using ant in eclipse