wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41052
    
  43
I'm curious: If you had the size of the file, say, in a property - what would/could you do with it?


Ping & DNS - my free Android networking tools app
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to check the size of file
 
Similar Threads
Problem in running my first EJB program
How to check for file and delete it?
Need help to build a file using ant in eclipse
Deploy ear file in WAS using ANT
how to execute ejb3.0