What do you people use for check file chenges(classes)?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: What do you people use for check file chenges(classes)?

  1. #1
    Join Date
    Apr 2003
    Posts
    7

    Question What do you people use for check file chenges(classes)?

    Before all excuse my English, I`m not form an english speaking country.
    I`d like to know how control file changes, I mean, I`ll have in charge 3 programmers and it`ll be very difficult to know which classes had been changed and control it.
    I`d be amazing that you tell me some kind of software to download (possible open source, or free), or what kind of methods do you use for this problem.

    From Argentina, thank you all.
    Leonardo Lopez

  2. #2
    Join Date
    Mar 2003
    Posts
    84
    If I'm understanding your question.. you just want to be able to document when a programmer updates the source to something he's working on?


    I don't see the need for any software. I always comment out a huge amount of information at the beginning of my code. at the end of this documentation, I always have a modifications history section with dates and a short explanation to what was modified.

    example:
    this was copied from some code that I wrote for an assignment last week.

    short explanation to what this class is.

    a brief explanation of the methods in it

    a history section.

    Code:
    /***********************************************
    	           EarthquakeFixedFormat.java
    		This class models data in a file containing earthquake data.
    		It is organized using fixed character locations
    
    			public getCountryName()
    				converts the innameteger locations 1 15  to the country
    					name
    			public boolean isMissingCountryName()
    				calls isMissing passing the field for Country name
    			public getYear()
    				converts the integer locations 16 19 to the year of the
    					earthquake
    			public boolean isMissingYear()
    				calls isMissing() and passes field for year
    			public getMonth()
    				converts the integer locations 20 21 to the month of
    					the earthquake
    			public boolean isMissingMonth()
    				calls isMissing() passing field for month
    			public getDay()
    				converts the integer locations 22 23 to the day of the
    					month
    			public boolean isMissingDay()
    				calls isMissing() and passes field for day
    			public getMagnitude()
    				converts the integer locations 24 28 to the magnitude
    			public isMissingMagnitude()
    				calls isMissing() passing field for magnitude
    			public getNumberOfDeaths()
    				converts the integer locations 29 36 to the number of
    					deaths
    			public boolean isMissingNumberOfDeaths()
    				calls isMissing() and passes field for death count
    			public getTsunamiFlag()
    				converts the integer locations 37 37 to the flag Y/N
    					for Tsunami status
    			public boolean isMissingTsunamiFlag()
    				calls isMissing() and passes field for tsunami flag
    
    			History/Modifications:
    				added methods that call isMissing() passing the current
    					field.  to check for missing data in each field
    					added overriding compareTo()
    
    ***********************************************/
    I'm surprised more of you people don't get hit by cars.

  3. #3
    Join Date
    Mar 2003
    Posts
    834

    Lightbulb

    I hate to disagree with Fantic, but I think you *really* need a piece of source and version control software. The one I use at work is the free and open-source 'SourceJammer'. You can download it from:

    http://www.sourcejammer.org/
    ArchAngel.
    O:-)

  4. #4
    Join Date
    Apr 2003
    Posts
    7

    Thanks

    Thank you so much Archangel. You really undeerstood what I meant, I think your information`ll realy good for me.
    To the other guy who replied me, Fantik, I must tell you
    : "I'm surprised more of you Fantik don't get hit by cars."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center