This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
I'm curious: If you had the size of the file, say, in a property - what would/could you do with it?
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to check the size of file