Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: List all the modified files from your local workspace with files in SVN repository

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default List all the modified files from your local workspace with files in SVN repository

    Hi Everyone,

    I have a request where I have to list all the modified files from your local workspace which are not versioned yet and upload them to the remote server.

    How do i achieve this. So far I have been sucessfull in listing all the files from the dir which I found in these forums.

    Any help will be of great use to me.

    thanks,
    Malini


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,267
    Thanks
    176
    Thanked 821 Times in 764 Posts
    Blog Entries
    5

    Default Re: List all the modified files from your local workspace with files in SVN repositor

    I think you'll have to be more specific about the versioning. To get the last modified time see the API for File ( File (Java Platform SE 6) ), eg lastModified() method - modified is a relative term, so you probably need some sort of value of unmodified/modified to compare.

Similar Threads

  1. Java program which can list all files in a given directory
    By JavaPF in forum Java Programming Tutorials
    Replies: 8
    Last Post: July 9th, 2013, 03:38 AM
  2. Moving files to a single list iteratively
    By Growler in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: October 22nd, 2010, 10:08 AM
  3. Getting List of Files Within Jar
    By aussiemcgr in forum Java Theory & Questions
    Replies: 1
    Last Post: October 13th, 2010, 09:38 AM
  4. need help on jar files
    By kaka09 in forum AWT / Java Swing
    Replies: 2
    Last Post: July 13th, 2010, 09:30 AM
  5. exe files
    By subhvi in forum Java Theory & Questions
    Replies: 17
    Last Post: September 3rd, 2009, 09:43 AM