Results 1 to 2 of 2
  1. #1
    javastuden's Avatar
    javastuden is offline Senior Member
    Join Date
    Nov 2009
    Rep Power

    Default find out the updated files in a web project

    Hi all,
    Is there any way to find out the updated files in a web project, i expalin
    the web project contains the jsp pages,struts.xml,web.xl,css,java files ,jar files etc
    i has the older one just one week older work space ,so when the updation done by others when not who ,time the updation has oocured and if where the updation has occured how can i identify it by java code,
    is there any java programe to chaeck those updation to the files in the web project

    i had used tortoise svn if any body used that you know how simple its like that,
    the problem is there will be a .svn hidden folder with the work that i had done so to avoid that and also those person who are familiar with svn will know for what purpose i had installed that in my sys,so i'm asking for simple java programme,

    i had heard that ant script will work only for the the updated files and let the others be no change ,so how the ant identify the file has no change for a week(imagine)
    i think ant is also a java programme so that how that ant scripting also has the answer to my query
    please give me a solution please

  2. #2
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Rep Power


    Check out the lastModified() method in the class.


Similar Threads

  1. how to find files in given directory
    By cecily in forum New To Java
    Replies: 7
    Last Post: 07-04-2014, 01:03 PM
  2. Get all files in a project
    By X-ion in forum New To Java
    Replies: 2
    Last Post: 02-24-2010, 03:20 PM
  3. How to find jar files
    By Deepa in forum New To Java
    Replies: 7
    Last Post: 09-07-2009, 03:15 PM
  4. SWT program on Linux can find jar files.
    By glmarsh in forum SWT / JFace
    Replies: 1
    Last Post: 07-20-2009, 08:02 PM
  5. Need to find large files and folder on the PC. What app needed?
    By Cleaner007 in forum Reviews / Advertising
    Replies: 1
    Last Post: 09-30-2008, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts